
Processing 101
My Processing 101 creative coding experiments. 00 Kamehameha Simple 01 Attractor2DSimple 02 BouncingBallSimple 03 Wave 05 waterPipe 06 TwoPlayersGA Processing 101 – 00 Kamehameha Simple Kamehameha かめはめ波 龜派氣功 instruction Press you mouse left button. Drag it in the opposite direction. And you will find out it open fire automatically. Dictionary: Kamehameha かめはめ波 龜派氣功 Code Inspired From: Processing.js learning Sample float radius = 50; int X, Y; void setup() { size( 650, 200 ); strokeWeight(10); fill( 198, 81, 10); stroke(255); X = width/2; Y = height/2; } void draw() { background(100); radius += sin(frameCount/10); ellipse(X+=(X-pmouseX)/16, Y+=(Y-pmouseY)/16, radius, radius); } void mouseMoved() { X = mouseX; Y = mouseY; } Processing 101 – 01 Attractor2DSimple Attractor Each circle on the grid points change its diameters, which based on distance between mouse position and point’s location. Dictionary: Attractor 吸引子,原本為複雜科學裡的一個專有名詞,近期廣被用來描述於Parametricism。 最先被運用在Grasshopper裡頭。 ...





