rand int + canvas example

must put all these things in a package