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 18, 2013 06:12
Created using Sketch2Tweet tool
int s=600;
int h=1;
void setup() {
size(s, s);
stroke(0);
colorMode(HSB, 255);
}
void draw() {
fade(#FFFFFF, 15);
if (h<s) {
@dimkir
dimkir / sketch_code.pde
Created October 18, 2013 07:20
Created using Sketch2Tweet tool
This is my code to post lalalala
@dimkir
dimkir / sketch_code.pde
Created October 18, 2013 07:54
Created using Sketch2Tweet tool
This is my code to post lalalala
@dimkir
dimkir / sketch_code.pde
Created October 18, 2013 09:16
Created using Sketch2Tweet tool
int s=600;
int h=1;
void setup() {
size(s, s);
stroke(0);
}
void draw() {
if (h<s) {
translate(random(s), random(s));
rotate(h);
@dimkir
dimkir / sketch_code.pde
Created October 18, 2013 09:22
Created using Sketch2Tweet tool
int s=600;
int h=1;
void setup() {
size(s, s);
stroke(0);
}
void draw() {
if (h<s) {
translate(random(s), random(s));
rotate(h);
@dimkir
dimkir / sketch_code.pde
Created October 18, 2013 09:26
Created using Sketch2Tweet tool
int s=600;
int h=1;
void setup() {
size(s, s);
stroke(0);
colorMode(HSB, 255);
}
void draw() {
if (h<s) {
translate(random(s), random(s));
@dimkir
dimkir / sketch_code.pde
Created October 18, 2013 09:30
Created using Sketch2Tweet tool
int s = 600;
int h = 1;
void setup() {
size (s, s);
stroke(0, 20);
colorMode(HSB,255);
}
void draw() {
if (h<s) {
translate(s/2+h, s/2+h);
@dimkir
dimkir / sketch_code.pde
Created October 18, 2013 09:34
Created using Sketch2Tweet tool
int w=800;
float a, b=800, z=10, y=0;
void setup() {
size(w, w);
colorMode(HSB, 255);
}
void draw() {
a=a+5;
z=10*int(random(w/10));
stroke(randomColor());
@dimkir
dimkir / sketch_code.pde
Created October 18, 2013 09:45
Created using Sketch2Tweet tool
//#tuelit13
int h = 0;
// max text size
int C_MAX_SIZE = 48;
void setup() {
size(250, 250);
textFont(createFont("Arial", C_MAX_SIZE));
colorMode(HSB,255);
}
@dimkir
dimkir / sketch_code.pde
Created October 18, 2013 10:12
Created using Sketch2Tweet tool
float s=200, x, y, a=s, b;
void setup() {
size(400, 400);
colorMode(HSB, 255);
}
void draw() {
x=random(s*2);
y=random(s*2);
if (sq(x-s)+sq(y-s)<sq(s)) {
strokeWeight(random(2,8));