Playing with collisions
Publish date: Oct 14, 2019
Motivation
I needed to revisit the reason I got interested in programming. To explore that blank slate that is the source file.
It is a Game
The idea was to create something playable. The game mechanics is not great, but the objective is to place the green ball in the green area and the red balls in the red area. You control the black ball with the arrow keys.
Code
Not posting here. Processing P5, circle collisions and the conservation of linear momentum in 2D.