3 ms·
I'd be curious to see the performance differences between this drawing on 2d canvas, webgl and similar code in plain JS. Mostly curious at that webgl benchmark
by nthitz 13y ago
I'd be curious to see the performance differences between this drawing on 2d canvas, webgl and similar code in plain JS. Mostly curious at that webgl benchmark
- jonobr1 13y agoI'd love to see some benchmarks if you make any. From my gut, I'd say that the WebGL renderer is fast at rendering lots of shapes with only translation / rotation transformations applied to them. SVG is highly optimized on Webkit and handles shape morphing really well and so the SVG renderer handles that really well. Canvas sits somewhere in between the two. This is a test of a lot of shapes morphing. It visualizes SoundCloud songs: http://jonobr1.github.io/Neuronal-Synchrony/?url=https://soundcloud.com/skrillex/skrillex-the-reason&comments=true http://jonobr1.github.io/Neuronal-Synchrony/?url=https://sou... It may take awhile to load...
- tolmark12 13y agoI'd also be curious to see how it performs with mass amounts of sprites, something like pixi's bunny demo: http://www.goodboydigital.com/pixijs/bunnymark/ http://www.goodboydigital.com/pixijs/bunnymark/