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. :) 

Tuesday, 29 May 2012

DSDN 111 - Material ideas?

I'm might be going to use polypropylene and bronze wires. Also I will use hinges to created the movements and created a turning device out of wire or some sort of tough/flexible material.
In these images I have made an object out of polypropylene. These two images are showing the rotational movement. (twirling the wire).


Monday, 28 May 2012

DSDN 142 -Finally collision!!

YAAAAAAAAAAAY :) Now time to introduce this to my main code.

CODE:
int ball = 20;
int ball2 = 20;
float xpos = 0;
float ypos = 230;
int xdirection = 1;
void setup(){
  size(500,500);
  smooth();
}
void draw(){
  background(0);
 
  xpos = xpos + xdirection;
 
  if(xpos > 470){
  xdirection = xdirection * - 1;
  }
    if(xpos < 0){
      xdirection = xdirection * -1;
     
    }
      if(dist(ball,xpos,ball2,ypos) <15){
        xdirection = xdirection * -1;
}
ellipse(xpos+ball, ypos+ball,ball,ball);
ellipse(ypos+ball2, xpos+ball2,ball2,ball2);
fill(255);
}

So now I have finally figured how to make them collide and reflect off each other. And now it turns out it was really simple :/ But now I understand it completley and ready to explore more in my code.

DSDN 142 - Stuck :/

So here I have a problem of trying to get objects to collide with each other so now i'm going to try create a new processing application with a ball bouncing of the sides of the walls. then ill add another ball to hit that ball and make that reflect to. So it will be like two ball colliding in the middle of the screen and bouncing back to the wall then so on and so on.

Progress so far. CODE:
int ball = 20;
float xpos = 0;
float ypos = 200;
int xdirection = 10;
void setup(){
  size(500,500);
  smooth();
}
void draw(){
  background(0);
 
  xpos = xpos + xdirection;
 
  if(xpos > width){
  xdirection = xdirection * - 1;
  }
    if(xpos < 0){
      xdirection = xdirection * -1;
}
ellipse(xpos+ball, ypos+ball,ball,ball);
fill(255);
}

DSDN 101 - Group work 2



KASI - Statement.

KASI is a leading New Zealand sporting and athletic gear supplier. KASI’s mission is to make all New Zealand athletes better through our passion, design and relentless pursuit of innovation. The objective of this advertisement is to show that even when an athlete is tired and sore KASI provides the inspiration for them to keep on moving. At KASI we help you turn your dreams into reality; from kids to Olympians we’re with you, all the way.


Group work has been done by : Kyle Berkland, Nick Wellwood, Time Jurie.

Thursday, 24 May 2012

DSDN 111 - New model I have made.

Here is my new model I have created and a few steps I took to create it.
I'm focusing on the up and down movement of the finger and also the rotational movement at the start of the finger. I think this model has been produced well and relates alot to my A3 drawing.

Okay, so these first 3 images is me creating bits of the model. I'm using paper and iron wire/tape in this model.

 

 





















Here is the end result, I had to use tape to connect the objects together and to also get the up and down movement. Also by spinning the wire I get that rotational movement in my object.  

Also if you didn't know what joint I have, I have got the finger.

DSDN 142 - Good or bad idea?

Alright so... just thought i'd post this..
So first of all instead of circles I have made a new shape which almost looks like a candy wrapper.
I have done this to create something more exciting than cirlces bouncing... So I added a few squares to it to keep you interested :)

I have created a new funtion where if you press the mouse, the 'Candy Wrapper's' (circles) increase there speed.
CODE:

 void movement() {
    x = x + speedX;
    y = y + speedY;
     if(mousePressed == true){
     x = x + speedX+0.1;
     y = y + speedY+0.1;
  }
  }

I thought this was a good idea because it would give you more of a challenge to hit them away.

Tuesday, 22 May 2012

DSDN - 111 - Models and development.

Here are some of my model and ideas of the finger I did in class today.

Here is just a quick sketch of what I wanted to make and how it would rotate. I was planning to use paper and wire for now until I go buy some more materials.











Here I have made a plan and now I am ruling out some cubes as you can see in image 1, and now you can see 4 photos of "empty" squares which I was practice and also was going to use with wire and tread them through to create the model.






I made new cubes which were closed so it was a 3dimensional cube which was 50x50x50. I also used some white foam board to create a "replacement wire" to thread the squares together. When I turned the foam board sticking out of the big square, it made a rotational movement. and when I moved the little squares it made a up and down movement. This is exactly what i was going for and they are good testers for now!












DSDN-111 Photo's so far. (Joint I have got = Finger)




Here are my photo's so far of my project. 
These could be added to a contact sheet. But I'm still not finished in developing.

So first of here is my idea's and brainstorms of my joint which is the Finger!
I am focusing on the movement from the start of the finger which is a rotational movement and also the movement in the joints in the finger which is a up and down movement. 











Here we have my A3 abstract drawing of a finger so far. I got told I have to add more stuff to my drawing and just keep adding and adding to it. Okay so explaining my work, the circular part of my drawing is the rotational movement of the finger where the finger starts, and the 4 straight lines are representing the fingers and the curve (3/4's of a circle) is representing the movement from the joints in the finger which is a up and down movement.   
















And last of all here is the full view of my A3 Abstract Drawing.




DSDN 171 - Blog 5 ideas!

Here are some places I am thinking about at the moment.  (These are just 3 ideas so far.)

 Option #1
Here is the New Zealand Academy Of Fine Arts building.

































Option #2

Here we have the Wellington City Gallrey. (Next to the Silver Fern Ball by Neil Dawson)



Option #3

The Wellington War Memorial.