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.

Pixar in a Box

Course: Pixar in a Box>Unit 4

Lesson 1: Hair simulation 101

Support springs

Curly hair animation uses damped springs for realistic movement. Support springs, added between larger springs, create curls at rest. Adjusting support spring stiffness and length controls curl size and shape. This technique brings Merida's hair to life, offering a fun way to explore spring physics!

Want to join the conversation?

• Is it like bézier curves while before it was linear interpolation?
• How did the team built up the function of parameters? How did they calculate the net force?
• how does support springs even work?
• The support spings make the points they connect on the hair "want to stay close".

:et's think about only one support string:
Without it, the only force on the hair is the gravity , so "it wants" to fall straight down.
With one support spring, there is a force pulling the two connected point together. So te hair wont fall straight down, but would make some arc between the 2 points.

Now, with many support springs, we have many arcs.

I beliave they used another layer of support strings connecting the first one (or even more), so all the arc continue one another in a smooth way.
• I don't understand this very well but what if you were able to add a compound that would keep the hair curly without needing spring support
• Did you know that pausing the video gives you points easily? I didn’t
• why is the video stuck at half waY??
• great work so far we build up a model of hair using a series of damped Springs this gives us a more realistic behavior like this style I came up with but remember the art department once Merida's hair to be curly sometimes it curls up while moving but it doesn't hold that curly shape while at rest here's an idea what if we put some smaller Springs in between the larger Springs to pull them together let's call them support Springs we already have a mathematical model of the spring so this is easy to test out if I connect a support spring between the larger Springs I'd get something like this if I hide the support Springs you'll notice the hair comes to rest in a curly shape that's much better adding these support Springs results in new parameters we can control the stiffness and length of the support Springs shorter support Springs will give us smaller curls while really long support Springs give us bigger ones and if we make the support Springs have a higher stiffness the curl pops up like this kind of like we applied hairspray compare this to support Springs with lower stiffness in this case the curls relax a bit and fall downwards in a natural way now let's try this with a bunch of hairs now that's starting to look more like Merida this isn't exactly the method we use on Merida for the movie but it's close in this next interactive you can try this out with all the parameters we've introduced the two new parameters are support spring stiffness and support spring length see what you can come up with
• great work so far we build up a model of hair using a series of damped Springs this gives us a more realistic behavior like this style I came up with but remember the art department once Merida's hair to be curly sometimes it curls up while moving but it doesn't hold that curly shape while at rest here's an idea what if we put some smaller Springs in between the larger Springs to pull them together let's call them support Springs we already have a mathematical model of the spring so this is easy to test out if I connect a support spring between the larger Springs I'd get something like this if I hide the support Springs you'll notice the hair comes to rest in a curly shape that's much better adding these support Springs results in new parameters we can control the stiffness and length of the support Springs shorter support Springs will give us smaller curls while really long support Springs give us bigger ones and if we make the support Springs have a higher stiffness the curl pops up like this kind of like we applied hairspray compare this to support Springs with lower stiffness in this case the curls relax a bit and fall downwards in a natural way now let's try this with a bunch of hairs now that's starting to look more like Merida this isn't exactly the method we use on Merida for the movie but it's close in this next interactive you can try this out with all the parameters we've introduced the two new parameters are support spring stiffness and support spring length see what you can come up with
(1 vote)
• Can you make support strings in real life?