Code used for BB2
$LAYYYTER
One Nice Bug Per Day

oozey mess
Jules of Nature
h
Aqua Utopia|海の底で記憶を紡ぐ
Lint Roller? I Barely Know Her

⁂
Three Goblin Art

No title available

blake kathryn
KIROKAZE
Sweet Seals For You, Always
Game of Thrones Daily
he wasn't even looking at me and he found me
🪼

Kaledo Art
"I'm Dorothy Gale from Kansas"
Cosimo Galluzzi
let's talk about Bridgerton tea, my ask is open

seen from France
seen from United States

seen from Italy
seen from Germany

seen from Taiwan
seen from Russia

seen from United Kingdom

seen from United States
seen from Malaysia
seen from Canada

seen from Australia

seen from United States

seen from United States

seen from Türkiye

seen from Brazil
seen from Russia

seen from United States
seen from United Kingdom

seen from United States
seen from T1
@monaiitani
Code used for BB2
Prior to designing our robopet, we had the intention of breaking down the negative stereotypes associated with hybrid animals. Our design incorporates elements from a turtle, due to its hard shell and its protective abilities which give it its survival advantage.
We also wanted to create an elevated structure that would have the ability to roll around, move, through kicking its legs. We had a distance sensor embedded into the structure, and thus we controlled it using an edited Servo Distance code to limit the movement, so that it can only move in two directions up to 180 degrees from its starting point, hence why it is called BB2.
TRIAL #13
Last but least, my rather abstract attempt on last semester’s drawing. Going back to the code in trial 11, I tried altering the squares to have them interact with the ellipses, but I found that with previous code(from trial 12) I could have better control of their interaction by using lines instead. Additionally, I changed up the integer once again and the lines.
CODE:
//int d = 70; //int p1 = d; //int p2 = p1+d; //int p3 = p2+d; //int p4 = p3+d;
//int e = 60; //int l1 = e; //int l2 = l1+e; //int l3 = l2+e; //int l4 = l3+e;
//int c = 50; //int d1 = c; //int d2 = d1+c; //int d3 = d2+c; //int d4 = d3+c;
//int a = 30; //int s1 = a; //int s2 = s1+a; //int s3 = s2+a; //int s4 = s3+a;
//int u = 5; //int k1 = u; //int k2 = k1+a; //int k3 = k2+a; //int k4 = k3+a;
//int b = 10; //int h1 = c; //int h2 = h1+a; //int h3 = h2+a; //int h4 = h3+a; void setup(){ size(700,700); background(#eeeeee); fill(#AB3232);
}
void draw(){ background(0); //fill(random(255),random(255),random(255)); //randomSeed(actRandomSeed);
//mouseX = constrain(mouseX,10,width); //mouseY = constrain(mouseY,10,height); translate(width/2,height/2); //translate(width/-2,height/-2); for(int a = 1; a<380; a += 12){ float x = random(60,400); float xx = random(50,400); pushMatrix(); rotate(radians(a)); //rotate(radians(a/4)); // rotate(radians(a/10)); //rotate(radians(a/20)); // rotate(radians(a/40)); //rotate(radians(a*15)); //rotate(radians(a*20)); //rotate(radians(a*40)); //rotate(radians(a*60));
// line(p3,p3,p2,p3); //line(p2,p3,p2,p2); // line(p2,p2,p3,p2); //line(p3,p2,p3,p3);
//line(l3,l3,l2,l3); //line(l2,l3,l2,l2); //line(l2,l2,l3,l2); //line(l3,l2,l3,l3);
//line(d3,d3,d2,d3); //line(d2,d3,d2,d3); //line(d2,d2,d3,d2); //line(d3,d2,d3,d3);
//line(s3,s3,s2,s3); //line(s2,s3,s2,s3); //line(s2,s2,s3,s2); //line(s3,s2,s3,s3);
// line(h3,h3,h2,h3); //line(h2,h3,h2,h3); //line(h2,h2,h3,h2); //line(h3,h2,h3,h3);
//line(k3*2,k3*2,k2*2,k3*2); //line(k2*2,k3*2,k2*2,k3*2); //line(k2*2,k2*2,k3*2,k2*2); //line(k3,k2,k3,k3);
//line(k3,k3,k2,k3); // line(k2,k3,k2,k3); //line(h2,h2,h3,h2); //line(k3,k2,k3,k3);
ellipse(10,x,20,-20); line(x,0,0,-xx); line(0,xx,-0,0); //line(2,100,20,100); //line(1,x,10,x); stroke(255); strokeWeight(1); //strokeCap(CORNER); popMatrix(); } }
//void mousePressed() { //actRandomSeed = (int) random(10); //} void keyPressed(){ redraw(); }
TRIAL #12
Going back to the previous code, I went back to the trend of having lines create several circles but this time, I applied ellipses to them. With that, I also altered the integer and duplicated the lines several times and altered them to have either thinner or thicker effect than the rest to create a contrast between the two elements.
CODE
void setup(){ size(700,700); background(#eeeeee); fill(#AB3232);
}
void draw(){ background(0); //fill(random(255),random(255),random(255)); //randomSeed(actRandomSeed);
//mouseX = constrain(mouseX,10,width); //mouseY = constrain(mouseY,10,height); translate(width/2,height/2); //translate(width/-2,height/-2); for(int a = 1; a<360; a += 2){ float x = random(80,330); float xx = random(50,650); pushMatrix(); rotate(radians(a));
ellipse(10,xx,20,-20);
line(120,100,123,-90); line(200,1,150,-80); line(2,100,20,100); line(1,90,10,90); stroke(255); strokeWeight(1); //strokeCap(CORNER); popMatrix(); } }
void keyPressed(){ redraw(); }
TRIAL #11
My favorite so far. With this trial, I wanted to try out different shapes while keeping the rotation as the form of transformation in order to see what effect it would give. By using squares and by having the rotation in the code, it automatically changed each square into a rhombus. With that, I duplicated each line four times with a certain distance between them and altered the radius by dividing and multiplying it several times.
CODE
int d = 70; int p1 = d; int p2 = p1+d; int p3 = p2+d; int p4 = p3+d;
int e = 60; int l1 = e; int l2 = l1+e; int l3 = l2+e; int l4 = l3+e;
int c = 50; int d1 = c; int d2 = d1+c; int d3 = d2+c; int d4 = d3+c;
int a = 30; int s1 = a; int s2 = s1+a; int s3 = s2+a; int s4 = s3+a;
int u = 5; int k1 = u; int k2 = k1+a; int k3 = k2+a; int k4 = k3+a;
int b = 10; int h1 = c; int h2 = h1+a; int h3 = h2+a; int h4 = h3+a; void setup(){ size(700,700); background(#eeeeee); fill(#AB3232);
}
void draw(){ background(0); fill(random(255),random(255),random(255));
translate(width/2,height/2); //translate(width/-2,height/-2); for(int a = 10; a<360; a += 5){ float x = random(80,330); float xx = random(50,650); pushMatrix(); rotate(radians(a/2)); rotate(radians(a/4)); rotate(radians(a/10)); rotate(radians(a/20)); rotate(radians(a/40)); rotate(radians(a*15)); rotate(radians(a*20)); rotate(radians(a*40)); rotate(radians(a*60));
line(p3,p3,p2,p3); line(p2,p3,p2,p2); line(p2,p2,p3,p2); line(p3,p2,p3,p3);
line(l3,l3,l2,l3); line(l2,l3,l2,l2); line(l2,l2,l3,l2); line(l3,l2,l3,l3);
line(d3,d3,d2,d3); line(d2,d3,d2,d3); line(d2,d2,d3,d2); line(d3,d2,d3,d3);
line(s3,s3,s2,s3); line(s2,s3,s2,s3); line(s2,s2,s3,s2); line(s3,s2,s3,s3);
line(h3,h3,h2,h3); line(h2,h3,h2,h3); line(h2,h2,h3,h2); line(h3,h2,h3,h3);
line(k3,k3,k2,k3); line(k2,k3,k2,k3); line(h2,h2,h3,h2); line(k3,k2,k3,k3);
//ellipse(90,20,20,-20); //line(x,20,xx,-20); //line(x,20,xx,-20); stroke(random(255),random(255),random(255)); strokeWeight(1); //strokeCap(CORNER); popMatrix(); } }
void keyPressed(){ redraw(); }
TRIAL #10:
With this trial, I wanted to attempt to create a circle with the lines and have another pair of lines overlap it, leaving the middle hollow.
CODE:
void setup(){ size(700,700); background(#aaaaaa);
}
void draw(){ background(#aaaaaa);
//mouseX = constrain(mouseX,10,width); //mouseY = constrain(mouseY,10,height) translate(width/2,height/2); //translate(width/-2,height/-2); for(int a =5; a<360; a += 3){ float x = random(180,330); float xx = random(110,600); pushMatrix(); rotate(radians(a)); line(90,x,70,-200); //line(0,xx,-0,0); stroke(660,780,660); strokeWeight(2); strokeCap(CORNER); popMatrix(); } }
void keyPressed(){ redraw(); }
TRIAL #9:
With this trial, I used the same code but altered the lines.
CODE:
void setup(){ size(700,700); background(#aaaaaa);
}
void draw(){ background(#aaaaaa);
//mouseX = constrain(mouseX,10,width); //mouseY = constrain(mouseY,10,height) translate(width/2,height/2); //translate(width/-2,height/-2); for(int a =5; a<360; a += 3){ float x = random(180,330); float xx = random(110,600); pushMatrix(); rotate(radians(a)); line(90,x,70,x); //line(0,xx,-0,0); stroke(660,780,660); strokeWeight(2); strokeCap(CORNER); popMatrix(); } }
void keyPressed(){ redraw(); }
TRIAL #8:
With this trial, I introduced ellipse to the code and duplicated another line in order to start experimenting with the last semester’s drawing. I also altered the color of the lines and had a color stroke to the ellipse which I never knew was possible up until I tried this out.
CODE
void setup(){ size(700,700); background(#aaaaaa);
}
void draw(){ background(#aaaaaa);
//mouseX = constrain(mouseX,10,width); //mouseY = constrain(mouseY,10,height) translate(width/2,height/2); //translate(width/-2,height/-2); for(int a =5; a<360; a += 3){ float x = random(180,330); float xx = random(110,600); pushMatrix(); rotate(radians(a)); line(x,20,xx,-20); ellipse(90,xx,20,-20); //line(0,xx,-0,0); stroke(120,780,340); strokeWeight(1); strokeCap(CORNER); popMatrix(); } }
void keyPressed(){ redraw(); }
TRIAL #7:
By using the previous code, I altered the lines to create more dimension.
CODE:
void setup(){ size(700,700); background(#aaaaaa);
}
void draw(){ background(#aaaaaa);
//mouseX = constrain(mouseX,10,width); //mouseY = constrain(mouseY,10,height) translate(width/2,height/2); //translate(width/-2,height/-2); for(int a =5; a<360; a += 3){ float x = random(180,330); float xx = random(110,600); pushMatrix(); rotate(radians(a)); line(-90,200,70,-200); //line(0,xx,-0,0); stroke(660,780,660); strokeWeight(2); strokeCap(CORNER); popMatrix(); } }
void keyPressed(){ redraw(); }
TRIAL #6
Moving away from semi-circles, I wanted to explore the possibilities of lines and how shapes could be integrated through them. In this code, I used rotation to create movement with the lines and I applied color into them.
CODE:
void setup(){ size(600,600); background(#aaaaaa);
}
void draw(){ background(#aaaaaa);
//mouseX = constrain(mouseX,10,width); //mouseY = constrain(mouseY,10,height) translate(width/2,height/2); //translate(width/-2,height/-2); for(int a =5; a<360; a += 3){ float x = random(180,330); float xx = random(110,600); pushMatrix(); rotate(radians(a)); line(-9,xx,xx,9); //line(0,xx,-0,0); stroke(-300,780,-300); strokeWeight(2); strokeCap(CORNER); popMatrix(); } }
void keyPressed(){ redraw(); }
Before adjusting the code to turn the semi-circles into circles, I had them overlap to see what effect it would give.
For this trial, I wanted to get rid of the semi-circle so I adjusted the code in order to turn them into circles.
more of yesterday’s experiment
After experimenting with lines and grides, I got a tad excited and started experimenting with different line weight and line styles.
(will be posting more of this experiment).
Week 6:
So for this week, I wanted to experiment with generative drawings through coding especially after our first project last semester.
I started off by experimenting with lines and the shapes that could be formed with them,