|
Particles:
This example shows using .cache() to create dynamic content that can be rendered by the renderers.
This is only supported by Canvas 2D, WebGL, and the DOM element renderers.
It runs fairly slowly, because of all the tiny unique textures being generated each frame.
In a production scenario, you would want to generate and cache dynamic content once, ideally combining it using SpriteSheetBuilder.
Safari 6 also exhibits a heisenbug, where only a limited number of particles will display unless you open the dev console.