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.
Eight ready-made scenes, each a real simulation with sound. The full source for every one is included.
Nation Battle Royale
A flag battle royale built for a daily series. Add one nation each 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, with a live percentage for every nation.
python -m simkit run territoryWall Breaker
One ball, four multiplier bowls and a wall that cracks under real impacts.
python -m simkit run wall_breaker --seed 4Square Race
Four colours race from one start: break the barrier, grab the key and dodge the moving wave.
python -m simkit run square_race --seed 1Dense Ring Escape
One glowing ball, 1,500 thin layers and a live countdown to its escape.
python -m simkit run ring_escape --seed 4Flag Wars
Flag balls cut rival strings inside a circle. The last flag still holding strings wins.
python -m simkit run flag_strings --seed 3Multiplying Balls
Green gates multiply the crowd and red gates destroy it, all the way to the goal.
python -m simkit run ball_gates --seed 4Add --quality ultra to Wall Breaker, Square Race, Dense Ring Escape or Flag Wars for native 4K (2160×3840) at 60 fps. Music is not included; use any track you have the rights to.
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 from your events. Add your own music track if you like.
sfx.add(t, "pop")Pacing
Auto-tune any parameter or search seeds so the payoff lands late and the finish is close. The same seed always gives the same video.
tune.bisect(...)A scene in three steps.
- Describe the world
- Add balls, swarms, gates, rings, pegs and tile maps in
build(). - Write the rules
- Attach plain Python functions: what happens when a ball enters a gate, hits a rival or touches lava.
- Add sound and visuals
- Map events to sound effects in
sound()and 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
Get simkit.
$19One-time purchase
Buy simkitSecure checkout with StripeInstant download after payment
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, four of them with native 4K / 60 fps export.
- Three starter templates.
simkit new my_videocreates a scene that runs straight away. - Reference docs and a Claude Code skill that lets Claude write and render scenes for you.
You need
- Python
- 3.9 or newer
- Packages
- pillow 10+, numpy
- Video
- ffmpeg on your PATH
- System
- Windows, macOS or Linux
- Output
- H.264 MP4, up to 4K / 60 fps
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?
A little Python helps. A scene is a handful of short methods, and each starter template is about sixty lines you can edit. If you use Claude Code, the included skill can write and render scenes for you.
How long does a video take to render?
Usually one to a few 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 suggests a caption; you upload it 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 background pad.
Does it need the internet?
Only the first time you use a country flag: it is downloaded once from flagcdn.com and cached. Everything else runs offline.
Will every video be the same?
No. Each run uses a random seed. Pass a seed such as --seed 4 to reproduce a video exactly.
Can I post the videos I make?
Yes. The videos you render are yours to post. Please label them as simulations and never present them as real events.























