Pixar in a Box
- Effects overview
- Introduction to particle systems
- Simulating water
- Water simulation
- Smooth collisions
- Smoothed particle hydrodynamics
- Create water surface using particles
- Calculating contour lines
- What else can you make with particle systems?
- Fireworks simulator
- Genesis effect
- Getting to know Matt Wong
In this video we'll show you how to create fireworks using the exact same methods we used to make water.
(bouncing) - 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. (explosions) 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 arc, 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 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 child 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. (explosions) (whistling) 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. (explosion)