Unless... you also track gradient.
After some poking around, I found this paper which tries to solve similar issue:
https://core.ac.uk/download/pdf/50538578.pdf
Quick hack shadertoy, that does not quite do the right thing, but it does get rid of the bulge:
https://www.shadertoy.com/view/wff3Wj
After some poking around, I found this paper which tries to solve similar issue:
https://core.ac.uk/download/pdf/50538578.pdf
Quick hack shadertoy, that does not quite do the right thing, but it does get rid of the bulge:
https://www.shadertoy.com/view/wff3Wj
Comments
https://www.blakecourter.com/2023/05/18/field-notation.html
There are other results based on gradients and intersection curves as well. I was just OCD for rolling ball blends.
IQ has some numerical issue (I'll have to look into that) and some odd discontinuities (it comes from the dot product).
I found something called "clear union" which keeps zero crossing intact but blends away from it.
Your normals would have to have a constant rate of change, which means you can basically only represent perfect curve segments, no?