Make any satisfying simulation video.
simkit is a Python engine for balls, gates, rings, pegs, tiles and swarms. You write the world and its rules; it simulates, paces, draws, scores and renders a finished 1080×1920 short with sound.
- One-time purchase
- Python 3.9+ and ffmpeg
- Windows, macOS, Linux
Made with simkit.
All eight styles, in one gallery. Real simulations with sound and source you can change.
Nation Battle Royale
The flag battle built for a daily series. Add one nation a day.
python -m simkit run nation_battleEscape Rings
Spinning rings, lava, closing gaps and rival collisions in a race to the outside.
python -m simkit run escapeTerritory War
Teams or whole countries repaint the map. Live percentage for every nation.
python -m simkit run territoryWall Breaker
One ball, four multiplier bowls and a purple wall that breaks at real impacts.
python -m simkit run wall_breaker --seed 4 --quality ultraSquare Race
Four colors share one start. Break the barrier, grab the key and bounce off the moving tsunami.
python -m simkit run square_race --seed 1 --quality ultraDense Ring Escape
One tiny glowing ball, 1,500 fine purple layers and a live escape countdown.
python -m simkit run ring_escape --seed 4 --quality ultraFlag Wars
Flag balls cut rival strings inside a circle. The last flag with strings wins.
python -m simkit run flag_strings --seed 3 --quality ultraMultiplying Balls
Green gates multiply the crowd; red gates destroy it. Build toward the goal.
python -m simkit run ball_gates --seed 4The four new reference formats support native 2160×3840 / 60 fps exports with --quality ultra. Showcase renders use reviewed seeds and real collision sounds. Bring your own licensed music.
Everything a video needs.
Real physics, rules you write in plain Python, sound, and pacing that tunes itself.
Physics
Balls with elastic collisions, gravity, drag and constant-speed mode. Rotating rings with moving gaps and hazards, pegs, walls and ramps.
world.add_ball(...)Swarms
Thousands of balls simulated with numpy. Clone them, remove them and push them through moving gates.
world.add_swarm(cap=1000)Zones
Rectangles and circles that move over time and fire your rules the moment something enters.
Zone("gate", box=fn)Tiles
A tile map that bodies paint, with live shares per team and a winner flood at the end.
TileGrid(35, 980, teams=4)Sound
Pops, ticks, risers and a win jingle, synthesised in code from your events. Bring your own music if you like.
sfx.add(t, "pop")Pacing
Bisect any number or search seeds so the payoff lands late and the finish is close. Same seed, same video.
tune.bisect(...)Your video is four small methods.
- Describe the world
- Balls, swarms, gates, rings, pegs and tile maps. Create them in
build(). - Write the rules
- Attach plain Python functions: what happens when a ball enters a gate, hits a rival or touches lava.
- Turn events into sound and pictures
- Emit events and map them to sound in
sound(). Paint each frame indraw().
# python -m simkit new my_video --template swarm class Gates(Scene): arena = (980, 980) def build(self, world): gate = lambda t: (300 + 200*sin(t), 480, 640 + 200*sin(t), 540) world.add_zone(Zone("x2", "rect", box=gate)) self.swarm = world.add_swarm(cap=800, speed=420) for _ in range(3): self.swarm.add(490, 800) world.on_swarm_zone = lambda w, s, z, idx: s.clone(idx, 1) def sound(self, run, sfx): ... def draw(self, f, run, img): ... $ python -m simkit run my_video.py --seed 1 DONE -> out/my_video_1.mp4
In the zip
- The simkit engine. Physics, scenes, auto-pacing, tile maps, drawing toolbox, sound synth and the video writer.
- Eight showcase scenes. Full source for every video shown above, including all four new reference formats.
- Three templates.
simkit new my_videocreates a runnable scene. - Reference docs and a Claude skill so Claude Code can write scenes for you.
You need
- Python
- 3.9 or newer
- Packages
- pillow, numpy
- Video
- ffmpeg on your PATH
- System
- Windows, macOS or Linux
- Output
- H.264 MP4
Questions
What kinds of videos can I make?
Anything built from moving shapes and rules: counters that multiply, races, territory games, marble runs, battle royales, survival hazards, pegboards. Balls, swarms, zones, rings, pegs, walls and tile grids can be combined freely.
Do I need to know how to code?
You need a little Python. A scene is four small methods and the starter templates are about sixty lines you can edit. If you use Claude Code, the included skill lets Claude write and render scenes for you.
How long does a video take to render?
Roughly one to several minutes, depending on your computer and the scene. Scenes that search for a good seed first take a little longer.
Does it post to TikTok or Instagram for me?
No. It renders the MP4 and prints a caption. You upload it yourself, wherever you like.
Can I use my own music?
Yes. --music song.mp3 mixes the sound effects over your track. Without it, the engine adds a soft generated pad.
Does it need the internet?
Only the first time you use a country flag, which is downloaded once from flagcdn.com and cached. Everything else runs offline.
Will every video be the same?
No. A random seed is used each run. Pass --seed 4 to reproduce an exact video.
Can I post the videos I make?
Yes. The videos you render are yours to post. Please label them as simulations and do not present them as real events.























