Animation
The Animation toolbox makes flipbooks: a list of images played in order at a set number of frames per second. Make Flipbook builds one from an array of images and a frame rate. Make Procedural Flipbook builds one from a Routine that draws each frame. You can read a flipbook's frames and rate back, and Get Image returns one frame.
Use it to collect frames you rendered (a turning planet, a simulation, a chart that changes) into one animation, then write it as a video with Video Processing.
- Included in: Divooka Explore and Divooka Compute, every tier. In Compute, add the Flipbooks reference with Add reference (
Ctrl+Shift+L). The Flipbooks reference holds Animation and Video Processing. - Maturity: Preview · Support: Tier 2 (proposed) · what these mean
- Open it: node library (
Ctrl+Shift+Space) → Animation, or search for a node withCtrl+Space. - Reference: Animation node reference
New to graphs? Start with Your first program.
Example: a turning planet as a video
Open Fantasy Planet Painter > Earth Orbit Video (Ctrl+Shift+E):
- Orbit Frames (in Fantasy Planet Painter) renders the Earth as a globe 60 times, turning it 6 degrees each time.
- Make Flipbook puts the 60 frames in order at 20 frames per second: a three-second turn.
- Save (in Video Processing) writes the flipbook as
Earth Orbit.mp4beside the document.
Run it with F5. Rendering 60 frames takes a minute or so; the Preview then shows the frames, and the video opens in any player.
To use your own frames: collect images into an array with Basic or Data Types nodes and pass it to Make Flipbook.
Tips and limits
- A flipbook is kept in memory. Sixty 1024-pixel frames take about 250 MB as uncompressed color images; lower the frame size for long animations.
- Frame rate is a whole number of frames per second.
What is in the toolbox
| Category | Some of its nodes |
|---|---|
| Flipbook | Make Flipbook, FPS, Frames, Images and 1 more |
| Procedural Flipbook | Make Procedural Flipbook, FPS, Frames, Routine and 1 more |
See also
- Animation node reference
- Video Processing
- Toolboxes - every other toolbox.