An independent, from-scratch reimplementation of basketball shooting, built at the dimensions of the FIBA Official Basketball Rules and their Basketball Equipment appendix. It is not affiliated with, endorsed by or connected to FIBA, the NBA, the NCAA or any of their member bodies. No code, art or data from any other basketball game is used.
Basketball was invented by James Naismith at the International YMCA Training School in Springfield, Massachusetts, in December 1891, with a peach basket and thirteen rules. FIBA was founded in 1932; the NBA in 1946. The rules quoted here are the current editions.
FIBA Art. 1.2.1 gives the ring an inside diameter of 450 mm and its metal a diameter of 16 to 20 mm: it is a steel tube bent into a circle. This app models it as a torus — centreline radius 234 mm, tube radius 9 mm — so a ball can strike its near inside edge, its far inside edge, its crown or the back iron, and be deflected accordingly. A shot that catches the back iron and drops is the archetypal basketball event and here it falls out of the geometry rather than being scripted.
Art. 1.2.4 fixes the ring’s top edge at 3.050 m, not its centre, so the plane of the tube’s centreline sits at 3.041 m. Art. 1.2.5 puts the nearest inside point 151 mm from the board face — 151, not the 150 that circulates — so the ring’s centre is 376 mm out. Art. 2.5.4 then states, independently, that the point below the ring’s centre is 1.575 m inside the endline; the equipment chain gives 1.576 m. The two agree to a millimetre.
FIBA publishes no coefficient of restitution. It publishes a drop test, and a drop test pins one. Art. 2.4: dropped from 1,800 mm measured to the underside, the ball rebounds to 1,035 to 1,085 mm, also to the underside. Both ends to the same surface, so the ball’s radius cancels and e = √(h/H) = 0.758 to 0.776. This app ships the band’s midpoint, 0.767, and its harness drops that ball 1.800 m and checks it comes back to 1,060 mm.
The NCAA writes the same test the other way — from 6 ft to the bottom, rebounding 49 to 54 in to the top — and there a whole ball diameter has to come out, giving 0.740 to 0.787. FIBA’s band sits inside the NCAA’s: two governing bodies, two conventions, two drop heights, one answer. Read the NCAA numbers naively and you get 0.825 to 0.866 — 11% high in restitution, 23% high in energy. (The 6 ft / 49–54 in test is often attributed to the NBA. The NBA rulebook has no drop test at all — only a 7½ to 8½ psi pressure clause.)
Tran and Silverberg (Journal of Sports Sciences 26(11):1147–1155, 2008) optimised the free throw over hundreds of thousands of simulated trajectories and reported a 52° launch, up to 3 Hz of backspin and an aim at the back of the ring, from a 2.134 m release. This app searched its own engine’s parameter space, independently, and found:
| Tran & Silverberg | This engine | |
|---|---|---|
| Launch angle | 52° | 52° |
| Release speed | ~7.2 m/s | 7.27 m/s |
| Aim beyond the ring centre | ≥5.3 cm | 4 cm |
| Backspin | up to 3 Hz | knee at 3 Hz |
The angle agrees exactly and the speed to 1%. The backspin is where the accounts part. Silverberg says “about 3 hertz is the best amount; more than that does not help”. Sweeping backspin from 0 to 9 Hz in quarter-hertz steps, 8,000 shots at each, this engine finds a sharp knee at exactly 3 Hz — the make probability climbs 74.8% to 82.7% from 0 to 3 Hz, and the slope then falls by a factor of thirty-one — followed by a long shallow tail worth a further 4.1 points out to 8 Hz. So his mechanism and his number are right, and his plateau is very nearly right; Okubo and Hubbard’s finding that “shots with larger backspin result in larger capture percentages” is right too, in the tail. Switching the Magnus force off entirely leaves most of the gain intact, which locates it: backspin works at the rim, not in the air.
Not affiliated with, endorsed by or connected to FIBA, the NBA, the NCAA or any member federation. CREDITS.txt lists every source by article and every calibrated and reconstructed figure; llms.txt carries the machine notes.