A real-time 3D visualization of wave interference patterns with video recording capability.
| Chladni | Sombrero |
|---|---|
![]() |
![]() |
Four-source interference creating standing wave patterns:
Sources positioned at
Radial wave using the Bessel-based sombrero function:
where
| Parameter | Description |
|---|---|
WAVE |
"ch" (chladni) or "sm" (sombrero) |
RECORD_VIDEO |
Enable frame export |
GRID_SIZE |
Surface resolution |
AMPLITUDE |
Height scaling |
F, V |
Chladni frequency & elasticity |
TILT_ANGLE |
Camera pitch (radians) |
When RECORD_VIDEO = True, frames export to ./recordings/ as PNGs. The script calls create_video.sh on completion to compile the video.
pygame
scipy
pillow

