Manim Video
Created from the open-source ECC skill. Credit goes to the ECC authors.
Use Manim to explain hard ideas with clear shapes, text, charts, and motion.
Tools
Use:
manimto build and render scenesffmpegfor cuts, audio, format changes, or file size changesvideo-editingfor the final edit or polishremotion-video-creationwhen the final video needs UI, captions, or more motion layers
Check that each needed tool exists before work starts. If a tool is missing, say what is missing and give the install step. Do not call the web or any outside service.
Default Files
Make:
- One short 16:9 MP4
- One clean poster frame
- One storyboard
- One scene plan
- The Manim source file
Use another size only when the user asks for it.
Workflow
- Write one sentence that states the main visual point.
- Split the idea into 3 to 6 scenes.
- State what each scene must prove.
- Write the scene plan before writing code.
- Set the frame size, colors, fonts, and safe margins.
- Build the smallest version that can explain the idea.
- Run a low-quality test render.
- Fix errors, text cuts, overlaps, and bad timing.
- Check the full video with sound off.
- Render at high quality only after the layout and timing are stable.
- Export a clear poster frame.
- Use other video tools only when they add clear value.
Scene Rules
- Make each scene prove one point.
- Show no more than the viewer can read at one time.
- Reveal parts in steps.
- Use motion to show cause, flow, or change.
- Keep title cards short.
- Keep key text inside safe margins.
- Use large text that stays clear on a phone.
- Keep colors easy to tell apart.
- Do not use color as the only way to show meaning.
- Keep the same colors and shapes for the same ideas.
- Leave enough time to read each label.
- Remove motion that does not teach anything.
Edge Cases
- If the user gives no length, aim for 20 to 45 seconds.
- If the user gives no frame shape, use 16:9.
- For a vertical video, use 9:16 and move key text away from app buttons and captions.
- If the script is too long, shorten the text or add scenes. Do not shrink text until it is hard to read.
- If a chart is too busy, show fewer data points or split it into more scenes.
- If data is missing, use clear sample data and label it as sample data.
- If a font lacks needed letters, use a font that supports those letters.
- If an asset is missing, use a simple shape or text block and note the swap.
- If Manim fails, read the first useful error, fix it, and run the low-quality render again.
- If audio is given, match key moves to the audio. Do not change the audio unless asked.
- If no audio is given, make the video clear without sound.
- If the final file is too large, lower the bit rate with
ffmpegafter the high-quality render. - Do not replace user files. Write new files with clear names.
Network Graph Rules
For social graphs and network tuning:
- Show the current graph first.
- Mark weak or noisy links in a calm, low-focus style.
- Mark strong bridge links in a clear, high-focus style.
- Show warm-path nodes and the goal group.
- Move from the current graph to the better graph in clear steps.
- Add a final scene about how the skill improves itself only when that idea is part of the story.
Start with assets/network_graph_scene.py.
Run a test render:
manim -ql assets/network_graph_scene.py NetworkGraphExplainerUse -qh only after the test render looks right:
manim -qh assets/network_graph_scene.py NetworkGraphExplainerConcrete Example
User request:
Make a 30-second video that shows how a cache makes an app faster.
Plan:
- Show a user asking the app for data.
- Show the slow trip from the app to the main data store.
- Add a cache between the app and the data store.
- Show the first request filling the cache.
- Show the next request taking the short path.
- End with a simple time check, such as
800 msbefore and80 msafter.
Core visual point:
A cache saves a nearby copy, so later requests take a shorter path.
Test render:
manim -ql cache_scene.py CacheExplainerFinal render:
manim -qh cache_scene.py CacheExplainerFinal Response
Return:
- The core visual point
- The storyboard
- The scene plan
- The render plan
- The source file path
- The MP4 path
- The poster frame path
- Any useful final polish steps
Related Skills
- Use
video-editingfor the final cut and polish. - Use
remotion-video-creationfor UI, captions, or extra motion layers. - Use
content-enginewhen the video is one part of a larger launch.