Sort:  

The createCanvas function is actually part of the p5js library. The draw and setup are also from that library. I am better at javascript than I am at java, but I'm getting there.