Here’s my self portrait:
This actually contains the same information as the following image:
Here’s my self portrait:
This actually contains the same information as the following image:
Forget about Photoshop. The newest, bestest drawing software out there is none other than IM-Shop 2015! Create your own masterpieces in this OPEN SOURCE SOFTWARE!!!1!! Key features include:
I wanted to paint
Scott taught me Processing skills
Now I’m limitless
For my self-portrait project, I wanted to make a machine that in a way replicated the shading tool cross-hatching to create new shades and dimension into images. I coded lines that crossed together at various lengths and amounts, then turned these into 4 main drawing tools. You access the erasing shade by pressing ‘c’, the small white shading tool with ‘b’, and the dark cross hatching with ‘v’. Finally, if you press and hold the mouse, you activate the large ‘X’ tool for some interesting shades and patterns. With these four drawing tools, I played around to make the side of a face with new values and seeing how the overlap of these tools combined created new dimension.
void setup(){ size(1000,1000); background(225); } void draw(){ float x = mouseX; float y = mouseY; if (keyPressed){ if(key =='v' || key == 'V'){ stroke(0); line(x,y,x+30,y-30); line(x+10,y,x+40,y-30); line(x+20,y,x+50,y-30); line(x+30,y,x+60,y-30); line(x+5,y-15,x+35,y+5); line(x+5,y-25,x+40,y); line(x+15,y-25,x+45,y-5); line(x+25,y-25,x+50,y-10); line(x+35,y-25,x+55,y-15); } } if(mousePressed == true){ stroke(0); line(x,y,x+60,y-60); line(x,y-60,x+60,y); } if(keyPressed){ if(key == 'b' || key == 'B'){ stroke(255); line(x,y,x+5,y-5); line(x,y-5,x+5,y); } } if(keyPressed){ if(key == 'c' || key == 'C'){ stroke(225); line(x,y,x+30,y-30); line(x+10,y,x+40,y-30); line(x+20,y,x+50,y-30); line(x+30,y,x+60,y-30); line(x+5,y-15,x+35,y+5); line(x+5,y-25,x+40,y); line(x+15,y-25,x+45,y-5); line(x+25,y-25,x+50,y-10); line(x+35,y-25,x+55,y-15); } } }
I made a machine imitating one of the dance moves. This guy can move his head sideways.
I initially wanted to imitate the graceful movement of a bird’s wings flapping to a certain pattern. However due to my materials and construction efforts, instead I made an extremely aggressive bird, which is fitting as October 31st is approaching anyway.
The setup with the coding is very basic; I simply wrote two loops for two servo motors to move up and down at progressing speeds. It’s slightly slower as the servos move upwards in an attempt to replicate the pattern of bird wings flapping. Then, I attached the cardboard wings and tried creating a stable structure to support these motors. The construction is definitely lacking; tape is far too weak to hold up against the consistently moving motors, which proved rather heavy for the support. If anything, the construction was the most challenging. However, for getting the idea across for the movement, the project was relatively successful. I would like to continue working with servo motors in the future to make more graceful structures; so this will definitely be something I revisit.
#include <Servo.h> Servo servo; Servo servo2; int position = 0; void setup() { // put your setup code here, to run once: servo.attach(9); servo2.attach(10); } void loop() { // put your main code here, to run repeatedly: for (position = 0; position <=180; position +=1){ servo2.write(position); delay(2); } for(position = 180; position>=0; position -=1){ servo2.write(position); delay(1); } for (position = 0; position <=180; position +=1){ servo.write(position); delay(2); } for(position = 180; position>=0; position -=1){ servo.write(position); delay(1); } }
For this week’s assignment, we need to imitate a human gesture with servo motors. The first thing that comes to my mind is the motion that involves hands. At that time I could not find more motors, so I just used the one in my kit. The whole idea is to make a baseball foam cardboard finger that swings from left to right and comes back to the initial position.
Here’s what we covered in the first class with Processing:
For this week’s procect we were supposed to imitate some movement of a human or animal. First, I was considering creating a cyclist but even though I had a clear idea how to make its legs move, I realized it would be rather hard to hide the servo and I was also unable to come up with an idea for the part where the legs join the body (the legs would have had to be bendable and movable). Then, I touhgt of creating a walking person. Although this would have fixed my problem with the leg joints, I had to drop the idea as syncing the movement of the legs proved to be too difficult. So I ended up creating a person that is sweeping. Continue reading “Sweeping”
For my stupid pet trick, I was planning on creating a head that “lives” in a box, which can be opened in multiple ways, to arrive at different questions the head would ask each time. However, using servos for even the rotating display of the question proved to be difficult (due to the weight of the component), thus I changed my project and turned it into an interactive and friendly head, Completely Bodiless Nick. Different inputs, for instance a “high five”, make him react in different ways. Continue reading “Completely Bodiless Nick”