Draft:Best way to render 3D and how to do it

raycasting is the best way to render 3 dimensions. so basically you first create an invisble wall, then an invisble object collides every pixel of that wall and then once it detectes it, it will draw the wall from down to up. here is the results.

sorry, i could not manage to add the image or the photo, just search up 3D scratch raycasting on google than just tap on images and there goes the results