SPRING CONSTRAINTS PHYSICS TOY



A simple example of trying to get some physics to work. I've never been a serious physics programmer, so I started picking it up a little. It's not perfect at all, and they jump a lot when touching the ground when at a powerful gravity. When you add points, if some points are like way out of the canvas, just try to drag some points near to that point to the mid of the screen.


COMMENTS



blog comments powered by Disqus