How to derive formula of the SDF of a Line Segment, a common shape in procedural modeling.
Support this channel: https://www.patreon.com/inigoquilez
Tutorials on maths , art, SDFs and computer graphics: http://iquilezles.org. The article that includes information about the Elongation operator is here (half way down the article): https://iquilezles.org/articles/distfunctions
Donate: https://www.paypal.com/paypalme/SMOOTHSTEPLLC
Subscribe: https://www.youtube.com/c/inigoquilez
Support: https://www.patreon.com/inigoquilez
Twitter: https://twitter.com/iquilezles
Facebook: https://www.facebook.com/inigo.quilez
Soundtrack by Khrome: https://www.facebook.com/KhromeMusic
0:00 Introduction
0:32 Math derivation
5:38 Implementation
6:12 Interpretation as Elongation
6:53 End