Rendering pixel by pixel every frame is very impractical for any kind of computer, so I made every horizontal row of pixels of the ground display a sprite, each of which are cropped from the sprite sheet and scaled using a 3D perspective equation.