Day 18 - Dripping Dots
Okay, this is where things start to get reallllly interesting. Well, for me anyway. As mentioned in previous posts, I came across some real beauties as I was trying to work out the code for the idea I had for a sketch on Day 16. I usually hit play and let the canvas update as I tweak the code to see where things are at, it’s a practice I’ll definitely make sure to keep doing after this week. I have no idea how I did it but, at some point in playing around with numbers and equations, my dots melted away into these lovely, organic brushstrokes. I tried colour for this one, but felt it took away from the inky blotchy feel of the piece. I encourage you to click the link and watch the program run, the vertical strokes even behave a bit like ink, expanding as they dry. It’s really quite something!
Sketch:
Drawings:
Code:
x = 10; y = 10; let xoff = 0; function setup() { createCanvas(600, 600); noStroke(); rectMode(RADIUS); background(250); } function draw() { xoff = xoff + .1; let n = noise(xoff) * 5; fill(0); ellipse(x + n, y + n, 100 / y * 2, 10 - y); y = y + (n * 5); if (y > height) { y = 10; x = x + (n * 5); } if (x > width - 10) { noLoop() } }