Skip to content
Advertisement

How to draw a star in P5.js?

I’m trying to make a class “star” with a method inside of it that, at given coordinates and size, draws a star. Something like rect() or ellipse() functions.

How can make it?

Advertisement

Answer

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement