Pika 3D Dice
A 3D cube displays a Pikachu face texture on all sides, rendered as a spinning dice above a checkerboard ground. The visualization uses Three.js for WebGL rendering, a CanvasTexture generated from a D3-drawn SVG, and OrbitControls for camera interaction. D3’s zoom behavior also applies incremental rotation, while keyboard controls move the cube. A point light and shadow effects enhance the scene's depth.
AI-generated descriptionThis a a variant of the previous developed Viz Pikachu Face. Instead of having the the face on a 2D environment, the face was plotted onto a 3D box from Three.js lib. This was for learning purpose, and still some features were missing, that will be added on futures revisions.
Controls:
- Pressed Right mouse click, rorate the camera. Note is a little glitch since the object is rotating at the same time.
- Pressed Right mouse click, moved the camera in x and z axis.
- Scroll to move the camera in y axis.
- Spacebar to reset the view.
A 3D scatter plot using Three.js and D3.
Canvas technique described in Scaling HTML canvases for HiDPI screens.