Wednesday, 16 July 2014

Week 1 – Intro to Coding with three.js playGnd

http://threejsplaygnd.brangerbriz.net/s/?id=984
Pink Frosting
This is my very first code. Here I looked at leaving a trail between two fixed points and rotating on the z axis.



In the graphics to code interface [gui] you start of with a cube which then you can start to manipulate. There are also other functions such as the torus (donut) or sphere, etc. Here I have changed the radius, the size of the tube and the arcs. You can also add or subtract the radial segments and tubular segments. Then you can manipulate the material/ colour and these come in code form/ numbers but you can also elect them by hovering over the number and a colour pad comes up. Putting it into the editor is very easy just copy and paste. Then one can play around with the snippets.

Sadly I didn't quite save the one below right, or I did and didn't note down the link. 



No comments:

Post a Comment