/fractal-datapack

Primary LanguagemcfunctionGNU General Public License v3.0GPL-3.0

fractal-datapack

This datapack allows the user to create various fractals in Minecraft. Currently, the only supported fractals are the Sierpinski Triangle and the Mandelbrot set. To use, download Fractals.zip, and place in the datapacks folder of your minecraft world.

Mandelbrot

To render the Mandelbrot set, run the command /function mandelbrot:give_markers. Use the spawn eggs to set the frame of reference, then throw the green potion to start rendering. The red potion will stop the current render, and the yellow potion will clear the render.

Sierpinski

The Sierpinski triangle is currently a lot less polished. To run, place armor stands at the corners of the triangle you'd like to create. Tag these corners as such with /tag @e[type=armor_stand,sort=nearest,limit=1] add corner. Then, place another armor stand somewhere within the triangle and tag it as the pointer with /tag @e[type=armor_stand,sort=nearest,limit=1] add corner. Start the render with /function sierpinski:start, and stop it with /function sierpinski:stop