2D plane sits in 3D space with text layers floating in front of it. As the cursor moves the 2D plane rotates arounds its centre.
Parallax.js reacts to the orientation of your smart device, offsetting layers depending on their depth within a scene... Oh, you don't have a smart device? No worries, if no gyroscope or motion detection hardware is available, parallax.jsuses the position of your cursor instead. Radical. (more…)
JSModeler contains a built-in viewer to show models. The viewer needs the Three.js framework, and we can initialize it for an existing canvas in the onload event of the page. If we have a canvas with an id "example", we can use the following code to initialize the viewer. (more…)
The aim of the project is to create a lightweight 3D library with a very low level of complexity — in other words, for dummies. The library provides canvas, svg, CSS3D and WebGL renderers. This code creates a scene, a camera, and a geometric cube, and it adds the cube to the scene. (more…)