//Isabelle Vincent
//Section E
//ifv@andrew.cmu.edu
//ifv-05-Project
function setup() {
createCanvas(480, 480);
background(140, 184, 135);
}
function draw() {
//curves
for (var countz = width/50; countz < width; countz += width/5){
for (var x = 0; x < width; x = x + 1) {
stroke(163, 214, 157);
fill(163, 214, 157);
strokeWeight(2);
point((60 - 50 * 0.5*sin(radians(2*x)))+countz,x);
point( (60 - 50 * 0.5*cos(radians(2*x)))+countz,x);
}
}
//line of dots
for(var dotx = 0; dotx < width+10; dotx += 10){
for(var doty = 0; doty < (4*height)/3; doty += height/3){
if((dotx/10)%2==0){
stroke(90, 143, 85);
fill(90, 143, 85);
strokeWeight(4);
} else{
stroke(163, 214, 157);
fill(163, 214, 157);
strokeWeight(2);
}
point(dotx,doty);
point(dotx,doty+height/6);
}
}
//Flowers
for(var fly =0; fly <height; fly += height/3){
for(var elc =0; elc< width; elc +=width/7){
var ely = fly+height/10;
var space = width/14;
fill(255, 186, 171);
noStroke();
triangle((elc-5),ely,(elc),ely-20,(elc+5),ely)
stroke(83, 131, 78);
strokeWeight(3);
noFill();
triangle((elc-10),ely-8,(elc),ely,(elc-5),ely);
triangle((elc+10),ely-8,(elc),ely,(elc+5),ely);
elc += space
}
}
noLoop();
}
This was my initial sketch for the wall paper design, it was inspired by the wallpapers in the database that was linked. I decided to add a more organically shaped space divider with cos and sin loops. I kept the idea to include a representation of a plant just changed what the plant looked like.