Played around with this awhile back and I really like it. Great for quick art projects and the like: <a href="http://westleyargentum.github.io/monsters/" rel="nofollow">http://westleyargentum.github.io/monsters/</a>
What I am struggling with, is the use case of a library like this.<p>Is this oriented towards gaming or substitude something like d3.js or is it has a simplier api, for the developer than other libraries. Or is it a library to showcase the cool stuff that can be done with new technologies.<p>I think the main difference and the selling point is that it is "renderer agnostic" but I don't understand the benefits of that.
Interestingly WebGL is way slower than SVG and Canvas in this case (Chrome, rMBP): <a href="https://jonobr1.github.io/two.js/examples/particle-sandbox.html?type=webgl&shapes=triangle,square,circle,pentagon,star&operations=translation,rotation,scale&count=200" rel="nofollow">https://jonobr1.github.io/two.js/examples/particle-sandbox.h...</a>
I don't see anyway of working with textures at this point, am I wrong? Part of what I find interesting of working with Paper.js is the ability to render to a texture, and keep piling on stuff if necessary. I haven't tried the performance that would bring, but from what I understand it could be great.
As someone using D3.js a lot (even for a puzzle game) - what is the benefit of using Two.js? Jumping between SVG and Canvas? (But then, is it worth the price of reducing possibilities to circles and squares?)
An alternative library that is Canvas only but works well with input is ZRender[0]. Sadly the docs have not been translated to English (lingua franca of open source libs or software in general?) and I think that affects adoption.<p>0 - <a href="https://ecomfe.github.io/zrender/" rel="nofollow">https://ecomfe.github.io/zrender/</a>
Awesome...but. No text? That suddenly wipes out my use case (data viz). I was super encouraged reading this post, multiple renderers including canvas / webgl (so I assume speed - unlike D3), smart, clean, indeed creative looking logo/site...suggests the author has taste...but no text kills this for me. I see no obvious use case for animated 2d that does not do textures (personally happy to do without) but also does not do text.