To note: Javascript is not running in this browser environment. Our apologies, but this demo has not yet been updated to support progressive enhancement.
Test purpose
- Create a Shape and a Label entity, to act as areas within which Particles will be generated.
- Create a world object and Emitter entity to generate particles in the Label entity.
- Clone the Emitter entity, updating it so that it uses the Shape entity for its particle generation area.
- Check that particle generation responds as expected when dragging the area entitys around the canvas.
Touch test: should work as expected
Annotated code