adding createCanvas to API page