Sunday 20 May 2012

CODING - FUTHER EXPERIMENTS FOR WEB

Thought i'd have another go at cracking the coding for the website, experimenting with different coding language to try to create the javascript id hope to create. However i was left with another un succesful experiments, still managed to create some interesting outcomes, the first one is a programme which draws a line following the motion of the mouse, pretty cool but not the desired programme i wish to create.




With this coding experiment i felt i got a little closer to the outcome that i wanted to produce, i managed to store the co-ordinates of the current triangle which would be the beggining triangle that forms these shapes, then what i needed to do was draw a line for the current mouse position to the nearest two points of the stored triangle which would make the next current triangle, i managed to do this however i couldnt get the process to loop, instead it just made a series of traingles coming from the original and filling the screen and they followed the mouse movement. Almost there i think.






No comments:

Post a Comment