If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content
Current time:0:00Total duration:1:31

What else can you make with particle systems?

Video transcript

as we mentioned earlier particle systems can be used for more than water lots of other effects can be created with them like fireworks for example to see how that works let's start by launching a few particles under the influence of gravity when they reach the top of their Ark they explode to create other particles we'll call these child particles you can vary the strength of gravity using this slider a large value keeps the particles from rising very high and a small value causes the particles to fly off the screen notice that the child particles disappear after a short time this is called their lifetime we can vary the lifetime using this slider let's also increase the number of trial particles that get created to create something more believable let's add some randomness for instance let's add some random variation to the speed of the child particles that's better let's also add some variation to the angle at which the initial particles get launched awesome see what kind of fireworks display you can create in the next exercise and in the next lesson we'll look more closely at the physics underlying the ping pong ball simulator which you'll need to understand if you want to code up your own simulator from scratch you