imgur album - WIP GitHub repository

Introduction

Several years ago, I watched a music video on YouTube of a flight through a mandelbox. The architectural features of the mandelbox inspired me to want to generate fractals in Minecraft. I achieved that goal through a WorldEdit script, though what I truly wanted were massive, world-size fractal objects to explore. Minecraft's 256-height limit and obtuse modding API was a major turnoff to this, so I made my own Voxel Engine in Java. Making this engine taught me a lot. I later made a much faster and cleaner engine in C++ using SDL. I've generated some awesome fractal images with this engine. (1, 2, 3)

However, part of what I wanted was to be able to interact with a fractal world. I recently found out about Minetest, which has brought me full circle back to my original idea - generating fractal worlds to mine, explore, and build in.

The Project

The project will come in two stages. The first stage is using the Lua modding API to make world generation code as a proof of concept. The second stage is native integration into the base game as new world generation modes, including biome and seed support.

Progress

**Stage 1 (in progress)**

- Menger Sponge ✔
- Cantor Dust ✔
- Mandelbulb ✔
- Mandelbox ✔
- Octahedron Fractal ✔
- Quadratic Koch Surface ✔
- 3d Greek Cross Fractal ✔
- Fractal Pyramid ✔
- Jerusalem Cube The fractal uses an irrational scaling value, and thus has no good volumetric representation.
- 3d Koch Curve Triangles really don't translate well volumetrically. Going to skip this for now.
- Koch Cube ✔
- Koch Snowflake Cube ✔
- Penta Sponge ✔
- H Sponge ✔
- Cube Tree (and variations) ✔
- Hypercomplex Julia Set
- 3d Hilbert Curve ✔
- 3d Peano Curve
- Pythagoras Tree
- Sphere Tree ✔

**Stage 2**

**Mandelbox**: Generates a Mandelbox the size of the entire world.**Mandelbulb**: Generates a Mandelbulb the size of the entire world.**Fractal biomes**: Create fractal biome palettes and support multiple fractal "biomes".**Parameter seeds**: Map seed values to fractal parameters.**o****Fractal garden**: Generates a variety of fractals at various sizes throughout the world.

Any help is appreciated!

- Mator