Got back into #gamedev a bit recently and this is one of the most wholesome bugs I've ever encountered. #signeddistancefunction and #raymarching is so exceedingly bodacious, we can have accidental shadows on our debug #octree grid lines.

#sologamedev #solodev #indiedev #vulkan

Ray Marching In Excel

3D graphics are made up of little more then very complicated math. With enough time, you could probably compute a ray marching by hand. Or, you could set up Excel to do it for you! Ray marching is …

Hackaday

https://github.com/soypat/gsdf this looks pretty great.

I won’t claim a high level of knowledge or expertise with #signeddistancefunction but around 2 years ago I started learning #openscad and some of that sort of tooling.

https://pythonscad.org/examples.php was pretty cool too but the render performance was frustrating.

#modeling #3dprinting #sdf

GitHub - soypat/gsdf: 3D/2D CAD design package written in Go. GPU accelerated.

3D/2D CAD design package written in Go. GPU accelerated. - soypat/gsdf

GitHub
Yann Büchau / sdfCAD · GitLab

Simple 3D mesh generation with Python based on SDFs

GitLab

#genuary29 - Signed Distance Functions

After reading up on signed distance functions, I realized it's the same technique as rendering a fractal using orbit traps. Color is based on the signed distance to the trap edge, but it's the distance after each pixel goes through the fractal equation. Since most of the SDF references out there use shaders, I created a WebGL-animated Mandelbrot set using a horizontal and vertical orbit trap with the trap positions moving back and forth.

Live version is here (source is fully included in the html, so just "view source" to see how it works):
https://codeismycanvas.art/posts/genuary24/mandelbrot.html

#genuary #orbittrap #signeddistancefunction #fractal #fractalanimation #fractalart #webgl

WebGL Demo | Codeismycanvas

Contour maps (article) | Khan Academy

Learn for free about math, art, computer programming, economics, physics, chemistry, biology, medicine, finance, history, and more. Khan Academy is a nonprofit with the mission of providing a free, world-class education for anyone, anywhere.

Khan Academy