SDFs and the Fast sweeping algorithm in Jax
rohangautam.github.io39 points by beansbeansbeans 6 days ago
39 points by beansbeansbeans 6 days ago
You might also be interested in JFA https://en.m.wikipedia.org/wiki/Jump_flooding_algorithm
As a bonus: the vanilla JFA can only calculate unsigned distances, but you can extend this to signed distance computation using a simple trick: by inverting your JFA result and setting it as the seed for running a second DFA. (See https://blog.demofox.org/2016/03/02/actually-making-signed-d... for a better explanation)
First skim and I'm confused about the meaning of "interface" in this context. Anyone?
I think this is something like a boundary between two fluids. For example, if you had oil and water in a glass you could describe the 2d surface where they meet as the interface.