Generating a canvas successfully