What is Nostr?
Steven Dollins /
npub18n0…ayf3
2023-08-26 23:06:50
in reply to nevent1q…uz5s

Steven Dollins on Nostr: npub1kmy6q…0rqxw For few enough ellipses, each ball could have a bit-field that ...

npub1kmy6q20q2hf4rggl3d9zj0fx27a6x376v2d6e2puxt7cgxwukdyq60rqxw (npub1kmy…rqxw) For few enough ellipses, each ball could have a bit-field that tracks whether it should be in or out of each ellipse, though it could also be nice to have openings in ellipses or arcs allowing the balls to pass in/out "legally".

Doing collisions "right" requires a priority queue to get them in the right order and maybe that could incorporate a distance metric for predicting/detecting as well. The ideal is only one phys update per frame.

Ellipse-ellipse collisions is the real challenge.
Author Public Key
npub18n0pxmj07t8lemem8plgzd2jhuumkzxanus7vrnkex9mm6yvysvswgayf3