isuttell / sine-waves

Generate multiple configurable sine waves
Other
415 stars 67 forks source link

Dynamically adding waves #2

Open gielcobben opened 9 years ago

gielcobben commented 9 years ago

Hello,

Is it possible to dynamically add waves? For example: when you click on a button there will be another wave added or drawn on the canvas. If it is possible how should I do something like that? Is there a function that I can call or extend the waves: [{}] option?

Thanks.