Although this does contain the base coding, this project is largely unfinished. I am going to add more layers to what can be generated. Every pixel is part of a layer. The sun, Water, and Ground are each their own layer. When this is finished (separate project) There will be many more layers, such as birds, mountains, rocks, and maybe UFO's!
This is a dumbed down version of a larger project. I made this by removing unfinished aspects and simplifying finished aspects of the real deal. To get into the simpler math, this project relies on the formula "Height X Column - (Height-Row)" Which determines the color of each pixel based off of a really long scratch list. It took me a week to create this equation, because as usual I was too dumb to comprehend my own creation. The equation converts one dimension into two on an XY plane, similar to how a common raycaster renders two dimensions from one plain as three by giving the illusion of the presence of the Y axis, although constrained to the XZ plane.