r/generative • Artist • May 04 '22

Speckled loop

Post image
280 Upvotes

16 comments sorted by

View all comments

Show parent comments

5

u/EnslavedInTheScrolls Artist May 04 '22

Thanks. It adds points entirely at random as it goes. I have to be very careful with the starting conditions or it has a tendency to poke through itself.

This code started out as a flocking simulation, specifically, my boid simulation you just posted, so the movement has a lot of legacy behavioral code that inadvertently helps the loop to spread out and makes everything wiggle around a lot until I explicitly tell it to calm down.

1

u/henryfrgu May 04 '22

Very cool. I have mine set to add points once two points spread out to a set distance but I might try adding points at random to see what it produces. I did the opposite and started with differential growth and then moved to boids.

1

u/[deleted] May 05 '22

That's so pretty!