JS: Minecraft 3D Demo

By Xah Lee. Date:

Minecraft4k JavaScript screenshot 2012
Minecraft4k JavaScript screenshot 2012

About the Code

It is written in by Markus Persson (aka Notch), the creator of the popular game Minecraft.

It is a simplified port of Minecraft4k. It is announced by Markus on Twitter at https://twitter.com/notch/status/275329867984302081. Original demoe link at http://jsdo.it/notch/dB1E. The license is “You may use the code in here for any purpose in any way you want, at your own risk.”

discussions:

some improvements for understanding. black and white, no camera movement http://jsfiddle.net/ter7G/, https://gist.github.com/antirez/4195130, by Salvatore Sanfilippo

another version for understanding. by alexhaefner. “I spent a moment and changed the arrays to Float32Arrays which have set sizes and sit in memory without being fucked with by the VM and sped the demo up dramatically.” http://jsfiddle.net/uzMPU/2612/

How Notch's JS Experiment Generates Its Textures in Code
Liket it? Put $5 at patreon.

Or, Buy JavaScript in Depth

If you have a question, put $5 at patreon and message me.