whatisgithub

What is mandelbulb-xr?

ibrews/mandelbulb-xr — explained in plain English

Analysis updated 2026-05-18

0GLSLAudience · developerComplexity · 3/5LicenseSetup · moderate

In one sentence

A raymarched 3D Mandelbulb fractal that slowly evolves over time, with one shared GLSL core running in the browser, Shadertoy, and VR headsets.

Mindmap

mindmap
  root((repo))
    What it does
      Renders Mandelbulb fractal
      Evolves shape over time
      Runs across platforms
    Tech stack
      GLSL
      WebGL
      OpenXR
      HLSL
    Use cases
      View fractal in browser
      Explore fractal in VR
    Audience
      Creative coders
      VR enthusiasts

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

View a slowly evolving 3D fractal directly in a web browser with no install.

USE CASE 2

Paste the fractal shader into Shadertoy to experiment with it.

USE CASE 3

Walk around the fractal in virtual reality on a Quest, PCVR headset, or Apple Vision Pro via streaming.

What is it built with?

GLSLWebGLOpenXRHLSLDirect3D 11

How does it compare?

ibrews/mandelbulb-xrzalo/locusluciselisaliman/ghostty-shaders
Stars0315
LanguageGLSLGLSLGLSL
Last pushed2023-07-11
MaintenanceDormant
Setup difficultymoderateeasyeasy
Complexity3/53/51/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

The web and Shadertoy variants need no install, VR variants require LOVR, OpenXR, or CloudXR setup depending on the headset.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

Mandelbulb-xr renders a Mandelbulb, a three dimensional version of the well known Mandelbrot fractal, and keeps it slowly changing shape rather than staying still. Most animated versions of this fractal simply move one setting back and forth on a single repeating wave, so the shape reverses in an obvious loop. This project instead moves that setting using two waves that never line up in a repeating pattern, so the fractal drifts and morphs in a way that does not visibly repeat or reverse. At the center of the project is one shared piece of graphics code, written in GLSL, the shading language used for rendering effects like this on a graphics card. Around that shared core, the project provides several thin wrappers so the same fractal can run in different places. You can try it instantly in a web browser with no install, where you can drag to rotate the view and it works on both desktop and mobile devices. You can also copy the Shadertoy version and paste it directly into the Shadertoy website to run it there. Beyond the browser, there is a version built with a framework called LOVR that runs as an actual virtual reality scene you can walk around in on Windows, macOS, Linux, or a standalone Quest headset, and another version built on OpenXR and Direct3D 11 for PC based virtual reality headsets, which can also be streamed to an Apple Vision Pro headset using CloudXR. Because GLSL is shared across the Shadertoy, web, and LOVR versions, and the OpenXR version is a close port of the same logic into HLSL, someone wanting to add support for a new platform mainly needs to set up a camera and a main function around the shared core file, rather than rewriting the fractal itself. The project credits its distance estimation and orbit trap coloring technique to prior published work on Mandelbulb rendering, and adds its own contribution on top: the shared portable core, the slowly wandering evolution, and the virtual and augmented reality streaming variants. It is released under the MIT license.

Copy-paste prompts

Prompt 1
Explain how the two incommensurate sines make this Mandelbulb evolve without repeating.
Prompt 2
Walk me through adding a new platform variant around the shared core/mandelbulb.glsl file.
Prompt 3
Help me set up the LOVR variant so I can view mandelbulb-xr in VR on my Quest.
Prompt 4
What does each parameter in core/PARAMETERS.md control in the Mandelbulb rendering?

Frequently asked questions

What is mandelbulb-xr?

A raymarched 3D Mandelbulb fractal that slowly evolves over time, with one shared GLSL core running in the browser, Shadertoy, and VR headsets.

What language is mandelbulb-xr written in?

Mainly GLSL. The stack also includes GLSL, WebGL, OpenXR.

What license does mandelbulb-xr use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is mandelbulb-xr to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is mandelbulb-xr for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.