Working generator, which creates static HTML 5 pages with Canvas API.