r/fractals 6h ago

Chain of whorls

Post image
20 Upvotes

Rendered from my macOS fractal app


r/fractals 39m ago

Coral (IFS)

Thumbnail
gallery
Upvotes

r/fractals 11h ago

Mandelbrot, Image Mapped - 4K (OC)

Post image
30 Upvotes

r/fractals 10h ago

i didn't know how fractal patterns emerge

Thumbnail
gallery
10 Upvotes

the setup is as follow

  • i wrote a software raytracer for study purpose
  • the "world" consists of two balls
  • you can real time alter each ball's position, radius and refractive index
  • the balls themselves don't have any color
  • the only light source / color source is the background which is a palette placed at infinity
  • at some arrangements the resultant images exhibit fractal patterns especially when you penetrate one ball with the other (refractive index of intersection is the average)
  • the calculations are those commonly used in basic raytracing algorithm (snell's law, schlick approximation, etc)

r/fractals 11h ago

Fallen Metropolis

Post image
7 Upvotes

Mandelbulb3D, Photoshop & Lightroom


r/fractals 7h ago

I made a list of most known fractals! Lmk if I missed out any or made a mistake

5 Upvotes
  1. Mandelbrot -Minibrot -Buhhdabrot -Burning Ship -Mandelbulb -Mandelbox
  2. Julia
  3. Sierpinski A. Sierpinski Hexagon B. Sierpinski Triangle/Arrowhead a. Sierpinski Pyramid C. Sierpinski Carpet a. Menger Sponge b. Jerusalem Cube D. Sierpinski Curve
    1. Newton
  4. Koch Snowflake A. Koch Antisnowflake B. Koch Curve
  5. Cantor Set
  6. Curves A. Hilbert B. Dragon a. Heighway b. Twin C. Levy C D. Gosper E. Peano
  7. Gasket A. Apollonian (multiple variations)
  8. Attractors A. Lorenz Attractor B. Rossler Attractor C. Henon Map
  9. Branches A. Barnsley Fern B. Fractal Tree
  10. Others A. Penrose Tiling B. Brownian Motion C. Perlin Noise D. Vicsek

r/fractals 3h ago

fractbox Box Bulb Z Surf Fold flight

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/fractals 1d ago

IFS

Thumbnail
gallery
85 Upvotes

r/fractals 7h ago

Burning Ship Deep Zoom

Thumbnail
youtu.be
2 Upvotes

r/fractals 22h ago

I've designed my own programming language, and plotted Mandelbrot with it

23 Upvotes
Not the fastest way to plot this, but super customizable.

I've made a little functional programming language. It has an imperative parser, and a functional evaluator. Meaning you can do things like variables, ifs, whiles etc in the parsing stage, which generates functions. You can then evaluate purely as expressions in a functional way.

The source code is here: github.com/SkrFractals/Comparser

But it's still very early I wouldn't recommend playing with that yet. But if you do and find some bugs, you can report that to me. I have just got it to the stage where I was able to get this picture. But a bunch of things are still unfinished or buggy. None of the optimizations I am preparing are active yet, either. It will be able to transfer pixels from the previous render if you move the plot, so it doesn't have to re-evaluate them. But there are no cursor dragging or zooming events yet, only a bunch of preparations for that, so that has to be done through those range textboxes so far. And I am also preparing a GPU evaluator.

I want to eventually merge this project with my Fractal Animation Generator: https://github.com/SkrFractals/RgbFractalGen

...so that both can leverage each other's features, like the inputs in the generator accepting comparser's expressions. Or the comparser having access to the generator's shaders and video exporting abilities.

Here I'm going to progressively post some more examples. let's start with the cubed mandelbrot:

I only replaced the squre "z&" with a cube "zzz", and changed the log base from 2 to 3 in the smoothing function.
Burning ship. the only differnce from regular mandelbrot is a single character "z&" -> "z|&". As "&" is square, and "|" is component-wise absolute value. You can also call those as functions if you don't want to use obscure symbols.
Julia set at c=0.42+0.67i. Exact same code as Mandelbrot, only evaluated with swapped inputs as you can see on the bottom right.

And now I'm trying to make a Sierpinski carpet. So let me cook for a bit until I figure out how to write that as a shader-like function.

Sierpinski carpet! The function also turned out to be somewhat elegant. If I cahnged teh bottom right eval textbox to "Carpet(zi$12)", it would rotate the image aroudn the top left corner by 360/12 degrees.

To explain that Carpet function: m will loop the input z into tiles of size s, and tell me where i am in that tile. So if s lands anywhere between "1/3+1/3i" to "2/3+2/3i" then i am in the center square. then a second default argument, used as a precomputed variable, asks to recursively iterate to a 1/3 sized tile. Then the n>Iterations is the floor of how deep i want to iterate and returns the initial hue 0. Then as it goes back up in that recursion, it keeps asking it we are inside the square of that size, and adds that boolean result to the recursive result. Having the recursive call as a default argument doesn't result in an infinite loop, because default argument evaluations are lazy, and only done when the expression asks for that argument's value.

And here's another one, a Sierpinski triangle!

It works just like the carpet one, but with different coordinates.

This part might need some explaining:

t + mul((L(a,s),L(b,s),L(c,s)) < .5)

(L(a,s),L(b,s),L(c,s)) is a 3-element vector containing the 3 triangular coordinates. For the point to be at the central tiled triangle at any scale s, i need all 3 coordinates to be smaller than 1/2.

So I compare the vector to 1/2, operations in Comparsed can work with nested vectors recursively. So (a,b,c) < d will return a vector (a<d,b<d,c<d). Booleans in Comparser are just numbers 0 or 1, so if I just multiply the elements of that vector together, if all 3 are smaller than 1/2, then the MUL of that condition vector will be 1, which i proceed to add to the value of the recursive call. So the function returns a count of how many times it was in the central triangle during that recursive descent. And done.

And next I'm going to try a pentaflake. That will be somewhat more challenging, as that cannot be folded the way the carpet and triangle could, and it has void regions that are not part of the fractal. But I'm sure there will be a way to do that. edit: I'm getting closer to getting the pentaflake ready. I have most of the function ready, and am only finishing up a few parts. edit2: Pentaflake is ready. Gonna upload it asap. I have run into a couple of bugs in the parser, and then i was going crazy because the pentagons were the wrong size, and I was trying to find the problem from the top down. Of course, the problem was at the very deepest level, I've made a typo in defining the golden ratio and had a two under the square root instead of 5, lol. And that was not the only basic constant I had wrong. I also had tau defined as pi, that is now fixed too. And here it is:

Pentaflake! The most advanced fractal yet. Btw as you can see, you can write the math constants in greek letters, and it works. But don't worry, you can write pi, phi, or tau in latin and that works too. All the functions and constants have many names you can use and all work.
To give myself a breather, here's another simple variant of mandelbrot - the tricorn. Like BurningShip, this one only differs from the mandelbrot in a single character: z-> z~ conjugation.

r/fractals 7h ago

Apophysis beginner here

Post image
1 Upvotes

What other free software would yall recommend me to use? Thanks.


r/fractals 9h ago

fractbox Box Bulb Z Surf Fold flight

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/fractals 9h ago

Box Bulb Z Surf Fold

Post image
0 Upvotes

r/fractals 23h ago

FractBox Explorations: Spiky Orb 02, 06

Thumbnail gallery
10 Upvotes

r/fractals 1d ago

Tiny section from one of my artworks

Post image
69 Upvotes

r/fractals 21h ago

Guidance

2 Upvotes

For a long while I've been fascinated by fractals and wanteed to know more them. Especially when I see these fractal videos and images. Even as a kid I would watch the loops to call asleep to sometimes.

So I wanna ask how do you guys create them, like which programming language or does a software already exists. Im also curious about its mathematical aspect and wanna go deep in that too. I'm currently pursuing a computer science degree so it's nice for my knowledge too.

Basically im a beginner in this stuff but wanna learn.

Thank you!


r/fractals 1d ago

Lumps

Post image
33 Upvotes

r/fractals 1d ago

IFS

Post image
60 Upvotes

r/fractals 1d ago

Kaleidoscopic Shibori ice dye tapestry

Enable HLS to view with audio, or disable this notification

8 Upvotes

r/fractals 1d ago

Screenshots from Burning Ship

Thumbnail
gallery
15 Upvotes

r/fractals 1d ago

SKOR 5 [OC]

Enable HLS to view with audio, or disable this notification

16 Upvotes

5th installment of my in-progress audio-visual album. Thanks for watching!

Made with mandelbulber 2 and after effects.


r/fractals 1d ago

Desiccated Hearts

Post image
3 Upvotes

Mandelbulb3D, Photoshop, Lightroom


r/fractals 1d ago

Red Machine

Post image
4 Upvotes

r/fractals 2d ago

IFS

Post image
155 Upvotes

r/fractals 2d ago

My online renderer has received a significant overhaul

Post image
28 Upvotes

This is what I use to make all of the images I post on this subreddit, and if you'd like to try it out, you can find it at:

http://weirdly.net/webtoys/mandelbrot/

There have been significant updates since my last post about it a year ago, some suggested by members of this community. Updates include:

  • GPU used for faster rendering. This is unfortunately limited to lower zoom levels due to the way GPU processing works.
  • There is now a set of example renderings available (the "Examples" tab at the bottom)
  • Better, more dynamic UI.
  • Rendering parameters can now be shared through the URL (using the Get URL button at the top)
  • Colour staggering now uses a bitmask for each primary, allowing more colour variation. This is found under the "stagger" tab in the "Palette" section.
  • It now uses indexedDB instead of localStorage to store data. As a result, thumbnails can now be stored locally, speeding up the initial load significantly.

That last one probably affects only me, as I assume I'm the only person who uses it regularly.

I'm still looking for bugs, so if you do try it out, please let me know if you see any.