Crates.io | thimni |
lib.rs | thimni |
version | 0.3.2 |
created_at | 2025-06-25 17:09:24.163967+00 |
updated_at | 2025-09-13 14:19:14.48457+00 |
description | efficient SDF collision without discretizatio, neural nets, or interval arithmetic |
homepage | |
repository | https://codeberg.org/0x177/thimni |
max_upload_size | |
id | 1726203 |
size | 84,509 |
a library for SDF collision
the core (and most likely novel) algorithm provides efficient SDF collision, whose memory usage does not scale with complexity of SDFs, by exploiting isotropy of hyperspheres
benchmarked on i7-7700HQ
benchmark | average speed |
---|---|
1000 random spheres colliding | 5 milliseconds |
100 random menger sponges colliding | 100 milliseconds |
this devlog contains details on how the core algorithm works
this devlog contains a link to a demo i made for this algorithm, consisting of a destructable fractal and a capsule representing the player.