# 順に反転する円

/** * reverse * * @author aa_debdeb * @date 2016/12/04 */ float ELLIPSE_SIZE = 10; float edge = 0; float edgeSpeed = 4; color c1, c2; void setup(){ size(500, 500); mousePressed(); } void mousePressed(){ c1 = color(random(255), random(255),…

# 円弧と四角

/** * arc & rect * * @author aa_debdeb * @date 2016/11/23 */ int X =25; int Y = 25; float step = 20; void setup(){ size(500, 500); noStroke(); fill(248, 248, 255); } void draw(){ background(255, 180, 0); for(int x = 0; x < X; x++){ for(int…

# 重なり、離れていく円

/** * color rotars * * @auhtor aa_debdeb * @date 2016/11/22 */ int X =10; int Y = 10; float step = 50; void setup(){ size(500, 500); colorMode(HSB, 360, 100, 100); noStroke(); fill(0); } void draw(){ background(0, 0, 100); for(int x = 0; x …

# リングの上で回転する線がつくるパターン #5

patterns by lines on ring #5 - OpenProcessing /** * patterns by lines on ring #5 * * @author aa_debdeb * @date 2016/11/15 */ float radius = 150; float bar = 150; int barNum; float barSpeed; int rotNum; float rotSpeed; color bg, sr; void se…

# リングの上で回転する線がつくるパターン #4

patterns by lines on ring #4 - OpenProcessing /** * patterns by lines on ring #4 * * @author aa_debdeb * @date 2016/11/14 */ float radius = 150; float bar = 150; int step = 0; void setup(){ size(640, 640); stroke(20, 150); } void draw(){ b…

# リングの上で回転する線がつくるパターン #3

patterns by lines on ring #3 - OpenProcessing /** * patterns by lines on ring #3 * * @author aa_debdeb * @date 2016/11/13 */ float radius = 150; float bar = 180; int step = 1; void setup(){ size(640, 640); stroke(20, 150); } void draw(){ b…

# リングの上で回転する線がつくるパターン #2

patterns by lines on ring #2 - OpenProcessing /** * patterns by lines on ring #2 * * @author aa_debdeb * @date 2016/11/11 */ float radius = 150; float bar = 150; int step = 0; void setup(){ size(640, 640); } void draw(){ background(30); tr…

# リングの上で回転する線がつくるパターン #1

patterns by lines on ring #1 - OpenProcessing /** * patterns by lines on ring #1 * * @author aa_debdeb * @date 2016/11/10 */ float radius = 150; float bar = 150; int step = 0; void setup(){ size(640, 640); stroke(20); } void draw(){ backgr…

# 点群のドーナッツリング

doughnut ring by points - OpenProcessing /** * doughnut ring by points * * @author aa_debdeb * @date 2016/11/05 */ float radius1 = 150; float radius2 = 75; void setup(){ size(500, 500); noStroke(); } void draw(){ fill(0, 100); rect(0, 0, w…

# 層が回転しながら入れ替わるリング

two-layered ring - OpenProcessing /** * two-layered ring * * @author aa_debdeb * @date 2016/11/04 */ float radius1 = 125; float radius2 = 50; void setup(){ size(500, 500); noStroke(); } void draw(){ fill(0, 150); rect(0, 0, width, height);…

# 三日月ルーパー

crescent looper - OpenProcessing /** * crescent looper * * @author aa_debdeb * @date 2016/10/21 */ color c1, c2, c3; void setup(){ size(640, 640); strokeWeight(2); mousePressed(); } void mousePressed(){ c1 = color(random(255), random(255),…

# うねる輪

/** * rolling ring * * @author aa_debdeb * @date 2016/10/03 */ int num = 100; float radious = 130; float breadth = 75; void setup(){ size(640, 640, P3D); } void draw(){ background(30); stroke(255); strokeWeight(2); fill(0, 255, 255, 170); …

# さやえんどう

/** * pea * * @author aa_debdeb * @date 2016/10/02 */ void setup(){ size(640, 480); } void draw(){ background(0); stroke(0, 255, 0); strokeWeight(50); line(120, height / 2, 520, height / 2); stroke(0); strokeWeight(40); line(120, height / …

# 揺れる重なった正方形

/** * waving multi-layered squares * * @author aa_debdeb * @date 2016/09/26 */ void setup(){ size(500, 500); rectMode(CENTER); fill(30); stroke(220); } void draw(){ background(220); translate(width / 2, height / 2); for(int i = 0; i <= 40;…

# 円の上を回転する円

/** * cirlces on circles * * @author aa_debdeb * @date 20160902 */ int NUM = 30; float RADIOUS = 100; void setup(){ size(500, 500); background(0); } void draw(){ fill(0, 30); noStroke(); rect(0, 0, width, height); noFill(); stroke(255, 100…

# ４つの正方形上を動く円

/** * four moving circles * * @author aa_debdeb * @date 2016/08/31 */ PVector[] vertices; float pos = 75; void setup(){ size(500, 500); fill(0, 75, 77); stroke(0, 206, 209); strokeWeight(30); vertices = new PVector[4]; vertices[0] = new PV…

# 4つの回転する正方形

/** * four spining squares * * @author aa_debdeb * @date 2016/08/29 */ void setup(){ size(500, 500); rectMode(CENTER); fill(255, 128, 234); stroke(255); strokeWeight(20); } void draw(){ background(127, 255, 212); translate(width / 2, heigh…

# ひし形を連ねる

/** * chain of diamonds * * @author aa_debdeb * @date 2016/08/25 */ float rectSize = 20; void setup(){ size(500, 500, P3D); rectMode(CENTER); noFill(); stroke(255); } void draw(){ background(0); for(int x = 0; x * rectSize + rectSize / 2 <…

# 多環の球

/** * multi-ringed sphere * * @author aa_debdeb * @date 2016/08/22 */ float step = 5; color c1 = color(0, 206, 209); color c2 = color(255, 215, 0); void setup(){ size(500, 500, P3D); noFill(); } void draw(){ background(0); translate(width …

# 疎密波

/** * compressional wave * * @author aa_debdeb * @date 2016/08/20 */ void setup(){ size(640, 480); rectMode(CENTER); noStroke(); fill(0); } void draw(){ background(255); translate(width / 2, height / 2); for(float x = -200; x <= 200; x += …

# 踊るリング

/** * dancing ring * * @author aa_debdeb * @date 2016/08/10 */ void setup(){ size(640, 480, P3D); noFill(); stroke(255); strokeWeight(3); } void draw(){ background(0, 206, 209); translate(width / 2, height / 2); rotateY(frameCount * 0.02);…

# 円状の虹

/** * rainbow spin * * @author aa_debdeb * @date 2016/07/07 */ float R = 220; float angleStep = 24; void setup(){ size(500, 500); stroke(0); strokeWeight(3); } void draw(){ colorMode(RGB, 255); background(255); colorMode(HSB, 360, 100, 100…

# 球を段々と構築する

/** * construction of sphere * * @author aa_debdeb * @date 2016/06/20 */ float radious = 200; int resolution = 30; int num = 0; int numStep = 1; int maxNum = resolution * (resolution / 2); void setup(){ size(500, 500, P3D); fill(255); stro…

# 球を囲む輪

/** * rings on sphere * * @author aa_debdeb * @date 2016/06/08 */ float radious = 200; ArrayList<Ring> rings; void setup(){ size(500, 500, P3D); rings = new ArrayList<Ring>(); noFill(); strokeWeight(5); stroke(0, 206, 209); } void draw(){ background(3</ring></ring>…

# ぐるぐる回る輪

/** * looper * * @author aa_debdeb * @date 2016/06/05 */ int num = 100; void setup(){ size(500, 500); noStroke(); background(0); } void draw(){ fill(0, 30); rect(0, 0, width, height); fill(255, 140, 0, 50); translate(width / 2, height / 2)…

# 円環におけるパルスの伝達

/** * ripple on circles * * @author aa_debdeb * @date 2016/05/19 */ color bgc, src; void setup(){ size(500, 500); noFill(); mousePressed(); } void mousePressed(){ bgc = color(random(255), random(255), 255); src = color(0, 0, random(255)); …

# Peter de Jong アトラクター

/** * Peter de Jong Attractor * * @author aa_debdeb * @date 2016/05/12 */ float x, y; float a, b, c, d; float scale = 150.0; void setup(){ size(640, 640); frameRate(360); fill(0, 128); noStroke(); mousePressed(); } void mousePressed(){ bac…

# 回転する球の輪

/** * ring absorption * * @author aa_debdeb * @date 2016/04/22 */ float radious1 = 200; float radious2 = 80; void setup(){ size(640, 640, P3D); noStroke(); fill(255); } void draw(){ background(32); lights(); translate(width / 2, height / 2…

# 四角形の輪

/** * circle of rectangles * * @author aa_debdeb * @date 2016/04/09 */ void setup(){ size(500, 500); fill(255, 50); stroke(255); strokeWeight(1); rectMode(CENTER); } void draw(){ background(0); translate(width / 2, height / 2); rotate(fram…

# 延々と現れるカラフルな三角形

/** * Endless Color Triangles * * @author aa_debdeb * @date 2016/03/25 */ ArrayList<Triangle> triangles; void setup(){ size(500, 500); colorMode(HSB, 360, 100, 100); triangles = new ArrayList<Triangle>(); Triangle root = new Triangle(); triangles.add(root); f</triangle></triangle>…