Skip to contents

A ggplot2-inspired declarative API for building mathematical animations. Uses a layered grammar where you specify: data, aesthetic mappings, geometric representations, animation transitions, and timing.

Details

The grammar follows ggplot2 conventions but extends them for animation:

manim_plot(data) +
  anim_point(aes(x, y, color = group)) +
  anim_transition(type = "fade") +
  anim_timing(duration = 3, easing = "smooth") +
  anim_camera(zoom = 1.5) +
  anim_theme_dark()