xxxxxxxxxx
64
// ADD TWO LINES (AND ONLY TWO LINES!)
// FOR GOLAN'S BIRTHDAY CARD
// COMMENT ABOVE IT YOUR BIRTHDAY WISHES
function setup() {
createCanvas(windowWidth, windowHeight);
}
function draw() {
textSize(12);
//background(200);
/* youre okay i guess ;;;;))) happy birthday golan!!! Thanks for everything I could go on forever. Gratefully yours, char*/
stroke(1.5 + 1.5*cos( 6.28318*((millis()/1000)+0.30) ) * 255,0.5 + 0.5*cos( 6.28318*((millis()/1000)+0.20))*255,0.5 + 0.5*cos( 6.28318*((millis()/1000)+0.10) ) *255);
bezier(85* sin(frameCount/100)+ frameCount%width, 20 + frameCount%height, 90 + frameCount%height, 10 + sin(frameCount/100) + frameCount%height, 30 + frameCount%width , 30+ frameCount%width * sin(frameCount/100),85* sin(frameCount/100)+ frameCount%width, 20 + frameCount%height);
/*
Hi Golan, Happy birthday!! I am so thankful that you've given us a place on campus to be weird and relaxed :) Keep being awesome!
- Lukas
*/
for (let i = 0, j = 20; i < j; i++)
rect(i * cos(i *0.01 * frameCount), i * height / j, width * (.5 * cos(frameCount * .01) + 1.), i * .5 * sin(frameCount * .01));
/*Golan you're a life changer. That you liked my last project — ah, I was like – 'ok, I can graduate now.' — with much gratitude and highest of regards, Marisa Lu*/
fill(255,200,190);
ellipse(width/2, height/2, 0.5*width*sin(frameCount), 0.5*width*sin(frameCount/20));
/*hi golan, happy birthday! I am so grateful for
all of your mentorship and kindness these past
two years, I've grown so much as an artist with your
help! The Studio has become a second home to me
and I am incredibly grateful - Connie */
fill(map(cos(frameCount), 0, 1, 50, 150), map(cos(frameCount), 0, 1, 0, 100), map(cos(frameCount), 0, 1, 100, 200));
text("happy birthday! :-)", width/2 + 2 * sin(frameCount/2), height/2 + 2 * cos(frameCount / 2));
/*happy birthday golan! you're the best mentor ever.
I so appreciate everything you do for the studio and
for all of us <3 - Caroline */
fill(['green','purple', 'black'][frameCount%3]);
circle(mouseX, mouseY, frameCount%7);
/*happy birthday golan!!! Thanks so much for everything you've done over these past few years. Thanks for making studio an inclusive place and helping everyone be their best selves ⋆★☆✯✰⋆★☆✯✰⋆★☆✯✰⋆★☆✯✰⋆★☆✯✰⋆★☆✯✰
Tatyana*/
textSize(32);
if(frameCount%13 == 0){ text(['Happy', 'Birthday', 'Golan', 'Arduino', "science", 'tech', 'art', 'code', 'javascript', 'semicolons', 'jank', 'studio', 'sfci' , 'STUDIO', 'p5' , 'science','computation','creative coder'][Math.floor(Math.random() * 18)],mouseX, mouseY)}
/*happy birthday!! golan!! you've literally changed my life in so
many ways and i'm eternally grateful for it. to the future! ~aman*/
textAlign(CENTER, CENTER)
text('😂', Math.floor(random(0, 5))*(width/5) + width/10, Math.floor(random(0, 5))*(height/5) + height/10)
/*Happy birthday Golan! I hope u know how much u mean to your students and I just wanted to say thank u for all the good times in the studio. - peter */
strokeWeight((sin(millis()/1000))*300);
ellipse(width- (millis()/1000) * width% 1000,height,(800+millis()/1000) % 300 - millis()/1000,50 * millis()/1000 %800);
/* happy birthday, golan! being around here and learning from you
and everyone else has been so valuable and empowering. Thank you
for helping to make this place so potent and loving — gray */
noFill();
square(mouseY, mouseX, mouseY/50, mouseX/50);
}