Spider Web Evolution

Hello!
It’s my first time posting here, let me know if there is a better place or category to make these kinds of posts.

I wanted to share a sketch I made that I thought others may enjoy. It’s a sketch that allows the user to play the role of ‘selection’ in a genetic algorithm which generates random shapes (similar to spider webs). When the user chooses the shape they like, the program will “reproduce” the chosen shape with the others, apply random mutations and give you a new set of shapes. There is no purpose to it other than a fun little thing to see what kind of shapes you can get.

I used p5.js with TypeScript.

https://live.driangle.org/webs

Let me know what you think, and if you have feedback or questions

5 Likes

Looks pretty cool. I like what you did with the colors. Is the sketch meant to be jittery in real time?

Thanks! Yeah I added a little bit of jitter (at random amounts) to give it a little bit of life.
Did it look like it was unintentional or broken?

It was obviously intentional but it looked strange. I would have jittered the color or made it a bit more rhythmic and smooth. Maybe a good future enhancement. :slight_smile:

1 Like

Hi, welcome to Forum !

You can share your codes in

If anyone knows more, tag me I will edit my post :slight_smile: Thanks.