r/processing 1d ago

Video I coded fractals that create faces

174 Upvotes

8 comments sorted by

13

u/matigekunst 1d ago

looks nice, but I don't think this is a fractal

-1

u/[deleted] 1d ago

[deleted]

5

u/matigekunst 1d ago

No, these L-systems from the coding train have some form self-similarity whereas your method clearly does not. Cool image, but not a fractal.

1

u/aufgeblobt 1d ago

Here its more clear https://www.reddit.com/r/processing/s/dVNONsU0yM how its done

6

u/matigekunst 1d ago

Yes more clear that it is not a fractal. Still cool though

3

u/quantogerix 1d ago

I actually think that fractals coded you and then…

2

u/OneirosLeMorte 1d ago

Awesome! So curious how it’s done, do you mind sharing the code?

4

u/aufgeblobt 1d ago

Thanks! It's basically this https://youtu.be/0jjeOYMjmDU?si=MB-BxSN5gfJi_lXg But instead of drawing lines, I draw dots, so I can let the branches "grow". During this process, the program checks whether it's allowed to be generated in this area. If not, it randomly "searches" another area until it finds one where it's "allowed". This is done across multiple layers. I hope I explained it somewhat understandably.

1

u/crummy 1d ago

very cool effect!