Pentagram

From Rosetta Code
Revision as of 11:59, 21 April 2015 by rosettacode>Fwend (added pentagram draft task)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Pentagram is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

A pentagram is a star polygon, consisting of a central pentagon of which each side forms the base of an isosceles triangle.

The vertex of each triangle, a point of the star, is 36 degrees.


The task: draw (or print) a regular pentagram, in any orientation. Use a different color (or token) for stroke and fill.


See also