xxxxxxxxxx
42
//Inspired by Tim Holmans Generative Art Speedrun
//https://www.youtube.com/watch?v=4Se0_w0ISYk
//TOOLKIT PROJECT GENERATOR, TAKES ONE TECHNIQUE OF CODING, COMBINED WITH AN ELEMENT & AFFECTED BY A PROCESS
function setup() {
createCanvas(400, 400);
}
function mousePressed() {
redraw(1);
}
function draw() {
background(255);
fill(0);
textSize(30);
text("Toolkit Project Generator", 40, 100);
textSize(15);
text("Create a project that uses", 50, 200);
text("that contains", 50, 250);
text("thats effected by", 50, 300);
fill(255,0,0);
textSize(15);
text("(CLICK FOR NEW PROJECT)", 90, 125);
var Techniques = ["Variables", "Functions", "Loops", "Arrays", "Conditionals"];
text(random(Techniques),300,200);
var Elements = ["Lines", "Curves", "Shapes", "Colours"];
text(random(Elements),300,250);
var Effects = ["Tiling", "Displacement", "Repetition", "Recursion", "Algoriths"];
text(random(Effects),300,300);
noLoop();
}