Reply To: JSUI-MGraphics patch-a-day


Forums > Javascript > JSUI-MGraphics patch-a-day
February 10, 2014 | 8:54 am

You could try something like the attached, which creates gradients for the three colors (R, G, B) and overlays them. Not a perfect match, but better performing than doing pixel manipulation.

One note about gradients; they don’t really seem to deal with relative coordinates at all, so if you are doing gradients, you probably want relative_coords turned off.

Enjoy!

[ddg]

Attachments:
  1. js-fading.zip

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