background preloader

HTML 5

Facebook Twitter

CanvasMol. Liquid Particles - spielzeugz.de canvas experiment. Let me google that for you. Ball Pool. Andrew Hoyer. A little more detail: What makes this simulation special is the speed at which everything is computed. Javascript (the language this is written in) is not exactly the most efficient language for this type of computation. This being said, much time was spent squeezing out every little detail that slows things down. The most computationally expensive part is trying to satisfy the constraints. To do this requires the calculation of distance between two points. "Boring! " No.

Maybe a little more detail: Another pretty neat thing about this simulation is how all the constraints are satisfied. As it turns out there is a really simple solution to this problem. Knowledge is power: If you're interested here are some links: Advanced Character Physics This article (or paper...) is my inspiration for doing this simulation. Bomomo.