vydd/sketch

Enable drawing in event-handling functions

Opened this issue · 0 comments

This would make it possible to, e.g. draw a circle wherever the user clicks. Or to implement a drawing application.

It's possible to workaround this as it stands by saving the input to a slot in the sketch, and then performing the actual drawing in the sketch body, but that's comparatively ugly.

May depend on improvements to copy-pixels t / changes to the rendering pipeline that @Gleefre is working on.