Physics Module 5
Physics Module 5
Physics Module 5
Frames
A frame is a single image in a sequence of pictures. A frame contains the image to be displayed at a unique time in the
animation. In general, one second of a video is comprised of 24 or 30 frames per second also known as FPS. The frame
is a combination of the image and the time of the image when exposed to the view. An extract of frames in a row makes
the animation.
An animated film with 25 frames per second is played on television at 24 frames per second would result in a black bar
rolling up the screen. Then Digital Converts are to be used to transfer one speed of film to another speed of video. The
most important thing to find out when animating something is what speed the animation will be played back at.
Line of Action
Path of Action
Timing
The timing is the choice of when something should be done; the regulation of occurrence and pace to achieve a desired
effect. Animators have the ability to move forward and backward in time to place objects when and where they are to
be.
Timing Tools
In animation, timing of action consists of placing objects or characters in particular locations at specific frames to give
the illusion of motion. Animators work with very small intervals of time; most motion sequences can be measured in
seconds or fractions of seconds. Frame intervals between keys are usually smaller than one second.
Acceleration Timing
Timing for acceleration can be calculated very accurately when the net force being exerted is constant. Let’s
take a look at the forces and how they can be used to calculate the animation’s timing.
Constant Forces
A constant force is a force that doesn’t vary over time. Examples of constant forces include:
Gravity pulling an object to the ground
Friction bringing an object to a stop
A character walking and pushing a rock is not exerting a constant force throughout the entire sequence, but during each
short part of the walk cycle the net force could be considered to be a different constant value.
For deceleration, the multiples start at a higher odd number and decrease, for example 7, 5, 3, 1.
The Odd Rule is a multiplying system based on the smallest distance traveled between two frames in the sequence. For
a slow-out, this is the distance between the first two frames; for a slow-in, it’s the distance between the last two frames.
This distance, the base distance, is used in all Odd Rule calculations.
In the charts above, note that the distances in the last column are squared numbers: 4 = 22, 9 = 32, 16 = 42,
and so on. One of the benefits of the Odd Rule is one can calculate the total distance traveled from the start point to the
current frame with the following formula:
Multiplier for distance from first frame to current frame = (current frame # – 1) 2
When setting the keys, one can use either the consecutive key multipliers or total distance multipliers but need to
Choose the one that’s easiest to use for the animated sequence.
Suppose there is a jump push (takeoff ) with constant acceleration over 5 frames, and the total distance traveled is 0.4m.
Using the formula above, we find the base distance.
Base distance = 0.4m/(5 – 1) 2 = 0.4m/16 = 0.025m
Using the base distance, one can calculate the distances between each frame. If one adds up the distances traveled, one
will find that they add up to exactly 0.4m.
One feature of the Odd Rule is that the base distance is always half the difference between any two adjacent distances.
To find the base distance, one can simply calculate:
(0.5m – 0.35m)/2 = 0.07m
To figure out how many frames are in the slow-in, divide the first distance by the base distance to find out which odd
number it corresponds to.
0.5/0.07 = 7
This means the first distance corresponds to 7 in the 7, 5, 3, 1 sequence, making the sequence four frames long. Now ibe
can work back the other way, multiplying the base distance by odd numbers to get the distances for the rest of the slow-
in frames.
Motion Graphs
A motion graph plots an object’s position against time. If one is using animation software, understanding and using
motion graphs is a key skill in animating anything beyond the simplest of motions. If one is drawing the animation,
drawing motion graphs before animating can help one to visualize the motion. On a motion graph, the time goes from
left to right across the bottom of the graph, while the object’s position is plotted vertically against the time. Each axis in
3D space (X, Y, Z) has its own line showing the object’s position along that axis. At the very least, one will need to
understand the types of lines in a motion graph and what they represent in terms of visible motion. one can also look at
motion graphs to get a better understanding of any difficulties one is having
with the timing or action.
Parts of Jump
A jump can be divided into several distinct parts:
Crouch—A squatting pose taken as preparation for jumping.
Takeoff—Character pushes up fast and straightens legs with feet still on the ground. The distance from the
character’s center of gravity (CG) in the crouch to the CG when the character’s feet are just about to leave the
ground is called the push height. The amount of time (or number of frames) needed for the push is called the
push time.
In the air—Both the character’s feet are off the ground, and the character’s center of gravity (CG) moves in a
parabolic arc as any free-falling body would. First it reaches an apex, and then falls back to the ground at the
same rate at which it rose. The height to which the character jumps, called the jump height, is measured from
the CG at takeoff to the CG at the apex of the jump. The amount of time the character is in the air from takeoff
to apex is called the jump time. If the takeoff pose and the landing pose are similar, then the jump height and
jump time are about the same going up as they are going down.
Landing—Character touches the ground and bends knees to return to a crouch. The distance from the
character’s CG when her feet hit to the ground to the point where the character stops crouching is called the
stop height. The stop height is not always exactly the same as the push height.
Jump Magnification
When calculating the remainder of the timing for the entire jump action, you can use a factor called jump magnification
(JM). The JM can be used to calculate the push timing and stop timing.
The JM is the ratio of the jump height to the push height.
J
J =
P
Since you already know the jump height and push height, you can calculate the JM. Then you can use the JM to
calculate other aspects of the jump.
Example:
Jump Height = 1m
Push Height = 0.33m
JM = Jump Height/Push Height = 3
To see how this works, let’s look at the formula for JM and relate it to acceleration:
Jump Time Jump Height
JT J P Acca
J = = =
PT P J Acca
The magnitude of jump acceleration is always equal to gravitational acceleration, with deceleration as the character
rises and acceleration as it falls.
Look, it’s the JM! And it’s equal to the ratio of the push acceleration to gravity. Increase your jump time, and the push
acceleration goes up. Decrease your push time, and the push acceleration goes up. Distance (or in this case, jump or
push height) is also related to velocity: Distance = Average Velocity * Time
Physics shorthand:
d = vt
With some algebra, we make this into yet another formula for the average
velocity:
v = d/t
Because the average velocity is the same for both the push and jump, we can say that d/t is the same for both jump and
push:
Jump Height/Jump Time = Push Height/Push Time
And with a little more algebra:
J P
=
PT PT
Push Time
The JM also gives you the ratio of the jump time to the push time.
JM = Jump Time/Push Time
Working a little algebra, we can express the equation in a way that directly calculates the push time:
Push Time = Jump Time/JM
Example:
JM = 3
Jump Time: 15 frames
Push Time = 15/3 = 5 frames
Landing
The forces on landing are similar to takeoff. If the landing has faster timing, the forces will be larger than for a longer
timing.
Stop Time
The stop height is often a bit larger than the push height, but the timing ofthe push and stop are the same in the sense
that the CG moves the same distance per frame in the push and stop. If the stop height is larger than the push height,
you’ll just need more frames for the stop than the push.
Using algebra, we can get the following equation for stop time:
Stop Time = (Push Time * Stop Distance)/Push Height
Example:
Push Time: 5 frames
Push Height: 0.4m
Stop Height: 0.5m
Stop Time = (5 * 0.5) / 0.4 = 6 frames
Walking
Walks feature all the basics of mechanics while including personality. The ability to animate walk cycles is one of the
most important skills a character animator needs to master.
Walk Timing
Walking is sometimes called “controlled falling.” Right after you move past the passing position, your body’s
center of gravity is no longer over your base of support, and you begin to tip. Your passing leg moves forward to stop
the fall, creating your next step. Then the cycle begins again. The horizontal timing for between the four walk poses is
not uniform. The CG slows in going from the contact to passing position, then slows out from passing to contact. The
CG also rises and falls, rising to the highest position during passing and the lowest during contact. The head is in the
highest position during passing.
λ −λ
( ; λ )=P ( X= )=
!
Here k is the number of occurrences, e is Euler’s Number, ! is the factorial function. The positive real number λ is equal
to the expected vlaue of X and also to its Variance. The Poisson distribution may be used in the design of experiments
such as scattering experiments where a small number of events are seen.
Because the average event rate is one overflow flood per 100 years, λ = 1
λ −λ
( ; λ )=P ( X= )=
!
λ −λ −
P(k overflow floods in 100 years) = =
! !
The experimental search for Proton Decay was undertaken because of the implications of the Grand unification
Theories. The lower bound for the lifetime is now projected to be on the order of τ = 10 33 Years. The probability for
observing a proton decay can be estimated from the nature of particle decay and the application of Poisson Statistics.
The number of protons N can be modeled by the decay equation
= −λ
Here λ = 1/t= 10-33/ year is the probability that any given proton will decay in a year. Since the decay constant λ is so
small, the exponential can be represented by the first two terms of the Exponential Series.
−λ
=−λ , ≈ (− λ )
For a small sample, the observation of a proton decay is infinitesmal, but suppose we consider the volume of protons
represented by the Super Kameokande neutrino detector in Japan. The number of protons in the detector volume is
reported by Ed Kearns of Boston University to be 7.5 x 10 33protons. For one year of observation, the number of
expected proton decays is then
−
− = λ =(× )( / ya)( ya )=
About 40% of the area around the detector tank is covered by photo-detector tubes, and if we take that to be the nominal
efficiency of detection, we expect about three observations of proton decay events per year based on a 10 33year lifetime.
So far, no convincing proton decay events have been seen. Poisson statistics provides a convenient means for assessing
the implications of the absence of these observations. If we presume that λ = 3 observed decays per year is the mean,
then the Poisson distribution function tells us that the probability for zero observations of a decay is
λ − λ −
( )= ( )= =
! !
This low probability for a null result suggests that the proposed lifetime of 10 33 years is too short. While this is not a
realistic assessment of the probability of observations because there are a number of possible pathways for decay, it
serves to illustrate in principle how even a non-observation can be used to refine a proposed lifetime.
A bell curve is a common type of distribution for a variable, also known as the normal distribution. The term "bell
curve" originates from the fact that the graph used to depict a Normal Distribution consists of a symmetrical bell-shaped
curve.
The highest point on the curve, or the top of the bell, represents the most probable event in a series of data (its Mean,
Mode and Median in this case), while all other possible occurrences are symmetrically distributed around the mean,
creating a downward-sloping curve on each side of the peak. The width of the bell curve is described by its Standard
Deviation.
The term "bell curve" is used to describe a graphical depiction of a normal probability distribution, whose underlying
standard deviations from the mean create the curved bell shape. A standard deviation is a measurement used to quantify
the variability of data dispersion, in a set of given values around the mean. The mean, in turn, refers to the average of all
data points in the data set or sequence and will be found at the highest point on the bell curve.
Standard Deviations
The Standard Deviation is a measure of how spread out
numbers are. 68% of values are within 1 standard
deviation of the mean. 95% of values are within 2
standard deviations of the mean. 99.7%of values are
within 3 standard deviations of the mean
Monte-Carlo Method
Monte Carlo method applied to approximating the value of π. For example, consider a quadrant inscribed in a unit
square. Given that the ratio of their areas is π/ 4 , the value of π can be approximated using a Monte Carlo method:
In this procedure the domain of inputs is the square that circumscribes the quadrant. We generate random inputs by
scattering grains over the square then perform a computation on each input (test whether it falls within the quadrant).
Aggregating the results yields our final result, the approximation of π.
There are two important considerations:
1. If the points are not uniformly distributed, then the approximation will be poor.
2. There are many points. The approximation is generally poor if only a few points are randomly placed in the
whole square. On average, the approximation improves as more points are placed.
Uses of Monte Carlo methods require large amounts of random numbers, and their use benefited greatly from Pseudo
random number generators, which were far quicker to use than the tables of random numbers that had been previously
used for statistical sampling.