Doughnut

Make a top down view of a doughnut, where the gray value is essentially a height map of a doughtnut shape. Then turn it into a normal map.

GraphToy: ((cos(x * PI * 2.0) * 0.5) + 0.5) * min(step(-0.5, x), 1.0 - step(0.5, x))

Based on work by Inigo Quilez

https://iquilezles.org/articles/distfunctions2d/