Created
February 3, 2019 21:43
-
-
Save wonderburg7/bd5be60825c69ac2f7a599d5e579fd1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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