✏ Draw a Star

Someone asked a while back on how to draw a star. Here is a programmatic method for the canvas, just select the number of points and press Draw a Star.

You have to draw twice to get a different coloured outline

Blocks

Screen

aia
drawAStar.aia (4.4 KB)

Credits
Modified from here: https://stackoverflow.com/a/25840319/2030549

Now includes a second method from the same source:

Blocks

Screen

aia
drawAStar2.aia (6.4 KB)

14 Likes