What is Nostr?
Steven Dollins /
npub18n0…ayf3
2024-11-16 18:58:32
in reply to nevent1q…ql8f

Steven Dollins on Nostr: nprofile1q…dhr5h Create a particle system in which each tries to form a line with ...

nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqkvasn2cs3u7ntac09g8jw3a27mq3r6gmn9xzurg23jlun6npmcysudhr5h (nprofile…hr5h) Create a particle system in which each tries to form a line with its neighbors while pushing off of any others. I start with a loop of 1000 and then randomly add a few each frame. I tweak the size interactively to spread them out or create folds.

It's a frustratingly brittle system, though, that can easily form cross-over tangles if the chain vs collision forces aren't balanced carefully.

No code as this is very much an experimental mess.
Author Public Key
npub18n0pxmj07t8lemem8plgzd2jhuumkzxanus7vrnkex9mm6yvysvswgayf3