Day 2 - Tornado
This sketch is my first step towards automating the drawing of a tornado - or a worm, depending on your perspective. Tornado worm? Still a pretty manual process but playing a bit with colour and scale, using the cursor position on the canvas to impact those values as the mouse moves.
Code:
function setup() { createCanvas(windowWidth, windowHeight); background(250); } function draw() { fill(mouseY/3, 100, 100); strokeWeight(0.5) ellipse(mouseX, mouseY, mouseX/2, mouseX/2) }