Re: New mgraphics JSUI scripts

Forums > Javascript > New mgraphics JSUI scripts
Nov 30 2011 | 5:48 am

The color settings are single-state, so each time you change it you are changing the colors for the next drawing function. Instead, you need to change a color, draw some portion, change a color, draw the next portion. It helps to save()/restore() after each section so you don’t have to undo any transformations that you might have done along the way.

Hope that helps!


Subscribe to the Cycling ’74 Weekly Newsletter

Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.

* indicates required