// // spark particle // numParticles 4 material textures/sfx/flamesparks initialVelocity ( cylinder, 0.0, -0.01, 0.55, 0.0, -0.01, 4.5, 1, 1 ) // the size is between 0.5 and 1.25 size ( 0.5, 0.75 ) // trailSize 6 stayDead begin { // when a particle dies, it will re-start with the same base velocity copyVelocitys // allow up to 1 particles per iteration to appear in the defined plane source ( 1, point, 0, 0, 0 ) // what kind of gravity force is applied to them gravity ( 0.0, 0.0, -0.3 ) // friction, resilience, cutoff, and the plane definition bounceOff ( 0.3, 0.3, 0, world ) killIfOlderThan 80 killOutside ( box, -200, -200, -200, 200, 200, 200 ) // run this loop applyMathSoFar }