Main content
Unit: Simulation
About this unit
A believable world frequently contains objects that need to move in a realistic way, but are too complicated or numerous to move individually “by hand” - things like leaves on a tree or hairs on a monster’s body. In this lesson, visitors will learn how Pixar uses computer programming to create believable simulated hair as seen in the film Brave.Explore how millions of hairs can be simulated using a mass spring system. This lesson is appropriate for grades 5+ and takes approximately 1 hour to complete.
Learn
Practice
In this lesson we'll show you how to code a spring-mass system which is the basis for many different kinds of simulations. This lesson is most appropriate for grades 9+ and takes approximately 1 hour to complete.