/3d-spinning-shapes

Spin 3D shapes with the keyboard, uses three.js

Primary LanguageJavaScript

3D Spinning Shapes

3d-spinning-shapes-screen-capture

Use the keyboard the make the 3D cubes spin. When a key is held down a cube will accelerate. A cube will slow down when the key is released.

Usage

Run at: robertgz.github.io/3d-spinning-shapes

  • Make the lettered cubes spin by pressing the appropriate key on the keyboard.
    • Press and hold the key to spin the cube faster.
  • Supported Keys
    • q, w, e, r, t (spin the corresponding cube up)
    • a, s, d, f, g (spin the corresponding cube down)
  • Press the Space bar to spin the cubes in a random (up or down) direction and speed.

Technology used