Circular Clumps – Canvas Nº009

Creative Coding Canvas Sessions is a project consisting of individual sessions of canvas 2d programming, with the goal of focusing on being prolific, and creating some kind of output.

Launch Session Code on GitHub

In a further endeavor to create my own physics system, I started working on correctly modeling impulse colliision responses, where two bodies of different masses can collide with one another. It was a bit difficult to find correct implementations of the formula with adequate explanations. I ended up driving up to my office to grab a book on game mechanics to have a more reasonably written explanation. I was quite happy with the way that I was able to encode the math explanations into the comments.

More From interactive

More Posts