I saw this cool video the other day and am trying to replicate how its done.
It’s pretty straight forward but the thing I’m stuck on is how to get the drawn shapes to be more blurred and have a smooth gradient across them like the reference:
Doe anyone have any ideas of how I blend the circle colors to make them seem more like a gradient?
PImage img;
int value = 0;
int size = 50;
void setup() {
size(640, 800);
frameRate(60);
img = loadImage("blue.jpg");
img.resize(width, height);
background(img);
}
void draw() {
//get the color at the mouse position
color c = img.get(mouseX, mouseY);
//change the fill to that color
fill(c);
noStroke();
//draw a circle with that color when mouse pressed
if(mousePressed) circle(mouseX, mouseY, size);;
}