verlet-js icon indicating copy to clipboard operation
verlet-js copied to clipboard

A simple Verlet physics engine written in javascript

Results 15 verlet-js issues
Sort by recently updated
recently updated
newest added

Before I go gallivanting off to search for a CSS touch intercept parameter, is there already a common method of allowing verlet to work with mobile? Currently touches seem to...

If not, do you know of a comparable 3D physics library?

Can someone give me a documentation about this library?

I don't know how dead this project is but I believe it has a lot of potential. - [My Repository](https://github.com/formula1/verlet-js) - [My blob](https://github.com/formula1/verlet-js/blob/master/examples/area0.html) - [my collision logic](https://github.com/formula1/verlet-js/blob/master/lib/collision/collision.js) - [My blobs...

Hi, I've added a possibility to define background and foreground highlights. It's also possible to drop highlight at all (by assigning empty function to `drawFgHighlight`). Question is: why background highlight?...

Hi, How about fixed, non-draggable entity? :) I've used that feature to add "roots" to trees from your example. Through that solution there was no possibility to shift tree, only...

Hi, Way to achieve invisible entities now is assigning empty function to their `draw` handlers. More intuitive and I'd say "native" way to do so would be allowing undefined, null,...

Hi, As mouse cursor move outside canvas and later re-entering can cause unpredictable and often crude physics movements it could be good to simply release entity drag after leaving canvas....

Hi, I found ability to react on entity click crucial for my project so I think it could be useful to contain it in default verlet-js behaviour. I've added `entityClicked`...