The workbench
Think by making.
Small experiments that run in your browser. Pick one. It opens here, on the bench.
Bench 01 / Beneath the interface
How software runs.
Scheduling, compiled code, and search, one small view at a time.
Bench 02 / Many hands
Building together.
People and AI change one piece of work. Watch the work stay whole.
Bench 03 / Things in motion
A ball and an arm.
A cricket delivery and a robot arm. Each one moves by a small rule.
Line and length
Choose the speed, length, line, and movement of one delivery. Follow the ball to the stumps, then ask the model for a review.
A simplified modelA good prediction shows its doubt. When the doubt touches the stumps, the person on the field decides.
From the side
From above
At the stumps
The ball pitches 6.0 m from the stumps. It reaches them after 0.57 s, 59 cm high and 8 cm to the off side. Hits the stumps.
while (x < 20.12) { v = √(vx² + vy² + vz²) ax = −k·v·vx // drag ay = −k·v·vy + (pitched ? 0 : swing) // swing in the air az = −g − k·v·vz // gravity and drag vx += ax·dt; vy += ay·dt; vz += az·dt x += vx·dt; y += vy·dt; z += vz·dt if (z ≤ r && vz < 0 && !pitched) { // the bounce z = r vz = −0.5·vz vx = 0.85·vx vy += movement pitched = true }}
dt is 0.0005 s, so the loop runs 20 times between two frames. k is the drag: 1.2 × 0.45 × πr² ÷ (2 × 0.16 kg).
- What this shows
- A simulation is a loop. Each step moves the ball, applies gravity and drag, and checks for the bounce. A good prediction also shows its doubt.
- Honest note
- A teaching model with simple physics and made-up constants. It is not ball tracking, and it does not apply the laws of cricket.
Field notes
The experiments run locally in your browser.
Small enough to inspect.