Remove extraneous logging statement slowing performance down.
Clean up `randrect` example code to be readable and commented.
Cleanup and documentation of canvas functions