WebGL Rotating Square Plane

Tap the Play Button or Canvas

Your browser doesn't support canvas.

Tap the Play button. The square rotates around the Z axis. Tap the canvas or Change Colors button for random color changes as the square rotates by one frame.

Basic WebGL Examples

  1. Display a triangle.
  2. Render a square plane.
  3. Interactively change colors on a square plane.
  4. Rotate a square.
  5. Animate two intersecting square planes.
  6. Animate, rotate, and dynamically change colors, on multiple square planes.
Learn 3D Programming Learn 3D Programming
Copyright © 2015 Seven Thunder Software. All Rights Reserved.