Fork me on GitHub
#show-and-tell
<
2021-08-25
Joshua Suskalo15:08:36

https://gist.github.com/IGJoshua/2cd1cb648bd68cc9f91123175c77bf7c I made a dimension-independent implementation of GJK, a collision detection algorithm for convex polytopes and surfaces. I thought it was pretty fun coming up with a way to build a "normal" vector to a given simplex that didn't rely on cross products.

borkdude19:08:34

Made another nbb example: https://github.com/borkdude/nbb/tree/main/examples/chalk It's pretty much a 1-1 translation from their README and ... it worked!