This is the main code base

This is the entirety of the code. Open it in processing and run it. Draw by clicking and it will generate the appropriate angles to reflect light to match your drawing! :D This code runs in processing without any need for external libraries.