How can I create five pointed stars in canvas using function? : <p>how can I create this 3 stars in canvas using </p>

<pre><code>function filledStar(x,y,a){code} 

filledStar(40,50,75);
filledStar(130,120,100);
filledStar(250,220,150);
</code></pre>

<p>should show:</p>

<p><a href="https://i.stack.imgur.com/Kw0Of.jpg" rel="nofollow noreferrer">3starsIMG</a></p>

<p>Thanks</p>
