Skip to main content

Installation

Prerequisites

Linux Users: ManimVTK depends on ManimPango, which requires system dependencies on Linux. Install them first before proceeding.
bash sudo dnf install pango-devel pkg-config python3-devel

Install ManimVTK

Verify Installation: Run manimvtk --version to confirm installation

Your First Animation

Let’s create a simple animation to verify everything is working.

Step 1: Create a Scene File

Create a new file called example.py:

Step 2: Render the Animation

Render your scene with the default Cairo renderer:
Command breakdown:
  • -p: Preview the video after rendering
  • -q: Quality (l=low, m=medium, h=high)
  • -l: Low quality for faster rendering
The rendered video will be saved in media/videos/example/480p15/CircleExample.mp4

Step 3: Add VTK Export

Now let’s export the scene to VTK format:
This creates:
  • media/videos/example/480p15/CircleExample.mp4 - Video file
  • media/vtk/CircleExample/CircleExample_final.vtp - VTK file
Success! You’ve created your first ManimVTK animation with VTK export

Using the VTK Renderer

Switch to the VTK renderer for high-quality 3D rendering:
Render with the VTK renderer:

Time Series Export for ParaView

Export frame-by-frame VTK files for animation scrubbing in ParaView:
Render with time series export:
Output structure:
Open the .pvd file in ParaView to scrub through the animation using the time slider

Common CLI Options

OptionDescription
-pPreview video after rendering
-q{l,m,h}Quality: low, medium, or high
-sSave last frame as PNG
-aRender all scenes in file
--renderer {cairo,opengl,vtk}Choose renderer
--vtk-exportExport final scene to VTK
--vtk-time-seriesExport all frames as VTK time series

See all CLI options

Complete reference of command-line options

Next Steps

VTK Features

Learn about VTK rendering and export

Core Concepts

Understand scenes, mobjects, and animations

Examples Gallery

Explore example animations

API Reference

Browse the complete API

Getting Help

Report issues on our GitHub repository
Check the Manim Community resources and Discord