Physics of animation
Download
1 / 58

Physics of Animation - PowerPoint PPT Presentation


  • 367 Views
  • Updated On :

Physics of Animation. Alej Garcia Dept. Physics SJSU www.algarcia.org. Anatomy for Artists. Surgeons and artists learn anatomy, but for very different purposes. Thomas Eakins. Leonardo da Vinci. Life drawing is difficult but it’s not brain surgery. Physics for Animators.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Physics of Animation' - Lucy


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Physics of animation l.jpg

Physics of Animation

Alej Garcia

Dept. Physics SJSU

www.algarcia.org


Anatomy for artists l.jpg
Anatomy for Artists

Surgeons and artists learn anatomy, but for very different purposes.

Thomas Eakins

Leonardo da Vinci

Life drawing is difficult but it’s not brain surgery


Physics for animators l.jpg
Physics for Animators

An engineer’s calculation of motion needs to be highly accurate, with precise measurements.

Animators, on the other hand, usually don’t need such mathematical precision. It just has to look right.

It’s not rocket science.


Motion mechanics l.jpg
Motion & Mechanics

The study of motion is a fundamental field of physics known as mechanics.

“In order to do the fantastic we must first understand the real.” Walt Disney


Motion mechanics5 l.jpg
Motion & Mechanics

Physical laws apply equally to living characters, living beings are just a little more complex (but then so is an automobile engine)

Thomas Eakins


Physics in maya l.jpg
Physics in Maya

Animation software, such as Maya, have sophisticated physics “engines” that use the laws of physics to compute motion.

Easier to use these tools knowing physics.


It s all in the timing l.jpg
It’s all in the timing…

An essential element of animation is the timing between frames

“It’s not important what goes on each frame of film; it’s the spaces between the frames that are important. “ Norman McLaren


Timing frames keys clocks l.jpg
Timing: Frames, Keys, & Clocks

  • We’ll use three different ways of measuring time:

  • Frames (intervals of 1/24th of a second)

  • Keys (given number of frames between poses)

  • Clocks (actual seconds as measured by a clock)

  • IMPORTANT: We’ll select the keys such that there are always the same number of frames between each key.


Uniform motion l.jpg
Uniform Motion

1

2

3

4

5

Equal

Distances

Arbitrary

Rolling ball is an example of uniform motion.

Velocity of the ball is constant (with no friction).

NOTE: In all examples there are an equal number of frames between keys



Uniform motion in perspective11 l.jpg
Uniform Motion in Perspective

Uniform motion may not appear uniform due to distortion of scale when shown in perspective.

Vanishing

Point

Horizon Line

Distances are equally-spaced, in perspective.


Accelerating motion falling l.jpg
Accelerating Motion & Falling

1

1

1

Falling is an example of accelerating motion (in animation, “slowing out”).

2

4

3

Distance between keys increases in the ratios 1:3:5:7:9… starting from point of release (key #1).

3

Total distance from point of release (key #1) increases in the ratios 1:4:9:16:25:… or 12:22:32:42:52…

9

5

In “Straight Ahead” animation after drawing keys #1 and #2 the positions of the rest are given by these rules.

4

7

16


Distance fallen l.jpg
Distance Fallen

Distance fallen from key #1 (release point) to key #2 depends on the number of frames between keys.

Distance fallen from key #2 to #3 is three times further; from #3 to #4 is five times, from #4 to #5 is seven times, etc.

Note: These distance do not depend on the object’s weight.


Falling bowling ball l.jpg

(6 frames)

(12 frames)

Falling Bowling Ball

1 (Release)

1 (Release)

2

2

Bowling ball is one foot in diameter.

Balls falls by one diameter in the first six frames.

Same times

3

3

4

4

Falls ¼ of diameter in the first three frames.

5

5

6 frames per key

3 frames per key

(and dolly in)


Demo catch a buck l.jpg
Demo: Catch a Buck

Put thumb and index fingers near Washington’s head. Can you react fast enough to catch the money?

Half length of dollar bill is 3 inch so it takes about 1/8 of a second (0.125 seconds) to fall this distance.

Typical reaction time is 0.20 to 0.25 seconds.


Measuring reaction time l.jpg
Measuring Reaction Time

Distance (inches) Time (sec.)

1 0.07

2 0.10

3 0.12

4 0.14

5 0.16

6 0.17

7 0.19

8 0.20

10 0.23

12 0.25 14 0.27

16 0.29

18 0.30

Release

Catch


Rolling downhill l.jpg
Rolling Downhill

1

Key #1 is point of release

1

3

2

5

3

7

4

Rolling downhill is

also accelerating motion

Very similar to falling except distances are smaller and depend on the slope of the incline.


Demo galileo s clicking ramps l.jpg
Demo: Galileo’s Clicking Ramps

Roll balls down notched, inclined ramps and listen for the clicks.

8 16 24 32 40 48 56 64

Start

1 4 9 16 25 36 49 64

4=2x2 9=3x3 16=4x4 25=5x5 36=6x6 49=7x7 64=8x8


Sliding with friction l.jpg
Sliding with Friction

Block

stops

here

Sliding this way

3

1

5

1

2

3

4

Sliding with friction is another example of accelerating motion but in this case the object “slows in.”

Draw last key (where object stops) first and draw keys leading up to it in the ratios 1:3:5:7:9:…


In betweens of accelerated motion l.jpg
In-betweens of Accelerated Motion

Shooting on Twos (2 frames per key)

1

3

5

Accelerating this way

1 frame per key

7

1

2

3

4

5

6

1/4

3/4

5/4

7/4

9/4

11/4

5/4+7/4 = 12/4 = 3

To draw in-betweens of accelerating motion, divide first distance by 4, then keep the same ratios of 1:3:5:7.


Falling a la chai l.jpg
Falling a la Chai

An approximation to real falling that’s easy to use for pose-to-pose animation

1

1

1

1

2

2

3

3

3

3

  • Recipe for “Falling a la Chai”:

  • Draw interval from first & last keys.

  • Divide interval in half. Mark a key.

  • Divide top part in half. Mark a key.

  • Divide top part in half.

  • Divide top part in half. Mark a key.

4

5

4

4

8

7

Key #4 is a bit too high but who’ll notice?

5

5

Falling

a la Chai

Real

Falling


Falling a la chai extended l.jpg
Falling a la Chai (Extended)

Accelerating this way

Real

Falling

1

3

5

7

9

11

1

3

4

8

8

8

Falling

a la Chai

Uniform

Slowing out

The most noticeable acceleration occurs in the initial “slowing out.”

Though the separations increase as an object accelerates, you can approximate the motion as uniform for the second half of the fall.


Falling and floating l.jpg
Falling and Floating

Light objects, such as a beach ball, initially fall with accelerating motion.

Due to air resistance, the motion transitions to uniform motion after falling a certain distance.

For very light objects, such as a leaf, this transition is almost immediate.

1

3

Accelerating Motion

5

Uniform Motion

5

5

Squirrels cannot die from a fall.

5


Hyper acceleration l.jpg
Hyper-acceleration

1

Constant acceleration

1

3

Release

2

5

3

7

1

4

Release

2

3

Hyper-acceleration

4

If the slope of an incline increases, the acceleration itself accelerates.


Tipping over l.jpg
Tipping Over

Brick tipped 2º off-balance then released.

A good example of hyper-acceleration is an object tipping over when off-balance.

Release

At 4º in

½ second

At 15º in

1 second

At 57º in

1½ second

No simple way to compute hyper-acceleration.


Acceleration stretch l.jpg
Acceleration “Stretch”

Objects visually stretch as they gain speed due to motion blur.

Objects do not physically stretch as they fall (not even raindrops).

Motion blur does not depend on the object’s material, however, it will look more natural for rigid objects to stretch less than elastic objects.

High-speed camera

Human eye


Moving falling l.jpg
Moving & Falling

2

1

4

3

1

5

Arbitrary

3

Ball rolling off of a table combines horizontal and vertical motion.

Falling starts with key #4, with vertical distances increasing as 1:3:5:7:…

Horizontal distances equally spaced as with uniform motion.

Arc is the combination of uniform horizontal motion and accelerating vertical motion.

6

5

7

7


Demo fall and fire l.jpg
Demo: Fall and Fire

FALL

1

FIRE

1

1

One ball is released and falls straight down.

Other ball is fired horizontally.

At all times the balls are at the same height.

Hit the ground at the same time.

2

2

3

3

3

5

4

4


Parabolic arc of motion l.jpg
Parabolic Arc of Motion

4

1

3

5

Apex

Arbitrary

3

2

6

Up and down motion is symmetric, as shown.

Key #4 is highest point of the arc of motion.

5

7

1

7


Bouncing l.jpg
Bouncing

4

Bouncing ball losses energy so it doesn’t bounce up to its original height.

1

5

3

3

Copy

2

6

9

1

8

10

Simple way to do bouncing is to copy upper part of the arc.

5

3

7

11

1


Bouncing with squash stretch l.jpg
Bouncing with Squash & Stretch

Stretch is added where motion is the fastest.

Squash is used to emphasize impact on bounce.


Parabolic arc in perspective l.jpg
Parabolic Arc in Perspective

Maximum height (ball at midpoint)

VP

HL

Ball starts and ends on the ground.


Parabolic arc in perspective cont l.jpg
Parabolic Arc in Perspective (cont.)

1

VP

HL

3

Add points to the curve by ‘tweening’ from the point of maximum height.


Spinning and tumbling l.jpg
Spinning and Tumbling

Arbitrary

4

1

5

3

3

A spinning object turns by the same (arbitrary) angle between keys.

Spinning occurs about the object’s center of mass.

2

6

5

General tumbling motion (e.g., throw a chair) is very complicated!

7

1

7

Note: If axe is about 10” long then 4 frames between keys.


Brick drop l.jpg
Brick Drop

1

2

3

1

  • A brick tipping off of a table combines all the elements described above:

  • Hyper acceleration as the brick tips over.

  • Constant acceleration in the vertical falling.

  • Uniform velocity in the horizontal motion.

  • Constant rotation as the brick falls.

4

3

5

5

6


What creates action l.jpg
What creates action?

  • Various types of physical motion are:

  • Uniform motion (no acceleration)

  • Constant acceleration

  • Hyper-acceleration (non-constant)

  • But why do objects accelerate?

  • Answer: Forces!


Newton s first law of motion l.jpg
Newton’s First Law of Motion

An object moves with constant, uniform motion until acted on by a force.

No force

FORCE


First law full version l.jpg
First Law (Full Version)

An object at rest remains at rest &

an object in motion remains

in uniform motion*,

unless a force acts on the object.

*Moving in a straight line with constant speed.

First Law is also known as principle of inertia.


Demo tablecloth pull l.jpg
Demo: Tablecloth Pull

Flower

Vase

Yank quickly

Tablecloth

Due to the vase’s inertia it remains at rest since almost no force acts on the vase if one pulls quickly & straight.


Demo riding light rail l.jpg
Demo: Riding Light Rail

When a moving train stops, you continue moving forward.

When the stopped train starts moving again, you remain stationary and are thrown backwards.

In both cases, it’s due to your inertia.


Follow through inertia l.jpg
Follow-through & Inertia

Follow-through is a good example of the principle of inertia.

An object won’t move until a force acts on it so long hair trails behind as head turns.

Hair then remains in motion even after the head stops turning.


Newton s second law part 1 l.jpg
Newton’s Second Law (Part 1)

The greater the force on acting on an object, the greater the acceleration of that object.


Newton s second law part 2 l.jpg
Newton’s Second Law (Part 2)

The greater the mass of an object, the less it accelerates when acted on by the same force.


Free fall acceleration l.jpg
Free Fall Acceleration

Newton’s Second Law explains why heavy and light objects fall with same acceleration.

Ratio of weight to mass always the same since weight depends on mass.


Demo drop the sheet l.jpg
Demo: Drop the Sheet

A flat sheet of paper falls slowly because of air resistance.

What happens if we place it on top of a book, blocking the air from reaching it?

Air

Resistance

Weight

Book and sheet fall together


Settle squash force of impact l.jpg
Settle, Squash & Force of Impact

The shorter the “settle” the greater the force of impact (since the deceleration is large if an object stops suddenly).

Similarly, less

“squash”, means

a greater force

of impact.


Demo bed of nails l.jpg
Demo: Bed of Nails

One may safely lay or sit on a bed of nails, as long as there are enough nails since the force per nail is small.

Weight of 150 pounds is distributed over 300 nails. Force per nail is ½ lb. Need 5 lb per nail to pierce skin.

The one thing you never want to do with a bed of nails is jump into bed! Big deceleration means big force. Ouch!


Demo vampire stake l.jpg

Quick stop, BIG FORCE

Ouch!

X

X

Not safe if stake strikes hard skull

Demo: Vampire Stake

Safest when slowly moving stake placed on a soft, fleshy spot on the chest.

Slow settle, small force


Newton s third law of motion l.jpg
Newton’s Third Law of Motion

For every action force there is an equal reaction force in the opposite direction.


Walking running jumping l.jpg
Walking, Running & Jumping

What forces accelerate us into motion when we walk, run, or jump?


Forces when walking or jumping l.jpg
Forces when Walking or Jumping

For a person walking, running, or jumping, the three main forces on the person are:

  • Gravity (Downward)

  • Support of the floor (Upward)

  • Frictional force of the floor (Horizontal)

    Only these forces can accelerate the person.

    Gravity is constant but the force exerted by the floor can increase in reaction to the person exerting a force on the floor.


Walking forward l.jpg
Walking Forward

Back foot pushing back on the floor.

Reaction is the friction of the floor, which pushes your body forward.

If floor is frictionless then it is impossible to move forward.

Reaction

Action


Walk cycle timing l.jpg
Walk Cycle Timing

Right foot plants, pushing forward. Reaction of floor accelerates you rearward.

Right foot pushes back to accelerate forward

Action

Reaction

Reaction

Action


Jumping l.jpg
Jumping

Jumping is done by pushing downward on the ground (action) so the ground pushes upward on you (reaction).

How high you jump depends on the force and on the distance over which you apply that force.

Can only push while in contact with the ground so squatting helps by increasing distance.


Swinging arms and jumping l.jpg
Swinging Arms and Jumping

You swing your arms upward as you jump to increase the force pushing down on the ground.

Try jumping and swinging your arms upward after you leave the ground; you won’t jump as high.


Don t be discouraged l.jpg
Don’t be discouraged…

This may seem complicated (and it’s only Part I) but it’s no harder than learning anatomy.

Drawing of skeletal arms by Chuck Jones (from Chuck Amock)



The most important law of motion l.jpg
The Most Important Law of Motion

The art director is always right.