XML Feeds

.

[javascript-dev] jsui mysketch

Joshua Kit Clayton jkc at musork.com
Sat Dec 22 13:27:15 MST 2007


On Dec 22, 2007, at 10:29 AM, klaus filip wrote:

> thanks joshua,
> so this means i have to clear the entire main sketch on every move  
> of one of my sliders.

No, you can just draw on to the sub-region desired (if you need the  
background cleared for the sprite, you can draw a colored rectangle  
rather than use an entire glclear call). Make sense?

> maybe a good approach then would be to "record" all other sliders  
> into one sketch instance,
> and redraw the moving slider together with a copypixels of that  
> sketch instance.

You can use the main sketch as this group buffer if you like as the  
above might suggest.

If you have a clear example where you are having issues with the  
suggested approach, we could point out any remaining issues.

-Joshua


More information about the javascript-dev mailing list