Pomax / custom-graphics-element

Because what if you could just... write graphics sketches? On the web? Like, directly?
MIT License
17 stars 1 forks source link

update addSlider to take an optional handler #94

Open Pomax opened 6 months ago

Pomax commented 6 months ago

Nicer to have addSlider(name, [opts], [handler]) so that transform can keep being a pure transformer, but users have a way to get code to trigger prior to draw()