test processing

float distance;

void setup() {
size(600,600);
stroke(#FF0342);
fill(#000000);
distance = dist(100, 100, width, height);
}

void draw()
{
background(#FF0342);

for(int i = 0; i <= width; i += 15) {
for(int j = 0; j <= height; j += 15) {
float size = dist(mouseX, mouseY, i, j);
size = size/distance * 50;
ellipse(i, j, size, size);
}
}
}