Harmonograph Simulator

Post tags: | art | harmonograph | mathml | resonance_art |

Based on walkingrandomly article

Simulating Harmonographs

x t = - 1 t sin t f 1 + p 1 + - 2 t sin t f 2 + p 2 y t = - 3 t sin t f 3 + p 3 + - 4 t sin t f 4 + p 4

Amplitude Decay

e - d 1 t = 1 e d 1 t

wikipedia Damping

Underdamped - The system oscillates (at reduced frequency compared to the undamped case) with the amplitude gradually decreasing to zero.

Exponential damping

        f = exp(-(0.0001) * x)
        f.plot(x,1,40000)
        

sine plot

        f = 10 * sin(0.01 * x)
        f.plot(x,1,10000)
        

Damped sine plot

        f = 10 * exp(-(0.0001) * x) * sin(0.01 * x)
        f.plot(x,1,10000)