
All shaders under:

## Example origin:

## The MIT License
### Copyright © 2020 Inigo Quilez

 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

 Signed distance and gradient to a circle art.
 Probably faster than central differences or automatic
 differentiation/dual numbers.

 List of other 2D distances+gradients:
 https:iquilezles.org/articles/distgradfunctions2d

 Circle:             https:www.shadertoy.com/view/WltSDj
 Pie:                https:www.shadertoy.com/view/3tGXRc
 Arc:                https:www.shadertoy.com/view/WtGXRc
 Isosceles Triangle: https:www.shadertoy.com/view/3dyfDd
 Triangle:           https:www.shadertoy.com/view/tlVyWh
 Box:                https:www.shadertoy.com/view/wlcXD2
 Quad:               https:www.shadertoy.com/view/WtVcD1
 Cross:              https:www.shadertoy.com/view/WtdXWj
 Segment:            https:www.shadertoy.com/view/WtdSDj
 Hexagon:            https:www.shadertoy.com/view/WtySRc
 Vesica:             https:www.shadertoy.com/view/3lGXRc
 Smooth-Minimum:     https:www.shadertoy.com/view/tdGBDt
 Parallelogram:      https:www.shadertoy.com/view/sssGzX

## Adapted for matrix-engine:

## The MIT License
### Copyright © 2022 Nikola Lukic
