Javis collision detection

DoktorMike
Sat, 17 Sep 2022 09:47:28 +0000
General Usage

So I’m using the excellent package Javis.jl where I’m making a small simulation to teach my kids about entropy. Basically I want a box with a number of of balls bouncing around in it. I want to be able to detect when the balls collide with each other or with the walls of the box but i cannot see how to do it using the existing translate function. Has anyone tried something similar? The only way that came to me was to precalculate all the trajectories but there must be a better way i believe.

12 posts - 3 participants