Open akinuri opened 7 years ago
I've just started watching your videos from the start Introduction - Processing Tutorial (were only watching challenges randomly), and couldn't help myself and downloaded Processing. Didn't know it included examples.
There I found examples of bouncing/colliding "bubbles" and "circles". I'll definitely examine the code and try to understand the math behind the collisions in 2D, but I still would like a video about it :)
Can you do a video about elastic collisions? I think bouncing/colliding balls in a container is one of the very first simulations anyone would try. In fact, that's what I'm experimenting with at the moment.
I could not find a good source to help me on this, so I started experimenting myself and keep record of the process for anyone that'd want to code the same thing in the future. It can be found at https://github.com/akinuri/bouncing-balls. I've just finished collisions in 1D, and will move on to 2D soon.
Even though I've got it working in 1D, and probably will in 2D too, this will take many trials. I, and probably future visitors, would really appreciate your help.