ALLOWED · n = 2
Standing wave closes on itself — this is Bohr's quantization.
Drag the slider to any integer (1, 2, 3 …): the wave closes and glows green. Drag to a fraction (1.5, 2.7 …): the wave's ends don't meet, destructive interference cancels it, orbit forbidden.