Jump to content

Pentagram: Difference between revisions

m
J
(→‎{{header|Java}}: no need actually for recursion)
m (J)
Line 14:
See also
* [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}}==
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.