Double Pendulum Simulator
Swing Painters is a browser-based double pendulum simulator where 2 to 6 pendulums, each with its own name and colour, paint the canvas with their tips. Start them almost identical, 0.1° apart, watch them split into chaos, and the pendulum that owns the most canvas at the bell wins. Made for creators who want a chaos-theory clip with sides to pick, a live score and a winner card, exported as a vertical MP4 with sound.
- No code
- Runs in your browser
- Double and triple pendulums
- Pick the winner
- 1080×1920 MP4
How to make a Swing Painters video
- 1Open the double pendulum simulator in Studio and choose a preset: Tiny difference, Triple pendulum duel, Six-way mural or Loop count.
- 2Name and colour 2 to 6 pendulums, then set the arms, starting angles, pivots, arm lengths and gravity.
- 3Choose what wins, most canvas painted or most full loops, and set the brush, canvas and loop sound.
- 4Preview as many seeds as you like or pick the winner, set 15 to 90 seconds and export the MP4.
What you can change
Double or triple arms
Switch every pendulum between two and three arms, with equal lengths, a longer tip or a shorter tip. Gravity runs from 0.5× for slow sweeps to 1.5× for fast whips.
Starting angles
Almost identical spaces the pendulums 0.1° apart, Fan spaces them 4° apart, and Random gives every pendulum its own high start.
Canvas rules
Let tips paint over rivals or keep the first coat for good. Brush size runs from 12 to 40 px, and the optional final coat makes every brush 1.6× wider for the last fifth of the round.
Look and sound
Kraft paper, Midnight ink or Mint sheet, arms shown or hidden, and a wood knock, chime or pop each time a tip arm completes a full loop.
Swing Painters settings and defaults
| Setting | Options | Default |
|---|---|---|
| Pendulums | 2 to 6, each with a name and colour | 4 |
| What wins | Most canvas painted, most full loops | Most canvas |
| Arms | Double pendulum, triple pendulum | Double pendulum |
| Starting angles | Almost identical (0.1° apart), fan (4° apart), random | Almost identical |
| Pivots | One shared pivot, ring of pivots | One shared pivot |
| Arm lengths | Equal, longer tip, shorter tip | Equal |
| Gravity | 0.5× to 1.5× | 1× |
| Brush size | 12 to 40 px | 22 px |
| Paint over rivals | On or off | On |
| Final coat | On or off | On |
| Canvas | Kraft paper, Midnight ink, Mint sheet | Kraft paper |
| Loop sound | Wood knock, chime, pop, silent | Wood knock |
| Pick the winner | Yes (real seeded search) | Random |
| Video length | 15, 30, 60 or 90 s | 30 s |
Video ideas that get comments
- “0.1° apart: which pendulum paints the most?” — four colours move as one, then split
- A triple pendulum simulation duel on Midnight ink with the arms hidden, so only the paint strokes show
- “Which pendulum loops the most?” — three names, one pivot, a chime for every loop
What you get
| Format | MP4 (H.264 + AAC) |
|---|---|
| Size | 1080×1920, 9:16 vertical |
| Frame rate | 60 fps |
| Length | 15, 30, 60 or 90 seconds (ends early when someone wins) |
| Sound | Built-in hit and pop effects, plus your own licensed music if you add it |
| Rendering | In your browser, nothing uploaded |
| Free plan | Unlimited previews; 1 watermarked export per week |
What is a double pendulum simulator?
A double pendulum simulator calculates the motion of one pendulum hanging from the end of another. A single pendulum repeats the same swing. Add a second arm and the two pull on each other: the tip loops, stalls and whips around in a path that never settles into a pattern. That is why a double pendulum is the standard example of a chaotic pendulum.
Chaos here does not mean random. Every swing follows fixed equations, and the same start always gives the same path. What makes it chaotic is sensitivity: move the start by a fraction of a degree and the path soon has nothing in common with the original. A classroom double pendulum simulator usually shows this with two thin lines and a graph.
Swing Painters turns that idea into a contest. Each tip carries a brush, each brush has a colour, and the canvas keeps score. Viewers do not need to know any physics to follow it: they pick a colour, see the pack break apart, and wait for the bell.
How this double pendulum simulator works
Each pendulum is a chain of equal weights on rigid arms with no friction, so the swings never die out. The double pendulum simulation solves the equations of motion with a fourth-order Runge–Kutta method, 300 steps per second for two arms and 600 for three. Unit tests check that energy drifts by less than 5% over a 90 second round.
Pendulums do not collide; only their paint interacts. As a tip moves, it paints every 12 px canvas cell its brush covers. With Paint over rivals on, the latest coat owns the cell, so a leader can lose ground until the last second. With it off, the first coat stays and early reach decides the round. The painting order rotates every frame, so overlapping tips get equal turns.
The bell rings three seconds before your chosen video length. A seed sets the starting angles, and sine and cosine are computed with plain arithmetic instead of browser functions, which keeps the path of a scene link the same from one browser to the next. That matters in a chaotic pendulum simulation, where the smallest rounding difference grows into a different winner.
Start angles and the butterfly effect
Almost identical is the setting for a butterfly effect clip. Four pendulums leave together and look like one for the first few swings. Then one flips a moment early, the colours separate, and the round becomes a race. Use it with One shared pivot so the split happens in the middle of the frame.
Fan spreads the pendulums 4° apart, so the colours open like a hand and diverge sooner. Random skips the synchronised opening and gives each pendulum a different start. With Ring of pivots, every pendulum gets its own anchor and its own patch of canvas, and the fight happens where the patches overlap.
Two weights on two arms already produce chaos; a third arm adds sharper whips. Choose Triple pendulum to turn the page into a triple pendulum simulator, or keep two arms when you want viewers to follow each tip. For swings that stay in sync and line up again, use the pendulum wave simulator.
Choosing a double pendulum simulator for video
A physics lab page fits a lesson: you drag the weights, change masses and read graphs. A trail renderer fits a pure visual with dozens of lines. Swing Painters fits a clip that needs a question and an answer: named sides, a score bar, a countdown, a final coat and a winner card, in a 9:16 frame with sound on every loop.
Keep to two to four pendulums in a 15 or 30 second video so each colour stays readable on a phone. Use six on the ring for 60 seconds. Put the tiny start difference in the hook, because the first second looks like a single pendulum and the hook tells viewers what to wait for.
For a double pendulum animation that looks like pendulum art, hide the arms, choose Kraft paper and raise the brush size: the strokes build up like pendulum painting. For another contest over territory, try the algorithm visualizer or Flag Territory War.
Swing Painters FAQ
- Is this double pendulum simulator free to use online?
- Yes. You can change every setting and preview unlimited rounds without an account, and export one 480p video a week with a small SimReel badge after signing in. A monthly plan, lifetime pass or export pack gives watermark-free 1080×1920 60 fps MP4 files.
- Why is a double pendulum chaotic?
- Because each arm keeps pushing the other, a tiny change in the starting angle grows with every swing. Two double pendulums released 0.1° apart move together at first, then follow completely different paths, even though both obey the same equations.
- Can I simulate a triple pendulum?
- Yes. Set Arms to Triple pendulum and every pendulum in the double pendulum simulator gets a third arm. All canvas rules, starting angles and layouts work the same way with two or three arms.
- Can I pick which pendulum wins?
- Yes. Choose a pendulum and SimReel tries seeds until it finds a round that pendulum wins. The physics is not changed; only the starting angles differ.
- Can the double pendulum simulator export a video?
- Yes. The double pendulum simulation exports as a vertical MP4 with sound for TikTok, YouTube Shorts or Instagram Reels, at 15, 30, 60 or 90 seconds. It renders on your device, so there is no screen recording.
- Does it run in the browser without code or an app?
- Yes. The double pendulum simulator runs in your browser with no install and no Python or MATLAB. Music you add stays on your device and is mixed there.
- How many pendulums can I compare at once?
- 2 to 6. Each one has its own name, colour and share of the score bar.
- How do I remove the watermark?
- Buy an export pack (1 video for $1.99, 3 for $4.99, 10 for $12.99), subscribe monthly ($9.99 for 30 videos a month) or buy Lifetime ($39.90 once, unlimited). Each watermark-free export uses one export.