add some examples
allow framerate to be set