Skip to content

Comment on Verlet-js - Open source dynamic body physics engine

Comments

Awesome! Thanks for sharing. It's amazing what you can do inside the browser these days.

Any thoughts of integrating it with SVG? SVG is super useful for drawing and manipulating shapes in the browser.

Thank you! I have actually not played around with SVG yet. Is it as easy as canvas? I am very new to canvas and found it to be super easy to pick up and run with.

I haven't played with canvas yet... it's quite powerful... checkout http://www.netmagazine.com/features/20-svg-uses-will-make-yo...

SVG is usually much slower due to it's DOM representation, not a good fit for heavy animations.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.