Skip to content

About

Worked examples for Codimate: explainer videos made from Python

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Codimate examples

Short animations that explain algorithms, mathematics, and physics with Python. Codimate · Docs

See what Codimate can do

Bubble sort

Bubble sort: bars travel as their values swap

Watch each value travel with its bar. Code · Notes

Galton board

Galton board: balls fall through pegs into a bell-shaped distribution

Simulate hundreds of balls and see their landings form a bell curve. Code · Notes

Orbits

Earth and Moon orbit as the camera pulls back to reveal the Sun

Follow the Earth and Moon, then pull back to see the Sun. Code · Notes

Run an example

git clone https://github.com/darhnoel/codimate-examples
cd codimate-examples
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
# Install FFmpeg separately; formula examples also need Typst.
.venv/bin/python computing/bubble_sort/main.py

The video is written to results/bubble_sort.mp4.

Browse computing, mathematics, physics, and showcase.

About

Worked examples for Codimate: explainer videos made from Python

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages