jsui example with multiple sketches?
I am currently looking for a jsui example using multiple sketches. In
which cases is it useful?
Thank you in advance.
Composer of electroacoustic art (acousmatic music, sound
installations, live electronics).
Junior Lecturer for the Royal Conservatory of Music (Mons, Belgium).
On 29 Sep 2008, at 14:29, Roald Baudoux wrote:
> I am currently looking for a jsui example using multiple sketches.
> In which cases is it useful?
I think I used it for the TextBrick thing:
It rotates text by rendering it into a sub-sketch and then rotating
and/or reflecting this in the main sketch.
Nick Rothwell / Cassiel.com Limited
> So, the reason to use multiple sketches was mainly the need to
> position text vertically?
> Would you also use multiple sketches when you need several layers
> (like background and foreground)?
That would depend – but I can imagine the use of multiple sketches as
a way of structuring an application.
> In TextBrick’s code I see this:
> (g.announced === undefined)
> What does the "===" stand for? "Different"?
Java calls "equals" – it’s fortunate that nobody ever thinks that
they’re the same language). I can’t remember why I used the "===
undefined" idiom – I must have seen it somewhere.
nick rothwell — composition, systems, performance — http://