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.
Published at
2023-08-26 23:06:50Event JSON
{
"id": "74459ea89ae97a379db64bde16269e92d360c331f85a4bb714c80c0db9e56acf",
"pubkey": "3cde136e4ff2cffcef3b387e813552bf39bb08dd9f21e60e76c98bbde88c2419",
"created_at": 1693091210,
"kind": 1,
"tags": [
[
"p",
"b6c9a029e055d351a11f8b4a293d2657bba347da629baca83c32fd8419dcb348",
"wss://relay.mostr.pub"
],
[
"p",
"76a8ff3ae2e3c403597c3199e9e12eea0d8efc0c9f59568fedc3f53e42724737",
"wss://relay.mostr.pub"
],
[
"e",
"5a4b541d8c1345cbda89a085f5b18885084f6993dbfddfc28e3d1a93a01b534d",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://genart.social/users/scdollins/statuses/110958425594129774",
"activitypub"
]
],
"content": "nostr:npub1kmy6q20q2hf4rggl3d9zj0fx27a6x376v2d6e2puxt7cgxwukdyq60rqxw 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\".\n\nDoing 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.\n\nEllipse-ellipse collisions is the real challenge.",
"sig": "aaef1f4c9a4131de4407d87e659a4db7b963f50b39877d93d78e733e8881a0db30a3772acc17b27f0a13819a1f2d3317596c19cd401411a7d3f1e337cf07a38a"
}