peter nitsch.net

peternitsch.net

Exploring a Mandelbox with WebGL

WebGL Mandelbox Explorer

Note: This demo requires a WebGL capable browser. Installation instructions can be found at Learning WebGL or the WebGL Wiki.

This weekend I put the finishing touches on a WebGL Mandelbox explorer I’ve been tinkering with for the past week or so. If you’re interested in the mathematics, Tom Lowes who wrote the Mandelbox formula does a good job explaining it in detail on his site. I’ve been captivated with the pattern ever since watching Krzysztof Marczak’s amazing Mandelbox trip on YouTube (a must-see).

Traversing a 3D Mandelbox in real-time is intensive on any platform, but WebGL does a fairly good job thanks to the GPU. I still need to lower the fractal iterations upon interaction, but that was expected. Rrrola was nice enough to post some source for his real-time explorer, which I ported to this version. I’ll add my own refinements over time as I get more comfortable with the formula.

There is plenty of room for refinement, but basic mouse and keyboard movement controls make exploration fairly simple. Things like camera viewing angles will be patched in over time.

This will be an evolving project. If you stumble upon any bugs or have suggestions, I’d love to hear them.

Category: WebGL

Tagged: , , ,

2 Responses

  1. [...] This post was mentioned on Twitter by peter_nitsch, Siroko, proppy, Ultra Red, karannnnnnnnnnn3 and others. karannnnnnnnnnn3 said: Exploring a Mandelbox with WebGL: WebGL Mandelbox Explorer Note: This demo requires a WebGL capable browser. Insta… http://bit.ly/aRnkQa [...]

  2. nicoptere says:

    simply beautiful and very fast too.

    I love the result with a low steps count ; it creates interesting shapes (less mathematical) and some kind of “bloom” effect.
    a more sophisticated camera would be great indeed :)
    well done, keep up!

Leave a Reply