Reel
Reference
Ruiding Feng | VSFX 721 | Winter 2024
Project 3 | Procedure Animation
Around the world with cams | User Guide and Breakdown
Houdini Version 19.5.640
Render Statistics
• Renderer: redshift
• Avg. Render Time: 2.1 min/frame (750 frame)
• Image Resolution: 1920 * 1920
• Number of Lights: 2 (1 spotlights, 1 envir light)
Geometry Statistics
• Points: 1872
• Primitives:1478
• Vertices: 798
• Packed Geos: 11
Project Description
Reuben Margolin: Made in 2020, this one has a single electric motor that turns a set of cams that
makes the caterpillar walk around the world.
Reference


Technical Guide
Ball moving
Two circle


The ball always go to odd number point on circleA,
or even number point on circleB.
duration: The frames that the ball move up and down until next moving up.
movingTime: The total frames that the ball move up to peak point or move down to ground point.
startDelaying: The frames that the ball start moving later than preview balls.
Example
duration: 200 frames
movingTime: 40 frames
startDelaying: 8 frames
We want to move the ball to finish the first duration.
Now, how to move the ball from B0 to A1, or A1 to B2?
We are using Lerp function.
Lerp (a, b, c ) a: the current point
b: the next point
c: ratio number, when it equal 0 staying a, equal 1 staying b.
We don't want our ball to flash to the point b or a. We want the ball to move to the point with constant speed by frames.
So we need to calculate the ratio c.
For example, current frame is 212
So, 212 frame % 200 = 12 frame
Great than 0, lower than 40; the ball is between B2 and A3.
What is the position between B2 and A3?
12 / 40 = 0.3
Then, we can get the ball moving animation by calculating ratio c in Lerp function.
Now, we achieved 1 ball moving, how to make 13 balls moving?
Using transform node with certain angle and detail("","iteration",0) .
However, we don't want 13 balls to move in the same time.
We need to delay the starting time comparing than the preview ball.
Using startDelaying
Current frame is 212, where is the second ball position at?
(212 - 8) % 200 = 4 frames
Great than 0, lower than 40; the ball is between B2 and A3.
4 / 40 =0.1




Ball moving code
(click it)

transform node: certain angle with detail("","iteration",0) foreach display


Arm
Same coding frame with a little varied function

All Rotation
12 degree for 200 frames

