This project creates 3D rectangular prisms! Adjust the sliders to change the shape.
All code by me. I added lots of notes on the inside to explain how it works. Each face is generated line by line.