Labels

Thursday, 31 May 2012

DSDN 142 - Coloured?

Here I have chosen to add colour to my code. To be honest I dont think I have chosen the correct colours for this but for now this is just to show you my process. The blue is meant to represent electricity and the red inside is just the orignal colour and just represents that the object can bounce of the main ellipse. It also still has a blue stroke around it because I want to get the feeling of infection and when the objects hit the main ellipse they get propelled back as if they just got an electric shock. Oh, and one more thing I'm doing at the moment is creating a new ellipse for the main object in my code. I want to create some kind of electical shock device or something very abstract to represent that.
No Click

Clicked and held

DSDN 111 - IMPORTANT UPDATE

:( Okay... So just had class and now I have been told my work is on a too big of a scale so now I have to start again and scale it down. Also, apparently I have to make everything myself so I can't use hinges even after puttying the holes and sanding them down, then spray painting them black 3 times. So now I have chosen to use wood to create that hinge movement and also going to make it on a smaller scale.

So now I have gone completely off the topic of making plastic balls and now I want to make a model that has a naturalistic feeling to it by using wood and then maybe finish it off which a wood furnishing gloss. I think that this idea is much better than the balls because it's more simple and simple is good!!

DSDN 142 - New code

Here we have some new rotational code which makes the "lollies" twirl but again I think I might change lollies to some kind of insect.

CODE:
void Thecircle() {
    pushMatrix();
    translate(x, y);
    rotate(rot);
    rot = rot+0.1;
    translate(-x, -y);
    ellipse(x, y, 20, 20);
    rect(x+5, y+5, 10, 10);
    rect(x-5, y-5, 10, 10);
    rect(x-15, y-15, 10, 10);
    popMatrix();
  }
}  
And also here are some images of my process when the mouse is clicked and not clicked.

No click
Clicked and held

DSDN 142 - ideas/code

Now I have had some help and new ideas are flowing through my head. I've made these objects that almost look like lollies but when I click the mouse they go faster and look like some kind of insect. So I'm thinking of changing the lollie shape to more of an inscect shape and also I think I might change the face to an object that insects(fly's) hate or can bounce off. Anyway here is another new collide code and it bounces of my face and all of the objects avoid the face .


NEW COLLIDE CODE:

void collide() {
    if (mousePressed == true) {
      if (dist(ellipsex, ellipsey, x, y)< A) {
        speedX = speedX * -1;
        speedY = speedY * -1;
      }

      while (dist (ellipsex, ellipsey, x, y)< A) {
        movement();
      }
    }
  }

DSDN 142 - Shimmering code (semi interactive)

Move mouse whislt clicking and you'll find out ya self :) It shimmer's when you run the code and half of the objects try to aboid the mouse. Still need to figure out how they all could bounce of the mouse instead of avoiding it.

NEW PART OF CODE:
class Circle {
  float x = 50;
  float y = 500;
  float speedX = 3;
  float speedY = 0.2;

  Circle(float xx, float yy) {
    x = xx;
    y = yy;
  }
  void play() {
    Thecircle();
    movement();
    bouncing();
    force();
    collide();
  }
 
  void collide(){
   if(dist(A,ellipsex,A,ellipsey)<50){
      speedX = speedX * -1;
      }
  
 }



Also I'm thinking of replacing the face with some other

DSDN 111 - Final model progress

.



So here is a sneak peak at the progress of more of my final model. Here you can see the ball shape I want to create in a really simple form and the other two pictures are the base's for the ball shapes. I'm waiting for my spray painted hinges to dry over night to connect them all and then create the balls around the hinges.



I have also come upon a problem. I need to make the hinges more stiff so you have to apply pressure to move them because right now its just free flowing until it hits the restriction point and I want to make that stiff and harder to move. Also I need to make a rotational movement with a handle or something completely different that is hard to explain at the moment.

Wednesday, 30 May 2012

DSDN 111 -Final model talk

Okay, so.. my final model materials are going to be :
-Metal
-Wood
-Polypropylene

I have chosen these materials because I want to explore more about them and what my limits would be. I was originally going to use white foam board but I got told to use a "REAL" material so I am using metal, wood and polypropylene.

Here is my model under construction at the moment. Here I have bought some door hinges in different sizes. They originally had holes in them so I had to fill them with special building putty and sand them down. Then now here you can see I'm up to the spray painting stage. I'm using a black gloss spray paint to make sure my metal doesn't scratch on anything.     





I decided to use door hinges because of there triangular shape and also that there is a restricted movement in the hinge so it can only go so far which is good because in the finger there is restriction and this is one way of showing that.

The hinges will be in the middle of the model and then the circular balls will be on the outside of each hinge showing that movement. Also I will make a "key" to created a rotational movement.
This will all make sense once you can see the final model. :)