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.

Course: Pixar in a Box>Unit 4

Lesson 1: Hair simulation 101

Simulating hair with rigid line segments.

Use the controls to change the number of hairs as well as the number and length of segments in each hair. Click and drag to the head to move it.
See what effects you can come up with, then move on when you're happy.

Want to join the conversation?

• How do you even get to this point? I see how each of the controlled factors affect the movement, but is this all backed up with computer coding. If so, what does that look like? What is the "math" involved to get us to this point?
• why is gravity required in this activity?
• if you move the head around with zero gravity you will realize that the hair don't come down. The more you increase gravity the straighter her hair gets.
• Would each segment react like a pendulum? Multi-jointed pendulums are chaotic afaik. How do you accommodate that?
• So if 0 gravity is equal 100% upwards that means that 15 gravity is is stll going to have gravity but not that much right?
• *0% gravity doesn't mean 100% upwards.* It means that an object will remain in its position unless force is applied unlike when gravity is there, it is pulled down even when there is no force applied.
• How can the "hair" in the simulation come back into a straight line, and joins together like a magnet? When you bring the head -attached to the hair- around, why don't the hairs separate, so it looks like a real person's?
• setting it to max is hilarious!