Mr Speaker


Warning: count(): Parameter must be an array or an object that implements Countable in /home/mrspeak/public_html/wp-content/themes/stuartspeaker/functions.php on line 24

Warning: count(): Parameter must be an array or an object that implements Countable in /home/mrspeak/public_html/wp-content/themes/stuartspeaker/functions.php on line 27

Warning: count(): Parameter must be an array or an object that implements Countable in /home/mrspeak/public_html/wp-content/themes/stuartspeaker/functions.php on line 29

WebGL2 Voxels

I made a minecraft-y voxel world in WebGL2 a while back... just realised it's not on the blog. Now it is!

WebGL2 Voxels

The code is on GitHub, and my favourite thing about it: pure JavaScript - no dot files, no pacakge.json, no build files, no... nothin'. Just double click index.html (and/or view-source) - like the old days! I'm pretty happy that JavaScript Native Modules are finally ubiquitous.

I'll hopefully write this up a bit more soon - because I want to remember how I did the chunk generation! The basic architecture was inspired from this excellent (and massive!) WebGL series by SketchPunkLabs.

The voxel world also served as a base for my spooooky simultaneous 2D/3D game: Obaké.


Warning: count(): Parameter must be an array or an object that implements Countable in /home/mrspeak/public_html/wp-content/themes/stuartspeaker/functions.php on line 33
Captcha! Please type 'radical' here: *
How did you find this thingo? *