Arrow keys to move. U to lift pen and B to put the pen down. space to erase all. t to draw a triangle and s to draw a square.
I made this for the Victorian Coding Challenge warm up but got carried away and did something more than it said to do.