Learn creative coding writing simple programs

83. Circular gradients can look like spheres

There are many ways to do gradients. In episode 82 we created a linear gradient. In this one we create a circular gradient. The idea is simple: draw a shape multiple times while slightly changing the color and some other property, for example the position or the size. For the linear gradient we keep changing the position of the lines we draw. For the circular gradient we keep changing the size of the circles we draw.

Tags: circular, gradient

Code editor

You can make changes to the code below. Then
Below you can ask and answer questions related to this video. If your question is unrelated to the video, please post it at the Processing Forum as I'm unable to help with all of your programs and still have enough free time to eat and sleep :)
comments powered by Disqus