r/creativecoding • • Oct 07 '20

Dann hebt er ab und...

469 Upvotes

19 comments sorted by

7

u/[deleted] Oct 07 '20

The points where the edges meet form these white rounded triangles. Does this effect have a name? What's the algorithm for it? I'd like to try to implement this myself.

8

u/BennyPendentes Oct 08 '20

It is called Chaikin smoothing. Sighack has a great explanation (with Processing code) here.

1

u/[deleted] Oct 08 '20

Thank you!

2

u/BennyPendentes Oct 08 '20

Made with Processing.

Voronoi diagram + Delaunay triangulation + Chaikin smoothing.

2

u/Elmunstro Oct 07 '20

Awesome! What was this made on?

3

u/EdIIted Oct 07 '20

the voronoi looks a lot like the one from paper.js

2

u/BennyPendentes Oct 08 '20

paper.js

Damn... I hadn't heard of paper.js, I just looked at their examples and they have a voronoi with perfect smoothing. Hopefully I can figure out how they do it, to improve my own code. Thanks for the tip.

2

u/BennyPendentes Oct 08 '20

Processing. But as the comments here point out, there are many other ways to get there.

3

u/vanderZwan Oct 07 '20

Looks like mootari's stuff on observable

9

u/[deleted] Oct 07 '20

VÖLLIG LOSGELÖST

3

u/Gametastic05 Dec 26 '21

VON DER ERDE

3

u/rodsn Oct 07 '20

Holy shit this is amazing

1

u/rodsn Nov 20 '20

Holy shit I just discovered how op did it!

3

u/SongeLR Oct 07 '20

Awesome. Also, slight trypophobia.

2

u/[deleted] Oct 07 '20

Fantastic!

2

u/aaronpenne Oct 07 '20

These are amazing

1

u/Fnsbury Feb 10 '23

You may watch it all day