> 1) access the htmlcanvas by sending Pd messages to the inlet. This seemed really limiting, especially when you consider how deeply web programmers leverage javascript and javascript frameworks when doing html5 canvas drawing/animation. If you do similar such work in Pd to retain/manage state and render then you're getting in the way of audio computation. If you leverage a higher-level framework to do it on the GUI side then you're tied to it as a harddependency for all time.
> Instead I just extended data structure drawings with the [draw] object to leverage the SVG spec and do declarative vector drawing. If you look at"Pd-L2Ork Data Structures" in the help browser you can see some examples.
>> this one could be edited through “devtools”? Perhaps?
>Yes, that's certainly possible.
Salutti,
Lucarda