Random mix of a Raycaster + Painters 3D algorithm WASD + <^> for demo SPACE to add (editing) SPACE + X to subtract (editing) This works by sending a ray out to the render distance, then marching back towards the camera, and rendering the height for each point. Probably can be done faster using normal 2D raycasting of a heightmap but idc.
feel free to use with credit, I might make something from this idk. still working on Y-axis rotation bc it's annoying