Tuesday, 16 August 2011

Tribute to MC Escher




Another distance field ray marching experiment in WebGL. Inspired by this interesting blog post on distance estimators.

Click the button below to see the interactive version. It's a bit glitchy, but I kind of like that.

Warning - not stable on all browsers! I recommend Firefox with the "webgl.prefer_gl" and "webgl.prefer-native-gl" preferences both set to "true" (type "about:config" into the address bar and filter for "webgl"), or Chrome launched with "--use-gl=desktop" on the command line.

Update - fix for stupid WebGL shader validator.


Your browser doesn't appear to support the HTML5 <canvas> element.

No comments: