8 fpsx[0]–x[1]–x[2]–x[3]–x[4]–x[5]–x[6]–x[7]–1import numpy as np2n = np.arange(8)3a = np.sin(2*np.pi*7*n/8)4b = np.sin(-2*np.pi*n/8)5np.allclose(a, b) # True
00.250.50.751-101t (s)height xx(t) AND THE FRAMEStrue f = 1 Hztrue f = 7 Hztrue f = 8 Hz7 Hz and alias −1 Hz0481216-404true f (turns/s)seen f (turns/s)SEEN vs TRUE FREQUENCY+fs/2−fs/2↑ forward↓ backward
Coloured parts: what the current step is about; everything else rests in whiteBlocks: the wheel, the camera, memory cells, the replay screen and a Python code cardPlots: the spot height x(t) with the frames as dots, and seen against true frequencyThe wheel turns 12 times slower than real; frames fly to memory; the screen glides by the shortest turnA wheel turning f times a second is filmed at 8 frames a second. At 7 turns a second the frames are the same as for −1 turn a second, so the wheel seems to turn backward. The wheel has one spoke and one spot on purpose. A wheel with several identical spokes can alias in other ways too, because the camera cannot tell one spoke from the next.

A wheel and a camera

  1. A wheel turns once a second: 1 turn per second is a frequency of 1 hertz (Hz). Watch one red spot. Its height above the axle rises and falls as a sine wave, x(t) = sin(2π·f·t). That is our signal.

Too fast for the camera

The folding rule

In code and in practice

The working

# step 1/10 · wheel

wheel      f = 1 turn per second = 1 Hz
signal     x(t) = sin(2π·f·t)
           height of the red spot above the axle,
           in wheel radii (−1 .. +1)

t = 0      spot at "3 o'clock", height 0
t = 0.25 s spot at the top, height 1

motion in the figure: 12 times slower than real

The frame rate of 8 frames a second and the speeds of 1, 7 and 8 turns a second are chosen so the numbers stay small; the same rule holds for any rate (Oppenheim & Willsky, ch. 7). Every curve and value in the figure is computed from this model. The wheel turns 12 times slower than the speeds in the text, so you can follow it. The screen glides each new frame by the shortest turn, which is how the eye links the frames of a film.