For this project, I was inspired by abstract lines. I wanted to create colorful wallpaper against a dark blue background, as I was intrigued by rooms with dark-colored walls with lighter designs on top after going to multiple home furniture design showrooms during the summer. I wanted to light up the room by using lighter colors like white, light yellow, and lavender. I have always liked abstract wallpapers using only symmetrical lines combining to create something more “chaotic” to pair with simple furniture.
//Sarah Choi
//Section D
//sychoi@andrew.cmu.edu
//Project-05
function setup() {
createCanvas(600, 400);
noStroke();
}
function draw() {
background(0, 0, 153);
for (var y = 0; y < height+25; y += 50) {
for (var x = 0; x < width+25; x += 50) {
noStroke();
fill(255);
rect(x + 33, y, 10, 400)
}
}
for (var i = 0; i < 400; i += 4) {
stroke(252, 255, 122);
strokeWeight(5);
line(i, i * 20 - 30, 600, i + 400);
}
for (var a = 0; a < 400; a += 7) {
stroke(204, 153, 255);
strokeWeight(7);
line(a, a * 10 + 350, 700, a - 100);
}
for (var b = 0; b < 600; b += 50) {
stroke(255);
strokeWeight(7);
line(b, 0, b, 400);
}
}