Press 'space' to test new variations, and 's' to save screenshot.
xxxxxxxxxx
// This template can be used to create sketches for FXHASH.
// Create your sketch as usual. When ready, download your sketch zip file from top right, and upload to FXHASH.
function setup() {
createCanvas(windowWidth, windowHeight);
pixelDensity(2);
}
function reset(){
background(255);
}
function draw() {
circle(fxrand()*width, fxrand()*height, fxrand()*100);
}
function keyPressed() {
if (key.toLowerCase() === "s") save(); //to save screenshot
if (key === " ") reset(); //to generate variations
}