sorry for the late reply, I saw it earlier but I was not sure what you were trying to achieve ...
techbot I want to develop a gui framework for SALT (away from the studio) using vanilla PD and p5.js.
should this run on Bela (e.g.: a Bela outside Salt), or on the host computer?
techbot 1)
Any idea what the limitations might be? Is there anything bespoke about p5.js, or any configuration in vanilla pd that might prevent this, eg specific issue re connecting the two?
If we are talking about running both Pd and the P5.js GUI on your computer, you will have to figure out how to connect the two. That could be more complicated than you'd want it to be and you may need a third element in the puzzle, i.e.: a piece of software that acts as a server for the browser GUI and receives udp/tcp messages from Pd and relays them ti the webpage over a web socket. You could reuse part of what is in Bela/IDE/public/gui/
for the frontend, but you'll additionally need to have a Pd to websocket bridge.
techbot My aim it to build horizontal/vertical sliders, the select boxes and number inputs identical to the actual pd gui e or has this already been done?
not by us. If you are looking at how to render Pd-like sliders in HTML/js, see how they are implemented in Purr-data.
techbot 3)
I wanted to build a sequencer abstraction that could be instantiated with a different background using $0cc in the canvas receive box. It didn't work. so I had to make a copy of the code and just set the canvas background in both instances.
DO you mean a "different background color"? The help for [cnv]
shows how to change colors:
is that what you are looking for?
I guess I'd like to understand better what is your goal because I am not sure I understand what the purpose of all this is.