Presets
Playback
Parameters
Camera
Layers
Quality
Model check
The science
What is modelled
A counterweight throwing engine, a classical mechanism studied in mechanics courses: a heavy block on the short end of a pivoted arm falls, the long arm whips round, and a sling on its tip accelerates a stone ball. The ball is released when its velocity points at the chosen release angle, and then flies as a projectile. The model is a planar rigid-body system with two degrees of freedom (arm angle and sling angle). Nothing here is a design guide: the targets are a yellow ring and distance posts on a meadow.
Equations
- Kinetic energy:
T = ½ I θ′² + ½ m [ Ls² φ′² + 2 L1 Ls θ′ φ′ cos(φ − θ) ]withI = Iarm + M L2² + m L1²andIarm = ma(L1³ + L2³)/(3(L1 + L2)). - Potential energy:
V = g[(m L1 − M L2 + ma(L1 − L2)/2) sinθ + m Ls sinφ]. - Euler-Lagrange equations (solved as a 2 x 2 system and integrated with fourth-order Runge-Kutta):
Iθ″ + k cosΔ φ″ = k sinΔ φ′² − g G cosθandm Ls² φ″ + k cosΔ θ″ = −k sinΔ θ′² − m g Ls cosφ, withk = m L1 Ls,Δ = φ − θ. - Flight:
a = −gŷ − (½ ρ Cd A / m) |v| v; in a vacuum the range isx0 + vx(vy + √(vy² + 2 g h))/g. - Efficiency: kinetic energy of the ball divided by the potential energy the counterweight system has given up by the release moment.
Checks run in the page
- Total energy (kinetic + potential) stays constant during the swing, integrated at 0.5 ms.
- The numerically integrated vacuum flight is compared with the closed-form range from the release state.
- With the arm clamped, the sling must behave as a simple pendulum with period 2π√(L/g).
Honest simplifications
The counterweight is rigidly fixed to the short arm (real machines usually hang it on a hinge, which raises the efficiency); the sling is massless and inextensible; the axle is frictionless; the ground does not push on the ball while it is dragged at the start, so for very short slings the ball can briefly pass through the ground line before it is whipped up. Air drag is a constant-coefficient quadratic law with no wind and no spin. The release is an idealised pin that opens when the velocity direction reaches the chosen angle. The 3D scene is a visual setting for the 2D physics.
What to try
- Sweep the release angle: the range graph shows the best angle, which is lower than 45 degrees because the ball is released well above the ground and the sling gives it a different launch geometry.
- Shorten the sling to about 2 m and watch the efficiency collapse: the ball is not whipped as the arm swings.
- Triple the counterweight mass and compare how the range grows (less than proportionally).
- Switch to the Moon preset: the swing is slower and the ball flies longer, but in a vacuum the range barely changes, because every acceleration in the problem scales with g; only air drag breaks that symmetry.
- Place the target at 150 m and tune the counterweight until the ball lands in the ring.