Skip to content

Instantly share code, notes, and snippets.

@wonderburg7
Created February 3, 2019 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wonderburg7/bd5be60825c69ac2f7a599d5e579fd1c to your computer and use it in GitHub Desktop.
Save wonderburg7/bd5be60825c69ac2f7a599d5e579fd1c to your computer and use it in GitHub Desktop.
int fontSize = 260;
String str1 = "MUSE";
int circleLineSize = 21;
int distanceBetweenLines = 55;
PFont sourceLight;
int size = 0;
int stringLength = str1.length();
int pulse = 40;
void setup(){
size(1080, 1920);
ellipseMode(CENTER);
//background();
//132,26,50
//244,158,21
//5,92,147
background(255);
stroke(228,97,19);
/*
160,13,79 > lighter magenta
120,13,63 > darker magenta
73,184,237 > sky blue
228,97,19 > orange
*/
noFill();
strokeWeight(circleLineSize);
textAlign(CENTER, CENTER);
//noLoop();
sourceLight = createFont("https://github.com/topcoat/topcoat/blob/master/font/SourceCodePro-Light.otf?raw=true", fontSize);
textFont(sourceLight);
}
void draw(){
noFill();
background(255);
size = 0;
ellipse(width/2, height/2, circleLineSize, circleLineSize);
for (int i = 0; i < 44; i++){
ellipse(width/2, height/2, size, size);
size += distanceBetweenLines;
}
ellipse(width/2, height/2, pulse, pulse);
fill(255);
text(str1, width/2,height/2-(fontSize/6.66));
saveFrame("MUSE####.png");
pulse += distanceBetweenLines;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment