Now that we have created a simple web app that can upload a PNG image file to the WebAssembly virtual file system, and an SVG chart to display the emission direction of the particles, we are going to add a simple particle system configuration tool. For this first version of our particle system configuration tool, we are going to keep the number of configurable values small. Later, we will add more features to our particle system tool, but for the moment this is the list of parameters we will be able to use to configure a particle emitter:
- Image file
- Minimum emission angle
- Maximum emission angle
- Maximum particles
- Particle lifetime in milliseconds
- Particle acceleration (or deceleration)
- Alpha fade (will the particles fade out over time?)
- Emission rate (number of particles to emit per second)
- X position (emitter x coordinate)
- Y position (emitter...