added working example of canvas buffer, should make a readme for this