xxxxxxxxxx
// This is a simple album design for Rick Astley's "Never Gonna Give You Up". The main focus of the design is the microphone in the center since it appears a lot during the music video. I originally thought of adding a low-poly Rick Astley in there, but that wouldn't match the text. The colors I used are variations of the main color of the film. In the music video, the stage is brightly lit pink with a slight hint of blue. I used that as the primary text and background color.
function setup() {
createCanvas(600, 600);
background(230, 220, 255);
c1 = color(250, 230, 255);
c2 = color(220, 220, 255);
}
function draw() {
title = "NEVER GONNA GIVE YOU UP";
author = "RICK ASTLEY";
var thicc = 2;
var rVal = 230;
var bVal = 255;
if(mouseX > 300){
rVal = 255;
bVal = 230;
} else if(mouseX < 300){
rVal = 230;
bVal = 255;
}
if(mouseY > 300){
thicc = 3
} else if(mouseX < 300){
thicc = 1
} else {
thicc = 4
}
textSize(50);
fill(rVal, 200, bVal);
text(title, 20, 20, 300, 350);
textSize(32);
fill(bVal, 200, rVal);
text(author, 370, 550, 300, 350);
//bgMic
stroke(0);
strokeWeight(1);
fill(240, 230, 255);
rect(290, 300, 45, 75);
rect(300, 375, 25, 55);
fill(160, 150, 180);
rect(290, 310, 45, 55);
rect(305, 430, 15, 200);
//fgMic
stroke(255);
strokeWeight(thicc);
noFill();
rect(290, 300, 45, 75);
rect(290, 310, 45, 55);
rect(300, 375, 25, 55);
rect(305, 430, 15, 200);
}