Credits and sources

Inigo Quilez

Almost every distance function on this site is his, and the field as a practical craft largely exists in public because he published it. Twenty years of derivations given away, with the working shown, for free.

2D distance functions is the source for the box, triangle, hexagon, segment, arc, pie and star primitives used in the primitive arsenal and everywhere they appear elsewhere. Where those are reproduced here they are his formulations, not reimplementations.

Specifically, and not exhaustively:

Others

What is mine

The derivations that are not credited above, the measurements, the failure cases, and the specific numbers for this studio's constraints. Where I have got something wrong and corrected it, the note says so rather than quietly fixing it, because the correction is usually the more useful half.

If something here is yours and is not credited, that is an error and I want to fix it. Tell me and I will.