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
final int R = 20; | |
final int circleNum = 6; | |
PVector []pos = new PVector[circleNum]; | |
color []shapeColor = {#FF8CC6, #eaeaea, #FA198B, #FF8CC6, #eaeaea, #FA198B}; | |
void setup() { | |
size(500, 500); | |
background(#ffffff); | |
rectMode(CENTER); | |
for (int i = 0; i < circleNum; i++) |
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
float waveHeight; | |
void setup() { | |
size(640, 640); | |
background(-1); | |
} | |
void draw() { | |
noStroke(); | |
fill(#ffffff, 10); |
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
PGraphics bottomScreen; | |
Bubble []bubble = new Bubble[50]; | |
PVector []waveHeight = new PVector[640]; | |
void setup() { | |
size(640, 640); | |
bottomScreen = createGraphics(width, height/2); | |
for (int i = 0; i < bubble.length; i++) { | |
float x = random(bottomScreen.width); |
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
final int PANEL_NUM = 100; | |
final int PANEL_SIZE = 50; | |
BorderPanel []bp = new BorderPanel[PANEL_NUM]; | |
boolean []paintable = new boolean[PANEL_NUM]; | |
IntList drawableIndex = new IntList(); | |
int frameCount; | |
void setup() { | |
size(500, 500); | |
initValues(); |
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(640, 640); | |
} | |
void draw() { | |
background(#ffffff); | |
for (int i = 64; i > 0; i /= 4) | |
drawPanels(i); |
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
final int PANEL_NUM = 100; | |
final int PANEL_SIZE = 50; | |
paintPanel []pp = new paintPanel[PANEL_NUM]; | |
boolean []paintable = new boolean[PANEL_NUM]; | |
IntList paintableIndex = new IntList(); | |
int frameCount; | |
void setup() { | |
size(500, 500); | |
initValues(); |
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
PGraphics pg; | |
void setup() { | |
size(500, 500); | |
pg = createGraphics(200, 200); | |
} | |
void draw() { | |
background(-1); |
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 circleX, circleY; | |
void setup() { | |
size(500, 500); | |
circleX = width/2; | |
circleY = height/2; | |
} | |
void draw() { | |
background(-1); |
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
final int SCREEN_NUM = 5; | |
PGraphics []rotateScreen = new PGraphics[SCREEN_NUM]; | |
PFont font; | |
String kanji = "回転"; | |
final int fontSize = 160; | |
int [] rotateDegrees = new int[SCREEN_NUM]; | |
int [] rotateSpeed = new int[SCREEN_NUM]; | |
boolean allRotateFinish = false; | |
void setup() { |
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
PGraphics pg; | |
PFont font; | |
String kanji = "憂鬱"; | |
final int fontSize = 200; | |
void setup() { | |
size(500, 500); | |
font = createFont("Yu mincho", fontSize); | |
pg = createGraphics(50, 50); |