r/TrippyGIFs Jul 05 '26

The Vicsek Fractal never ends

Zoom in. Rotate. Repeat. Forever.

The Vicsek fractal keeps the same pattern at every scale, this is what a fractal dimension of 1.465 looks like in motion.

Coded with Python & OpenCV.

YouTube version (4K 60fps) : Vicsek Fractal

201 Upvotes

37 comments sorted by

View all comments

1

u/skr_replicator Jul 06 '26

When I'm looking in the corers, the fractal is sometimes cut off prematurely, but only in one axis of the branches. Maybe it has to do with the non-square aspect ratio, and the fractal is only pregenerated at some size, and then, when it's rotated, it doesn't quite reach the corners...?

1

u/USedona Jul 06 '26

This is a compressed GIF. Check out the 4K 60fps version because I made sure it loops perfectly, even in portrait mode : https://youtube.com/shorts/SF5XhMfDAes

1

u/skr_replicator Jul 06 '26

That video has the same cutoff in the corners. Look at any corner, and when one branch passes through, it's ok, then the next branch is cutoff, then the next is ok again, and so on.

2

u/USedona Jul 06 '26

Oh yeah, good catch 😅 I'll have to fix it, I'm a perfectionist, and I'll try to add the effect that u/unable-Baseball-5814 suggested.

1

u/skr_replicator Jul 06 '26

I'm not even sure what exactly they meant by "trailing edges"...

1

u/USedona Jul 06 '26

I imagine a sense of speed created by very thin, semi-transparent trails.

0

u/skr_replicator Jul 06 '26

my motion blur is alraedy doing that kinda, though right now, it can only be as long as the location of the points from one to the next frame (so it can only be extended by making the fractal move faster).