Disco Ball Light Rays: One Lamp, About 1,950 Mirror Tiles and the Law of Reflection

A real ray trace through a mirror-tiled ball: every tile sends its own copy of the lamp across the room, and the beam turns twice as fast as the ball.

Switch to 2D

Presets

Playback

Parameters

Camera

Layers

Quality

Model check

The science

What is modelled

A mirror ball of radius 0.40 m is covered with about 1,950 flat square mirrors, 28 mm on a side, laid out in latitude rows with a 32 mm pitch (the gaps are grout). Up to three point-like spotlights shine on it from the walls near the ceiling. Every tile that faces a lamp is traced separately: the incoming ray, the reflected ray, the point where it hits the floor, a wall or the ceiling, and the size and brightness of the light spot it leaves there. The ball turns about its vertical axis at the chosen rate.

Equations

  • Law of reflection for a unit incident direction d and tile normal n: r = d − 2 (d·n) n, so the angle of incidence equals the angle of reflection and the three vectors are coplanar.
  • A flat mirror is the same as a lamp image behind the mirror: the reflected beam spreads as if it came from the mirror image of the lamp. A tile of edge a, a lamp path s1 and a wall path s2 therefore gives a spot of edge w = a (s1 + s2) / s1, stretched by 1/cos(θw) along the direction in which the beam meets the surface obliquely.
  • Brightness: power through the tile Φ = ρ I a² cos i / s1² over a spot area w²/cos θw gives E = ρ I cos i cos θw / (s1 + s2)²: an inverse-square law in the total path length.
  • Turning rule: if a mirror turns by δ and the incident beam stays put, the reflected beam turns by 2δ. A spot at distance s2 from the ball on a surface hit at an angle θw therefore travels at v = 2 ω s2 / cos θw (the formula that gives the fastest-spot readout).
  • Tile count: sphere area divided by the pitch squared, 4 π R² / p², matches the number of tiles in the latitude-row layout.

Checks run in the page

  • Vector reflection against the mirror-image construction for every lit tile (the spot positions must coincide).
  • A fixed beam on a flat mirror turned by 1 degree: the reflected beam turns by exactly 2 degrees.
  • Number of tiles against 4 π R² / p².
  • A very distant lamp: the projected area of the lit tiles against π R² (a/p)², the ball's shadow times the fill factor.
  • Spot size from tracing the four corner rays of one tile against the similar-triangles formula.

Honest simplifications

  • Geometrical optics only: the lamps are point sources, diffraction at the 28 mm tiles and the spread of a real lamp's beam are ignored, so edges of the spots are perfectly sharp and the real spots would be softer and larger.
  • The room is an empty box with perfectly diffuse surfaces; light is traced once (lamp - tile - surface). Light that bounces on from the walls, the second reflection from tile to tile and shadows of the motor, chain and axle are not traced.
  • The brightness colours are relative and only compare spots with each other; the glow of the lamps themselves and the haze lines are cosmetic. The haze slider changes how bright the beams are drawn, not any physical scattering law.
  • The mirror is treated as a single constant reflectivity for all angles; a real aluminium or glass mirror loses more light at grazing incidence.
  • Tiles are flat and perfectly aligned to the sphere; a real ball has slightly uneven tiles, which scatter some spots.

What to try

  • Freeze the ball (preset) and count the squares on a wall, then spin it and read the fastest spot speed.
  • Double the rotation rate: the beams turn twice as fast, as the rule 2 omega says.
  • Turn on the third lamp and watch the number of spots grow by about the same count again.
  • Look at the spots near the corners of the room: they stretch and race, because the beam meets the surface at a grazing angle.
Loading model...
Loading Blender model...
Reflected beam against mirror turn (the 2x rule)
Where the light spots land
Spot brightness against total path
Made with 🟠 Blender · Three.js