Search⌘ K
AI Features

Creating an Individual Shape

Explore how to create distinct shapes on the HTML5 Canvas by using the beginPath method. This lesson helps you understand how to separate shape properties to avoid unwanted merging, allowing you to draw multiple shapes cleanly and clearly on the canvas.

We'll cover the following...

What we need to do is create individual shapes - shapes whose properties don’t bleed into each other and cause a weird mashup like you saw previously. The solution to our problem ...