readme and example amended to have scale and canvas id as configurable