__CFBD_BaseAnimation¶
Module: Animation Framework
#include <animation.h>
Public Attributes¶
| Name | |
|---|---|
| uint8_t | anim_frames Number of animation frames. |
| uint32_t | anim_frame_delay_ms Delay in milliseconds per frame. |
Public Attributes Documentation¶
variable anim_frames¶
Number of animation frames.
Total number of frames that comprise the complete animation cycle. Typical values: 4-16 frames for smooth animation perception (minimum 4 frames for noticeable animation, 8+ for smooth transitions).
variable anim_frame_delay_ms¶
Delay in milliseconds per frame.
Time interval between animation frames. Values:
- 0: No delay (maximum speed, frame timing external)
- 16-33: ~30-60 FPS (typical interactive UI)
- 50+: Slower, cinematic transitions
Total animation duration = anim_frames * anim_frame_delay_ms
Updated on 2026-02-03 at 13:21:55 +0000