hunterloftis / newton

A playful, particle-based physics engine designed from the ground up for JavaScript.
917 stars 49 forks source link

Custom WebGL renderer? #13

Closed hunterloftis closed 10 years ago

hunterloftis commented 10 years ago

The pixi renderer is simple and a huge improvement over canvas.

CoffeePhysics has a crazy fast renderer as a result of using custom vertex shaders instead of individual draw operations:

https://github.com/soulwire/Coffee-Physics/blob/master/source/demos/renderer/WebGLRenderer.coffee

It may or may not be worth implementing such a thing in newton.

hunterloftis commented 10 years ago

Implemented.