newton
Version:
A playful, particle-based physics engine designed from the ground up for JavaScript.
11 lines (8 loc) • 360 B
text/jade
p.
Reuse! We now have a drop-in Rope Body that we can use as many times as we like:
.Demo-container
iframe.Demo(src='http://jsfiddle.net/hunterloftis/6FJtv/4/embedded/js,result,html')
p.
We can also extend Rope with new data and behaviors.
We've already given it a head property - we could also add a tail property
or methods like coil() or snap()