/cube-bubbles-geometry

3D geometry animation in THREE.js

Primary LanguageHTML

3D geometry animation in THREE.js

Simple 3D gemetry with rotating balls inside rotating cube and whirling lights in THREE.js.

Features:

  • Two cameras:
    1. Wathing scene
    2. Watching cube
  • Three types of cube shading:
    1. Gouraud shading
    2. Phong shading
    3. Constant shading
  • Day-Night change mode
  • Fog mode
  • Disappearance of light with distance

Fog mode

Night mode Day Mode