quil

Benjamin 2024-09-22T09:14:44.082959Z

Not the first of it's kind but perhaps an additional gravity example?

reefersleep 2024-09-23T11:48:17.901339Z

ball pit gone wrong 😄

reefersleep 2024-09-23T11:52:54.457999Z

If you adjust to an amount that can handle with-fill, though, you could (map-indexed (fn [i ... and use i as a component for each ball, just as a start for individualizing them. Though idk if they retain the same order in your code.

reefersleep 2024-09-23T11:53:36.692149Z

And if they start out in some sort of visual order, it'd be fun to see how quickly it turns into chaos. Like, starting out as a gradient, ending up as confetti

reefersleep 2024-09-23T11:55:46.052869Z

Ah, you've got random, unconnected starting positions. Still, though 🙂

reefersleep 2024-09-22T09:38:00.059319Z

Very nice!

reefersleep 2024-09-22T09:38:35.446579Z

How many objects can you chuck in there before it gets weird and/or slow?

Benjamin 2024-09-22T09:49:31.060599Z

just tried 500 was choppy, 200 still worked

Benjamin 2024-09-22T09:50:02.165749Z

I'll make a torch implementation with libpython clj, give me a moment 😛

😆 1
reefersleep 2024-09-22T09:50:43.495129Z

Impressive! Do a video of one where they have individual colors so you can track them visually

reefersleep 2024-09-22T09:51:23.692259Z

Or that 😁

Benjamin 2024-09-22T16:41:53.299999Z

is an example of "data oriented" (game development) architecture

Benjamin 2024-09-22T16:42:24.642389Z

q/with-fill was too slow for 1k objects