Gradient

The basis is to achieve something like this using open processing.

Here are the steps to help you create this interesting effect using mouse interaction:

Step 1: Identify the void setup and the desired size for your sketch. Don't forget to add in the curly brackets in your code. Step 2: Now identify the void draw. This will determine your background and your integer(whole number) We set the background to 0, which means that the stripes of gradient will get repeated and layered rather than a smooth gradient. Step 3: Now for the body, we must indicate the following on your sketch: In the end, press "RUN" to see if you have achieved the desired effect. See, it's not that complicated!