Tuesday, October 12, 2010

Progression of idea

As from my previous blog entry you could see the particle system i created. I used a very basic set of values in the particle classes to include just the direction and velocity which updates its self at a normal frame rate. This worked well but what i whated was the interaction between other placeholders. In this sketch i havent yet created movable placeholders but there is one static point while the mouse can move to interact with it.

As you can see in the other placeholder(blue) is a very mechanical movement as the placeholder didnt move to give the desired effect of the (green)



Here we have the two placeholders interacting quite well. This was done in the code as a simple if statement continually checking the distance of the closet placeholder to each particle. For example if a green particle gains a high 'orbit' around the green placeholder but comes into contact of the others field or (400px) the velocity changes and the new direction it takes is towards the blue placeholder. While this is not a conventional gravity system it effectively gives it illusion.


Here is the after math of such an encounter with another of the placeholders in the system. This was the desired effect i wished to obtain in the program. This is what the social input aspect of the design is based around to give evidence of which placeholder or 'glass' has been in contact with each other as a fun social gimmick.

No comments:

Post a Comment