{"version":"1.0","type":"rich","title":"Gist 327439fea1dac34da901622a2fbe7ff8","description":"This example renders a 3D scene of a box and a sphere using a signed distance function. The shader code defines `fBox` and `fBoxCheap` to compute box distances, while `DistanceFunction` combines a sphere, a box, and a guard region with an absolute offset. The scene is visualized by ray marching, likely through a graphics API such as OpenGL or Vulkan, as the code is written in a CGINC shader include file. The final image shows the primitive shapes intersecting, with the guard acting as a thin shell around the box’s interior.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-327439fea1dac34da901622a2fbe7ff8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}