Use up and down arrows to show and hide the program. Use the right and left arrows to show and hide the documentation. Use a to add a new line and i to insert a line. Use p to delete the last line and d to delete a set line and c to delete all of the lines. (Deleting will ask for a confirmation.) Press space to start the program. Click to navigate the documentation. This took a few hours to complete.
I used a very fast triangle filler made by Geotale. (https://scratch.mit.edu/projects/406665845/)