Minecraft is the breakout indie game that combined simple game mechanics with an immersive, 3D sandbox experience. A WebGL demo shows that such an experience can be made possible in the browser.

In what is 850 lines of JavaScript combined with three.js, a leading WebGL library, visualization hacker AlteredQualia has recreated the basic Minecraft experience in the browser. There’s no interaction — no mining, monsters, or cute pigs or sheep — but you’re able to fly around using the W, A, S and D keys and by left- and right-clicking the mouse.

Even though WebGL might not achieve the same performance and beauty of games such as Halo or StarCraft, focusing on game mechanics can make even the simplest demo fun.

See: The demo.

Tagged with:
About The Author


Ian Langworth has been making web sites since before HTML had tables and Photoshop had layers. He wanted a single place to go for news and information related specifically to HTML5 and game development, but one didn't exist, so he started the HTML5 Grind.

  • http://twitter.com/SylvainPV Sylvain Pollet

    Here is my fork with day/night cycle, FPS camera and collision with ground and walls :


    • http://bioselement.com/ William Chambers

      Looking awesome. I’d love to get some of the various MC-style game devs together and work on something awesome. :D