Pentagram: Difference between revisions
Content added Content deleted
(→{{header|Java}}: no need actually for recursion) |
m (J) |
||
Line 14: | Line 14: | ||
See also |
See also |
||
* [http://proofsfromthebook.com/2013/08/04/angle-sum-of-a-pentagram/ Angle sum of a pentagram] |
* [http://proofsfromthebook.com/2013/08/04/angle-sum-of-a-pentagram/ Angle sum of a pentagram] |
||
=={{header|J}}== |
|||
Probably the simplest approach is: |
|||
<lang j>plot j./2 1 o./180p_1 %~ 72*i. 6</lang> |
|||
This will give a pentagram with a blue border and a white interior. |
|||
=={{header|Java}}== |
=={{header|Java}}== |