2016-01-01から1年間の記事一覧
/** * space debris * * @author aa_debdeb * @date 2016/12/01 */ ArrayList<Particle> particles; void setup(){ size(640, 480, P3D); particles = new ArrayList<Particle>(); for(int i = 0; i < 500; i++){ particles.add(new Particle()); } } void draw(){ background(0)</particle></particle>…
/** * abstract noise * * @author aa_debdeb * @date 2016/11/30 */ int layerNum = 10; color[] layerColors; void setup(){ size(500, 500); mousePressed(); } void mousePressed(){ layerColors = new color[layerNum + 1]; for(int i = 0; i < layerNu…
/** * touchable slime * * @author aa_debdeb * @date 2016/11/29 */ float noiseValue; float time; void setup(){ size(640, 640); noiseValue = 0.5; time = 0.0; background(150); } void draw(){ fill(150, 100); rect(0, 0, width, height); translat…
/** * sparks * * @author aa_debdeb * @date 2016/11/28 */ float MAX_VEL = 5; float MAX_SIZE = 8.0; ArrayList<Particle> particles; void setup(){ size(640, 640); noCursor(); noStroke(); particles = new ArrayList<Particle>(); background(0); } void draw(){ fill(0,</particle></particle>…
/** * energizable particles * * @author aa_debdeb * @date 2016/11/27 */ ArrayList<Particle> particles; color c1 = color(79, 208, 255); color c2 = color(255, 127, 80); void setup(){ size(640, 640); particles = new ArrayList<Particle>(); for(int i = 0; i < 15; </particle></particle>…
/** * spilled particles * * @author aa_debdeb * @date 2016/11/26 */ float MAX_VEL = 15; float MAX_SIZE = 10.0; float GRAVITY = 1.0; ArrayList<Particle> particles; void setup(){ size(640, 640); particles = new ArrayList<Particle>(); } void draw(){ fill(0, 100)</particle></particle>…
/** * frequency modulation * * @author aa_debdeb * @date 2016/11/25 */ import ddf.minim.spi.*; import ddf.minim.signals.*; import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.ugens.*; import ddf.minim.effects.*; Minim minim; …
/** * Minim WaveShaper * * @author aa_debdeb * @date 2016/11/24 */ import ddf.minim.spi.*; import ddf.minim.signals.*; import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.ugens.*; import ddf.minim.effects.*; Minim minim; Audi…
/** * 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 …
/** * fade in / fade out * * @author aa_debdeb * @date 2016/11/21 */ boolean canShowCircles = true; boolean isAnimating = false; int duration = 100; int animatingTime = 0; ArrayList<Circle> circles; color c1, c2; void setup(){ size(640, 640); circ</circle>…
/** * easing test * * @author aa_debdeb * @date 2016/11/20 */ float time = 0; float duration = 200; ArrayList<Circle> circles; color c1, c2; void setup(){ size(640, 640); mousePressed(); } void draw(){ translate(width / 2, height / 2); background(</circle>…
/** * soft towers * * @author aa_debdeb * @date 2016/11/19 */ ArrayList<Tower> towers; float towerWidth = 25; float minHeight = 0; float maxHeight = 400; float maxAcc = 50; void setup(){ size(500, 500, P3D); towers = new ArrayList<Tower>(); for(float w </tower></tower>…
/** * record & play * * @author aa_debdeb * @date 2016/11/18 */ import ddf.minim.spi.*; import ddf.minim.signals.*; import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.ugens.*; import ddf.minim.effects.*; Minim minim; AudioIn…
/** * control playback speed * * @author aa_debdeb * @date 2016/11/17 */ import ddf.minim.spi.*; import ddf.minim.signals.*; import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.ugens.*; import ddf.minim.effects.*; import cont…
/** * use Sampler * * @author aa_debdeb * @date 2016/11/16 */ import ddf.minim.spi.*; import ddf.minim.signals.*; import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.ugens.*; import ddf.minim.effects.*; Minim minim; AudioOutp…
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…
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…
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…
flying in 3D world - OpenProcessing /** * flying in 3D world * * @author aa_debdeb * @date 2016/11/12 */ Camera cam; ArrayList<Block> blocks; void setup(){ size(640, 640, P3D); noStroke(); blocks = new ArrayList<Block>(); for(int i = 0; i < 150; i++){ b</block></block>…
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…
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…
/** * sound by particle's crash * * @author aa_debdeb * @date 2016/11/09 */ import ddf.minim.spi.*; import ddf.minim.signals.*; import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.ugens.*; import ddf.minim.effects.*; Minim mi…
/** * rhythm machine by minim and conrolP5 * * @author aa_debdeb * @date 2016/11/08 */ import ddf.minim.spi.*; import ddf.minim.signals.*; import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.ugens.*; import ddf.minim.effects.…
/** * play sound file * * @author aa_debdeb * @date 2016/11/07 */ import ddf.minim.spi.*; import ddf.minim.signals.*; import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.ugens.*; import ddf.minim.effects.*; Minim minim; Audio…
unshaped loops - OpenProcessing /** * unshaped loops * * @author aa_debdeb * @date 2016/11/06 */ float radius = 200; ArrayList<Loop> loops; void setup(){ size(640, 640); colorMode(HSB, 360, 100, 100); loops = new ArrayList<Loop>(); for(int i = 0; i < </loop></loop>…
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);…
/** * synthesis of drum sound * * @author aa_debdeb * @date 2016/11/03 */ import ddf.minim.spi.*; import ddf.minim.signals.*; import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.ugens.*; import ddf.minim.effects.*; import con…
/** * sequncer by minim and controlP5 * * @author aa_debdeb * @date 2016/11/02 */ import ddf.minim.spi.*; import ddf.minim.signals.*; import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.ugens.*; import ddf.minim.effects.*; im…