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 i, s=1024, r; | |
void setup() { | |
size(s, s); | |
noStroke(); | |
} | |
void draw() { | |
r=8<<++i%6; | |
fill(-(r<<(i/s))+(i%24)*r, 270-r); | |
shapetangle(i/9*8%s, 8*i*i*i%s, r, r); | |
}//#p5 |
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 i, s=1024, r; | |
void setup() { | |
size(s, s); | |
noStroke(); | |
} | |
void draw() { | |
r=8<<++i%6; | |
fill(-(r<<(i/s))+(i%24)*r, 270-r); | |
rect(sin(i/9*8%s) * i, 8*i*i*i%s, r, r); | |
}//#p5 |
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 i, n, s=900; | |
void setup() { | |
size(s, s); | |
} | |
void draw() { | |
n=int(90+90*sin((i+=5)*.01)); | |
textSize(n); | |
fill(233<<n); | |
text(i/s, i%s-50, 99*(i/s)%s-n); | |
}//#p5 |
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 i, n, s=900; | |
void setup() { | |
size(s, s); | |
} | |
void draw() { | |
n=int(90+90*sin((i+=5)*.01)); | |
textSize(n); | |
fill(233<<n); | |
text(i/s, i%s-50, 99*(i/s)%s-n); | |
}//#p5 |
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 i, n, s=900; | |
void setup() { | |
size(s, s); | |
colorMode(HSB, 255); | |
} | |
void draw() { | |
n=int(90+90*sin((i+=5)*.51)); | |
// a bit faster ^^^^ | |
textSize(n); | |
fill(233<<n); |
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
void setup() { | |
size(800, 600); | |
fill(255, 9); | |
colorMode(HSB, 255); | |
} | |
void draw() { | |
fill(255,3); | |
rect(0, 0, 800, 600); | |
fill(randomColor()); | |
float r=random(-50, 50); |
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
void setup() { | |
size(800, 600); | |
fill(255, 9); | |
colorMode(HSB, 255); | |
} | |
void draw() { | |
fill(255,3); | |
rect(0, 0, 800, 600); | |
fill(randomColor()); | |
float r=random(-50, 50); |
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
void setup() { | |
size(800, 600); | |
fill(255, 9); | |
colorMode(HSB, 255); | |
} | |
void draw() { | |
fill(255,3); | |
rect(0, 0, 800, 600); | |
fill(randomColor()); | |
float r=random(-50, 50); |
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 s=600; | |
int x, y; | |
int[] z= { | |
-4, 4 | |
}; | |
void setup() { | |
size(s, s); | |
colorMode(HSB,255); | |
background(0); | |
} |
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 s = 600; | |
int h = 1; | |
void setup() { | |
size (s, s); | |
stroke(0); | |
colorMode(HSB, 255); | |
background(0); | |
} | |
void draw() { | |
if (h<s) { |
OlderNewer