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
//MODIFICATION// | |
let gap = 10; | |
let w = 29; | |
//////////////// | |
let seq = [1,2,2]; | |
let index = 2; | |
let circleCount = [0,0,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
float decel(float x) { // as an easing function | |
return 1-(x-1)*(x-1); | |
} | |
void setup() { | |
background(255); | |
size(750,750,P2D); | |
PImage img = loadImage("image.png"); | |
strokeWeight(2); | |
noFill(); |
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
#N canvas -8 -8 1280 952 12; | |
#X obj 289 126 s \$0-b; | |
#X obj 291 65 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 | |
1; | |
#X msg 813 177 1 \, 0 100; | |
#X obj 813 204 line~; | |
#X obj 813 282 osc~; | |
#X obj 813 308 +~; | |
#X obj 813 87 i; | |
#X obj 850 87 + 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 grid=7; | |
float size=60; | |
float h_grid=float(grid)/2; | |
boolean[][] drawn; | |
color color_burn(color a, color b) { | |
return color(255-(255-red(b))/red(a)*255,255-(255-green(b))/green(a)*255,255-(255-blue(b))/blue(a)*255); | |
} | |
void setup() { |