text Diigs story circles.pde

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text Diigs story circles.pde相关的知识,希望对你有一定的参考价值。

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;

}



以上是关于text Diigs story circles.pde的主要内容,如果未能解决你的问题,请参考以下文章

text 积压BABEL - 用户stories.csv

text 代码Talk_MVP_User-stories.txt的

text 代码Talk_MVP_User-Stories_Descoped.txt

text explodie circle.pde

text explodie circle.pde

text 与circles.pde有关