Expand description
The preludes
Modules§
- transform
- Transform related things
Macros§
- lagged
- Construct an
AnimLaggedwith a stagger ratio, pushing each animation in order. - seq
- Construct an
AnimSequenceby playing each animation in order. - stack
- Construct an
AnimStackby pushing each animation at the same origin.
Structs§
- Aabb
Point - A point based on
Aabb, the number in each axis means the fraction of the size of theAabb. (0, 0, 0) is the center point. - Anim
Lagged - Dynamic lagged (staggered, end-filled) animation container.
- Anim
Sequence - Dynamic sequential animation container.
- Anim
Stack - Dynamic overlay animation container.
- Audio
Clip - Decoded audio: interleaved
f32PCM samples. - Audio
Track - A sound’s content data: the clip plus how to play it.
- Camera
Frame - The data of a camera
- Diag
- The diagonal group (R*)³: axis-aligned non-uniform scaling.
- Iterative
- Adapter turning an
IterativeEvalinto the generalEvalprotocol. - Iterative
Fn - An
IterativeEvalbacked by a stepping function. - NotSimilarity
- Error returned when an affine transform is not a similarity transform (its linear part has non-uniform scale, shear, or reflection).
- Pure
- Adapter turning a raw closure
Fn(f64) -> Tinto anEvalsegment. - Ranim
Scene - Animation definition builder passed to scene constructors.
- Rigid
- The rigid (Euclidean) group SE(3): rotation + translation.
- Similarity
- The similarity group Sim(3): uniform scale + rotation + translation.
- Sound
- An audio leaf: plays a clip’s span inside its placed window.
- Static
- A constant evaluator.
- Transformed
- An item paired with an external transform represented by
G. - Translation
- The translation group T(3): pure displacements.
Enums§
- Core
Item - The core ranim builtin items
- Lagged
Fill - How an
AnimLaggedfills the time outside a child’s window. - Scale
Hint - A hint for scaling the mobject.
- Time
Mark - A marker attached to a time in a scene definition.
Traits§
- Aabb
- Axis-Aligned Bounding Box
- Align
Slice - Align a slice of items
- Alignable
- A trait for aligning two items
- Anim
Iter Ext - Collect iterators of animations into containers.
- Apply
Transform - A group action of
GonSelf: baking a transform into the item’s data. - Arrange
Slice - A trait for arranging operations.
- Color
- A trait for items that have both fill color and stroke color
- Discard
- A trait for discarding a value.
- Empty
- A trait for items that can be empty
- Eval
- The general animation segment protocol: what the runtime can do with a segment.
- EvalExt
- Build-time conveniences over
Eval, split out soEvalstays a single primitive (eval_alpha). - Extract
- Extract one or more target values from a reference.
- Fill
Color - A trait for items that have fill color
- Interpolatable
- A trait for interpolating to values
- Into
Anim Node - A definition that can be lowered into the runtime animation tree.
- Iterative
Eval - The capability of an iterative, stateful evaluation.
- Locate
- Locate a point.
- Opacity
- A trait for items with opacity
- Partial
- A trait for items that can be displayed partially
- Playback
Ext - Playback parameter builders for animations that have not been placed yet.
- Points
Func - A trait for items that can apply points function.
- Rotate
Transform - Rotating operations.
- Scale
Transform - Scaling operations: the axis-aligned (diagonal group) scaling action.
- Scale
Transform Ext - Useful extensions for scaling operations.
- Scale
Transform Stroke Ext - A trait for scaling operations with stroke width.
- Shift
Transform - Shifting operations.
- Shift
Transform Ext - Useful extensions for shifting operations.
- Static
Anim - Convenience methods for zero-duration static animations.
- Stroke
Color - A trait for items that have stroke color
- Stroke
Width - A trait for items have stroke width
- Transform
Group - A transformation representation closed under identity and composition.
- Transformed
Ext - Extension methods for attaching an exact transform representation to a value.
- Uniform
Scale Transform - Uniform-scaling operations: the similarity-group action.
- Unplaced
- Capability for animation definitions that have not been fixed in parent time coordinates.
- With
- A trait for mutating a value in place.
Functions§
- color
- Parse color string to
AlphaColor<Srgb> - rgb
- Construct an
AlphaColor<Srgb>from rgb f32, the alpha value will be 1.0 - rgb8
- Construct an
AlphaColor<Srgb>from rgb u8, the alpha value will be 255 - rgba
- Construct an
AlphaColor<Srgb>from rgba f32 - rgba8
- Construct an
AlphaColor<Srgb>from rgba u8 - try_
color - Parse color string to
AlphaColor<Srgb>without panic
Attribute Macros§
- output
- Define a video output.
- scene
- wasm_
demo_ doc