Sorry
I haven't made a screencast. I'm just putting off doing the
"GNU/Linux Dance of Choice" where I try out the 9 unusable screencast
tools before finding the only one that's minimally operable (or not).
When you create the scalar you get a little black box on a canvas.
With a canvas field like I described, you can right-click the scalar and choose "Open" to show a canvas window.
And when you scroll the number box, the little black box will move horizontally.
This is even more powerful when used with all the methods I added to drawing instructions:
[struct foo float x float y float r canvas a b]
[loadbang]
|
[transform rotate r(
|
[draw rect 0 0 20 20]
And put this in the canvas field:
[ \ <- number box
|
[field r]
Now you can rotate the square from inside the canvas field.
Similarly, if you had an image sequence of Mario, you could use [draw sprite], associate the index with a field, and then let Mario animate himself using his canvas field. :)
BTW-- right now, if [field z] can't find a "z" field in its t_word vec, it outputs an error. But if we're in an array, I suppose I could have it also search the parent scalar for such a field. If it did that, it'd be something like a closure in Pd. For example, you could have an array of Marios, all of whom have their own personal data like "x", "y", and "index", but all of whom also _share_ data like "world", "enemies", and "time".
-Jonathan