You can drag the vertices around, change the number of vertices, and change the resolution. Have fun! This project finds an equation between two of the vertices, and inputs the layer it is filling in. For each edge the layer intersects, it will get a y value. It does this for each side of the shape. These values are then sorted from least to greatest and it fills each layer based on this. The architecture of this code came from this project: https://scratch.mit.edu/projects/2196760/ However, the code and math are all mine, and this project renders left to right rather than bottom to top, involving a different equation to fill each layer. I also used a different sorting algorithm.