Exercise – creating a procedural fountain animation
We will create an animation where Initial Velocity rotates around in a random pattern. To do this, we will drive the Initial Velocity node we created earlier with a Noise Texture node:
- To get started, let’s head back to our Randomize Initial Velocity frame and add a new Vector Math node set to Add right before our Vector Math Multiply node, as seen in Figure 17.11:
Figure 17.11: Location of the Vector Math node set to Add
- We want to control the second input of this Vector Math Add node using a Noise Texture node, so we’ll add a Noise Texture node and connect the Color output to the Vector Math node’s second input.
- We will notice that the movement is rather chaotic. That is because we still have to map this Noise Texture node correctly. Add in a Vector Math node set to Subtract and add it between the Noise Texture node and the other Vector Math node. Let’...