Visualize the impact of rotation period and frames per second on movement perception.
wheel_example.mp4
The optical illusion of a wheel rotating differently from its true state is known as the wagon-wheel effect.
$ gcc -o wheel wheel.c -lraylib -lm
Key | Action |
---|---|
W or mouse wheel up |
increase FPS |
S or mouse wheel down |
decrease FPS |
D or mouse right click |
increase rotations per second |
A or mouse left click |
decrease rotations per second |
Q |
increase spokes |
E |
decrease spokes |