Live demo: Super Mario Galaxy

Return to original post From OpenGl to WebGL - My first 3D demos in JavaScript

Description

This WebGL demo renders a universe of spinning Super Mario Brothers mystery cube. The purpose of this demo is to demonstrate the use of a camera matrix, as well as to pay tribute to one of the best video games ever made: Super Mario Galaxy!

Controls:

  • arrow up = move forward
  • arrow down = move backwards
  • M = 5% more cubes
  • L = reset total cubes
  • R = rotate cloud