Repository navigation
Example Effects
nasafrasa edited this page Apr 11, 2023
·
21 revisions
Here are a few pre-made effects I made using the particle system. These are meant to be examples of how some effects are made and serve as inspiration or a basis for other effects you might make. I encourage you to play round with different properties of each effect, change the generator shape, change the color or scale animation, change the expansion, or anything property, and see what happens!
Placeholder text.
Placeholder text.
Placeholder text.
Placeholder text.
const stars = new ParticleSystem(0,0.02,400) // Creates a particle system at the time 0 and produces particles for 0.02 beats
stars.generator.name = "StarsPS"; // Gives the name "StarsPS" to the parent track of all particles
stars.generator.type = "Point"; // Changes the generator type to "Point"
stars.generator.expansion = 1000; // The starting position of the particles will be 1000 units from the point
stars.particle.distance = 0; // The particles will move 0 units from their starting positions
stars.particle.life = 100; // The particles will last for 100 beats.
stars.push();Placeholder text.