Render a donut by the marching squares algorithm, with some optimization to increase resolution and speed The input function can be change whatever you like, this program will render the plane for that function with high accuracy
I decided to share it with you guys, because this is a succeeded test, and I'm really happy about it Update (28/5/2023): I'm still working about trying to increase the renderer speed and accuracy