Matter.js – A 2D rigid body physics engine for the web
11–20 of 64 posts
Re: Matter.js – A 2D rigid body physics engine for the web
#12Re: Matter.js – A 2D rigid body physics engine for the web
#13On a side note though, it seems that there are some issues if you get things moving fast enough. I was consistently able to fling shapes through the walls on the first demo.
Re: Matter.js – A 2D rigid body physics engine for the web
#14Re: Matter.js – A 2D rigid body physics engine for the web
#15Pros: The samples play well, look fun, and it looks like a great solution to small physics demos in JS. Great job! Cons: Playing with the Stress demos (especially #2) really shows the slowdowns and downsides to using a JS based engine. At 450 boxes (+ 4 bounding walls), it runs at 20fps on my Macbook and thats with a lot of jitter and overlap. Not as fun. Edit: Significantly better w/ WebGL render, @32fps, and with s…
> Cons: Playing with the Stress demos (especially #2) really shows the slowdowns and downsides to using a JS based engine. At 450 boxes (+ 4 bounding walls), it runs at 20fps on my Macbook and thats with a lot of jitter and overlap. Not as fun. Have you tried enabling sleeping? Even most AAA games don't actually have even remotely close to that number of bodies active in a game at once. Sure, the engines can handle i…
Re: Matter.js – A 2D rigid body physics engine for the web
#16Pros: The samples play well, look fun, and it looks like a great solution to small physics demos in JS. Great job! Cons: Playing with the Stress demos (especially #2) really shows the slowdowns and downsides to using a JS based engine. At 450 boxes (+ 4 bounding walls), it runs at 20fps on my Macbook and thats with a lot of jitter and overlap. Not as fun. Edit: Significantly better w/ WebGL render, @32fps, and with s…
Re: Matter.js – A 2D rigid body physics engine for the web
#17Re: Matter.js – A 2D rigid body physics engine for the web
#18Pros: The samples play well, look fun, and it looks like a great solution to small physics demos in JS. Great job! Cons: Playing with the Stress demos (especially #2) really shows the slowdowns and downsides to using a JS based engine. At 450 boxes (+ 4 bounding walls), it runs at 20fps on my Macbook and thats with a lot of jitter and overlap. Not as fun. Edit: Significantly better w/ WebGL render, @32fps, and with s…
GPU acceleration isn't going to be practical until >WebGL2, when we get access to compute shaders. You can technically do compute now by expressing your data as textures and performing rendering passes over it, but trying to do anything non-trivial that way will quickly lead to madness.
Re: Matter.js – A 2D rigid body physics engine for the web
#19How is the cloth demo done? Is it with partial differential equations
Re: Matter.js – A 2D rigid body physics engine for the web
#20http://i.imgur.com/QcKoWLj.png Doesn't seem to render correctly on Chrome 39. Works fine on latest Firefox.