Skip to main content

bend_angle

Function bend_angle 

Source
fn bend_angle(frame: usize) -> f32
Expand description

The angle the bending joint holds in frame.

Frame zero is the rest pose, which gives the sequence a reference every later frame departs from; the sign flips halfway so the cube bends both ways instead of swinging through one arc.