Skip to content

Instantly share code, notes, and snippets.

@albertreza
albertreza / index.html
Created July 31, 2013 03:18
A CodePen by suffick. Physics Playground - A small physics engine (dubbed JSVerlet). The engine is a work in progress, this a demo of what it can do at the moment. Instructions: - Left click to drag points (corners, joints etc). - Right click to delete a point. - Hold ctrl to enter edit mode, release to exit. When in edit mode: - Click to add po…
<canvas id = "c"></canvas>
<div id="info">
<div id="top">
<a target="_blank" id="site" href="http://lonely-pixel.com">my website</a>
<a id="close" href="">close</a>
</div>
<p>
- Left click to drag points (corners, joints etc).<br>
- Right click to delete a point.<br>