Looping boxes
In this code I started with a basic cube, added a water texture this time instead of a colour. Here I simply copied and pasted the code from the snippets menu, so that multiple cubes loop and leave a trails. I kind of would like the trails not to be so fuzzy and more precise but I think this is due the cubes having no outlines of the edges. The main square in the centre is also rotating on its own axis.
The Green Spiral
The torus knot function is a pretty good one to manipulate into different forms. Here I also played around with the different lights. In the editor I looked at leaving a trail and to do that I replaced line 27 'renderer = new..' with this code // renderer = new THREE.WebGLRenderer({preserveDrawingBuffer: true } );renderer.autoClearColor = false;
Then I arranged the camera position so it swings backwards and forwards.
http://threejsplaygnd.brangerbriz.net/s/?id=1187
Bouncing Purple Donuts
Here I started with a basic donut shape and wanted to make them bounce up and down. Then I looked at rotating them all on the same axis through the camera position. Weirdly though the main donut shape rotate itself and doesn't bounce with the others. Also when I delete that one they all disappear. It kind of makes it a game find the odd one even though its fixed in the centre point. You could try and make it move randomly to actually make it a weird game.
Bouncing Purple Donuts
Here I started with a basic donut shape and wanted to make them bounce up and down. Then I looked at rotating them all on the same axis through the camera position. Weirdly though the main donut shape rotate itself and doesn't bounce with the others. Also when I delete that one they all disappear. It kind of makes it a game find the odd one even though its fixed in the centre point. You could try and make it move randomly to actually make it a weird game.









No comments:
Post a Comment