# JDBROWN – Project 5 – Textile Pattern

For this project, I took inspiration from the color gradient lab that we did on Tuesday. I wanted to experiment with more textured shapes than I had been using previously, and I think this turned out really interesting.

``````// Joshua Brown
// Jdbrown@andrew.cmu.edu
// Section C
// Project 5: Wallpaper

var i = 0;
var fuck = 150;
var shit = 50;
var flash = 10;

function setup () {
createCanvas (600, 480);
stroke (255);
strokeWeight (3);
}

function draw () {

background (255);

for (var y = 50; y < height + 50; y += 100) {
rect (x + 50, y - 25, 50, 50);

for (var x = 50; x < width + 50; x += 100) {
fill (y/2, x/2, 0, x*y);
ellipse(x - 25, y - 10, 25, 150);   // vertical grid
ellipse(x - 25, y - 10, 50, 50);    // big circles at each nexus point
ellipse(x + 25, y + 45, 20, 20);    // little dot in the center of each square
ellipse(x, y, 30, 30);              // lower bump
ellipse(x - 25, y - 10, 30, 30);    // lower bump
ellipse(x - 10, y - 10, 35, 35);    // bee body (big)
ellipse(x - 10, y - 10, 115, 15);   // horizontal grid
ellipse(x - 25, y - 10, 25, 25);    // central circle
}
}

for (var y = 0; y < height+25; y += 50) {       // Draws columns (just Y)
for (var x = 0; x < width+25; x += 50) {    // Draws rows (just X)
fill(150, 200);
ellipse(x + 1000, y, 25, 25);
}
}
for (var  x = 5; x < width + 25; x += 10) {
for (var y = 5; y < height + 25; y += 10) {
fill(255, 120);
ellipse(x, y, 5, 5);
}
}
}``````