Alex CoulombePresents
← all repos

mandelbulb-xr

1

A living, ever-mutating Mandelbulb fractal — one GLSL core, running everywhere from Shadertoy to a Vision Pro streamed over CloudXR.

The story

Most animated Mandelbulbs ping-pong their 'power' parameter on a single sine wave, so the shape visibly reverses and repeats. This one wanders quasi-periodically across two incommensurate sines instead, so it morphs organically and never obviously loops. One canonical GLSL core drives four variants — paste-and-go Shadertoy, a WebGL2 build that runs in any browser or WebXR headset, a LÖVR build you can walk around on Quest standalone, and an OpenXR/D3D11 port (a line-for-line HLSL translation of the same core) for SteamVR, WMR, or CloudXR streaming straight to Apple Vision Pro.

Highlights

  • Power parameter wanders across two incommensurate sines — never obviously repeats
  • One canonical GLSL core, four variants: Shadertoy, WebGL2/WebXR, LÖVR, OpenXR/D3D11
  • D3D11 variant is a line-for-line HLSL port of the same shared core
  • CloudXR streaming variant reaches Apple Vision Pro from a PC render
  • Live in the browser, zero install — drag to orbit
$ git clone https://github.com/ibrews/mandelbulb-xr.git