Pentagram: Difference between revisions
Content added Content deleted
m (→{{header|jq}}: simplify) |
|||
Line 817: | Line 817: | ||
(8 * (1|atan)) as $tau |
(8 * (1|atan)) as $tau |
||
| 5 as $sides |
| 5 as $sides |
||
| |
| [ (0, 2, 4, 1, 3, 0) |
||
| [ 0.9 * $dim * (($tau * $v / $sides) | cos), |
|||
0.9 * $dim * (($tau * $v / $sides) | sin) ] ] |
|||
| minmax |
| minmax |
||
+ {svg: Polyline("seashell"; "blue"; "rotate(-18)" )} ; |
+ {svg: Polyline("seashell"; "blue"; "rotate(-18)" )} ; |
||
Line 835: | Line 835: | ||
</svg> |
</svg> |
||
</pre> |
</pre> |
||
=={{header|Julia}}== |
=={{header|Julia}}== |