void setup ()
size (250, 250);
int space = 25;
float influence = 50;
float minRadius = 10;
float maxRadius = 100;
void draw(float kontur, float _r, float _g, float _b, float _alpha)
fill(_r, _g, _b, _alpha);
for(int x = 15; x < width; x += space)
for(int y = 15; y < height; y += space)
float radius = 1-(min(dist (x,y,mouseX,mouseY),influence)/influence);
radius = lerp (minRadius, maxRadius,radius);
void draw ()
draw(0, 255, 255, 255, 100);
This sketch is running
as Java applet, exported from Processing.
Report for inappropriate content
Your have successfully reported the sketch. Thank you very much for helping to keep OpenProcessing clean and tidy :)
Make a Copyright Infringement claim
To tweak this sketch, first download it.
Make your updates, then upload your tweak!
OpenProcessing is an online community platform devoted to sharing and discussing Processing sketches in a collaborative, open-source environment.
To contact, send an email to:
Follow OpenProcessing on Twitter!
Blog - Feedback forum
Sketches and source code of free membership users are licensed under CC and GNU GPL.
Plus+ member sketches may
include a different license.
Most icons by somerandomdude.
Syntax highlighting and Processing brush under LGPL 3.