By · Updated

Wrecking Ball Simulator

Swing a 3D Ball on a Chain Into a Brick Building

No ratings yet

OneTask is free, with no sign-up, and built by one person.
If this tool saved you time, a coffee helps keep new ones coming.

How the Wrecking Ball Simulator works

This wrecking ball simulator swings a ball into a wall. A crane holds a heavy ball on a chain of linked steel beside a hollow brick building. Press Swing and the ball is shoved towards the wall; the chain pulls it into an arc, it slams into the bricks and whatever it hits tumbles. Swing again while the ball is still moving to pump it higher, or click the ball to shove it in the direction you are looking. The stats count swings, how many bricks have been knocked below their starting row, the tallest part of the building still standing and the current speed of the ball. Drag to orbit, scroll to zoom, Save PNG to keep the rubble.

The wrecking ball is the image everyone has of demolition: a steel ball on a crane, swinging into a brick wall. Real ones typically weigh from a few hundred kilograms to more than five tonnes. They were a standard demolition tool for most of the twentieth century and are now mostly replaced by high-reach excavators, which bring buildings down more precisely and throw less debris into the street. The physics is still a good lesson in pendulums, momentum and why unmortared walls fall the way they do, and this simulator lets you knock one down as often as you like.

How the wrecking ball simulator works

The scene runs on the Rapier physics engine. The ball hangs from a chain of ten rigid capsule links joined end to end, so it swings in a real arc and can twist, wrap and recoil rather than sliding along a fixed rod. Each brick is a solid 0.6 m cube with its own weight and friction. The tower is hollow and has no mortar, so it stands up by gravity and friction alone and falls when the ball pushes enough of the lower rows out of place.

Press Swing and the ball gets an impulse towards the building. The impulse is scaled by the ball's mass, so each press adds the same speed whatever the ball weighs, equal to the Swing power setting in metres per second. Press it again on the return and the swings build up, just as pushing a child on a swing at the right moment does.

The settings and what they change

Setting Range Effect
Building width Bricks per side Wider walls spread the load and resist collapse
Building height Rows Taller towers topple more easily from a base strike
Ball weight 2 to 20 Raises both size and density, so mass climbs steeply
Swing power 4 to 16 m/s The speed each Swing press adds

Ball weight has a bigger effect than it looks. The radius grows from 0.6 m to 1.5 m across the range and the density rises too. Mass is density times volume and volume goes with the cube of the radius, so the heaviest ball is roughly 150 times the mass of the lightest.

The physics behind the swing

A pendulum turns height into speed. A ball released from a height h above the bottom of its arc arrives at a speed of √(2gh), whatever its mass. From 3 m that is about 7.7 m/s. What mass changes is what happens at impact. Momentum is mass times velocity, and kinetic energy is ½mv², so a ball twice as heavy at the same speed carries twice the energy into the wall.

That is why a light ball bounces back off the same wall a heavy one ploughs through. When the ball's momentum is small compared with the bricks it hits, most of it goes into recoil. When it is large, the ball barely slows, keeps pushing, and the bricks behind the first layer go too.

Reading the stats

Tips for a clean demolition

More physics toys

Swap the ball for a chain reaction with 3D domino toppling, or take the tower apart one block at a time in 3D Jenga. The 3D physics sandbox lets you drop and stack your own shapes, and Newton's cradle shows momentum passing through a row of balls.

Restart rebuilds the building and re-hangs the ball with the current settings. Everything runs locally in your browser; nothing is uploaded.

FAQ

Why does the ball go over the building instead of into it?

Swing power is the speed given to the ball at the start of each swing. Too much sends it up and over; the chain then snaps taut and drags it back. Lower the power or swing again while the ball is still moving to build up gradually.

How does ball weight affect the hit?

Weight changes both the size and the density of the ball. A heavy ball carries far more momentum and is barely slowed by the bricks it meets; a light ball bounces back off the same wall having moved a few bricks.

Why does a tall narrow building fold from one strike?

The tower is held up by friction and gravity alone, with no glue. Knock enough of the lower rows sideways and the rows above have nothing under them, so a narrow tower collapses entirely where a wide one just loses a few bricks from the facing wall.

How is knocked-down counted?

A brick counts once it has dropped most of a row below where it started. Tallest point is measured from the highest brick left anywhere, so a single brick lodged on the ruins still counts.

See also: all Simulations & Screensavers tools, Images, Audio, Video & Screen, PDF, SVG, Generative Art, Chart Makers, 3D Model Viewers, Drawing Pads, Mockups & 3D Making, Diagram Makers, 3D Science, Tracker Music.

Related tools