Pentagram: Difference between revisions

(→‎{{header|zkl}}: The background and foreground colors are the same)
Line 606:
<lang>xp = 10
yp = 40
linewidth 2
set_linewidth 2
move_penmove xp yp
while angle > -720
x = xp + cos angle * 80
y = yp + sin -angle * 80
draw_lineline x y
f[] &= x
f[] &= y
Line 618:
angle -= 144
.
set_colorcolor 900
draw_polygonpolygon f[]</lang>
 
=={{header|Go}}==
2,078

edits