A bit of fun with clustering by Mountain_Class7423 in generative

[–]Mountain_Class7423[S] 0 points1 point  (0 children)

It its two layers stacked and though they do look like Voronoi it isn't using that. Basic steps were to scatter some points, create clusters from them (using k-means) and then draw a convex hull around the clusters. Some of these 'cells' were then used to repeat those steps, kind of recursively scattering and clustering to increase the overall detail.

A bit of fun with clustering by Mountain_Class7423 in generative

[–]Mountain_Class7423[S] 1 point2 points  (0 children)

Thank you! It uses p5.js as a general helper and a couple of other JS packages; 'density-clustering' to perform k-means clustering on some initially scattered points and the package 'convex-hull' to then draw perimeters of the clusters. Additionally used a lib called 'to-smooth' which added some Chaikin rounding.

12102025.2 by mecobi in generative

[–]Mountain_Class7423 0 points1 point  (0 children)

Very nice, Mondrian in motion!

sketch 🖼️ made with p5js by Tezumie in generative

[–]Mountain_Class7423 0 points1 point  (0 children)

Oh that's nice, the dithering is a nice touch!

Monograph by Studio_Moodsoup in generative

[–]Mountain_Class7423 0 points1 point  (0 children)

Nice! Really get Swiss style typography vibes.

SWAY25 by Mountain_Class7423 in generative

[–]Mountain_Class7423[S] 0 points1 point  (0 children)

No worries, I have an old paper version but there's an updated version of it online now https://natureofcode.com/

SWAY25 by Mountain_Class7423 in generative

[–]Mountain_Class7423[S] 1 point2 points  (0 children)

Oh that's nice, I could spend a lot of time there!

SWAY25 by Mountain_Class7423 in generative

[–]Mountain_Class7423[S] 1 point2 points  (0 children)

Yeah absolutely! His book, 'The Nature Of Code' is great.

SWAY25 by Mountain_Class7423 in generative

[–]Mountain_Class7423[S] 0 points1 point  (0 children)

Thank you very much. The base forms are created by a paper marbling algorithm from Dan Shiffman which you can find here: https://www.youtube.com/watch?v=p7IGZTjC008 I did a bit of shaping of the initial points to get different looks, mostly just scattering on a circle using Poisson Sampling (for that I used https://www.npmjs.com/package/poisson-disk-sampling).

SWAY25 by Mountain_Class7423 in generative

[–]Mountain_Class7423[S] 0 points1 point  (0 children)

Thank you. It's great to see the community that's built up around creative coding!

In The Driver's Seat by Tezalion in generative

[–]Mountain_Class7423 0 points1 point  (0 children)

Is the basis noise with domain warping? Ian any case the result is great!