ゼロワン(時空転移エンジンⅡの改良版)
Processingでゼロワンのイメージアニメーションを作ってみました^^
タイトルは、「ゼロワン(時空転移エンジンⅡの改良版)」です。
動画: https://twitter.com/StudioGIW2/status/1167936841808412672
ソースコードはこちら。
void setup(){
size(508,340); noStroke();
textAlign(CENTER,CENTER);
}
float p,x,r=508,n=170;
void draw(){
fill(0,5,9,15); rect(0,0,r,r);
translate(r/2, n);
fill(250,20,0); textSize(70); text("01",0,-8);
fill(230+p%20,250,0);
p=(p+.4)%n;
for(x=0;x<n;x++){
rotate(sin(p)); ellipse(p,sin(p)*r,1,p*.3);
rotate(cos(p)); ellipse(p,cos(p)*r,50,p*4%2);
}
fill(250,20,0); textSize(16); text("01",90,0);
}
====================