Home 07: Exercise
Content
Cancel

07: Exercise

Put the code to draw your emoji inside a function. Use x and y as parameter. Draw at least 3 emojis on your canvas.

In this video you can see how I wrap our emoji into a function and create multiple emojis on the canvas.

Advanced exercise

Change your function to also use the background color of your emoji as parameter. Now change the background-color of your emojis on your canvas and create a Warhol style image.

This post is licensed under CC BY 4.0 by the author.
Contents