Skip to content

Instantly share code, notes, and snippets.

View dimkir's full-sized avatar
🎯
Focusing

dimkir

🎯
Focusing
View GitHub Profile
@dimkir
dimkir / Sketch code
Created October 17, 2013 12:18
Created using Sketch2Tweet tool
void setup() {
size(800, 600);
fill(255, 9);
noStroke();
colorMode(HSB, 255);
}
void draw() {
fill(0, 10);
rect(0, 0, 800, 600);
float r=random(-50, 50);
@dimkir
dimkir / Sketch code
Created October 17, 2013 12:01
Created using Sketch2Tweet tool
float x=-90, a, b, y;
int w=2060;
void setup() {
size(w/3, w/3);
background(255);
colorMode(HSB,255);
}
void draw() {
a=b;
b=90*int(random(w/90));
@dimkir
dimkir / Sketch code
Created October 17, 2013 12:05
Created using Sketch2Tweet tool
float x=-90, a, b, y;
int w=2060;
void setup() {
size(w/3, w/3);
background(255);
colorMode(HSB,255);
}
void draw() {
a=b;
b=90*int(random(w/90));
@dimkir
dimkir / Sketch code
Created October 17, 2013 12:28
Created using Sketch2Tweet tool
void setup() {
size(800, 600);
fill(255, 9);
noStroke();
colorMode(HSB, 255);
}
void draw() {
fill(0, 10);
rect(0, 0, 800, 600);
float r=random(-50, 50);
@dimkir
dimkir / Sketch code
Created October 17, 2013 12:38
Created using Sketch2Tweet tool
int w=1000, i;
float a=0;
void setup() {
size(w, w/2);
stroke(25);
}
void draw() {
for (i=0;i<w;i+=99) {
strokeWeight(i%5);
line(1, i, w/2, 0+a);
@dimkir
dimkir / Sketch code
Created October 17, 2013 12:36
Created using Sketch2Tweet tool
float x=-90, a, b, y;
int w=2060;
void setup() {
size(w/3, w/3);
background(255);
}
void draw() {
a=b;
b=90*int(random(w/90));
line(a, b, x, y);
@dimkir
dimkir / Sketch code
Created October 17, 2013 19:51
Created using Sketch2Tweet tool
int s=600;
int x, y;
int[] z= {
-4, 4
};
void setup() {
size(s, s);
background(0);
stroke(255 );
}
@dimkir
dimkir / Sketch code
Created October 17, 2013 20:03
Created using Sketch2Tweet tool
int s=600;
int x, y;
int[] z= {
-4, 4
};
void setup() {
size(s, s);
background(0);
stroke(255 );
}
@dimkir
dimkir / Sketch code
Created October 17, 2013 20:06
Created using Sketch2Tweet tool
int s=600;
int x, y;
int[] z= {
-4, 4
};
void setup() {
size(s, s);
background(0);
stroke(255 );
}
@dimkir
dimkir / Sketch code
Created October 17, 2013 21:35
Created using Sketch2Tweet tool
float x=-90, a, b, y;
int w=2060;
void setup() {
size(w/3, w/3);
background(255);
}
void draw() {
a=b;
b=90*int(random(w/90));
line(a, b, x, y);