Min Ji Kim Kim – Project 05 – Wallpaper

sketch

/*
Min Ji Kim Kim
Section A
mkimkim@andrew.cmu.edu
Project-05
*/

function setup() {
    createCanvas(500,500);
    background(255);

    //navy diamonds
    fill('#002548');
    for (var y = 0; y < height; y += 70) {
        for (var x = 0; x < width; x += 70) {
            quad(x + 45, y + 15, x + 65, y + 45, x + 45, y + 75, x + 25, y + 45);
        }
    }

    //inside blue diamond with white outline   
    stroke(255);
    strokeWeight(3);
    fill('#5A7189');
    for (var y = 0; y < height; y += 70) {
        for (var x = 0; x < width; x += 70) {
            quad(x + 45, y + 30, x + 55, y + 45, x + 45, y + 60, x + 35, y + 45);
        }
    }

    //blue circles
    noStroke()
    fill('#5A7189')
    for (var y = 0; y < height; y += 70) {
        for (var x = 0; x < width; x += 70) {
            var db = 25; //big circle diameter
            circle(x + 10, y + 10, db);
        }
    }

    //small magenta dots
    noStroke()
    fill('#6C4971')
    for (var y = 0; y < height; y += 70) {
        for (var x = 0; x < width; x += 70) {
            var ds = 10; //small circle diameter
            circle(x + 10, y + 45, ds);
        }
    }
    noLoop();
}

I need a new shower curtain, so for this week, I chose to design something that I would be willing to buy.  The circle and diamonds reminded me of water droplets and I kept a general blue color palette to go with the water theme.

Leave a Reply