wave equation

Discrete-time simulation of the wave equation using line displacement

Simulation using color and brightness suitable for LED displays

Click in any region to generate waves.

These are examples of a discrete-time simulation of the wave equation. For more information and code examples, see the blog post at ../../../blog/2023/Fun_with_the_wave_equation

Do remember to close this tab, because the unoptimized javascript will eat up your cpu!