ElEditors, Interface administrators, Administrators
85,550
edits
mNo edit summary |
Tag: Undo |
||
Line 1: | Line 1: | ||
<div style="width: 100%; height: 100%;"> | <div style="width: 100%; height: 100%;"> | ||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="600" height="600" viewBox="-300 -300 600 600"><!-- | <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="600" height="600" viewBox="-300 -300 600 600"> | ||
<!--{$PI=3.141592653589793}--> | |||
<!--{nocache}--> | |||
<!--{$step=2*$PI/$dim}--> | |||
<polygon x="250" y="250" fill="transparent" stroke="#000" points=" | |||
<!--{for $i=1 to $dim}--> | |||
<!--{$deg=$PI/2+($i-1)*$step}--> | |||
<!--{math equation="200*cos(deg)" deg=$deg assign="x"}--> | |||
<!--{math equation="-200*sin(deg)" deg=$deg assign="y"}--> | |||
<!--{$x|cat:','|cat:$y}--> | |||
<!--{/for}--> | |||
"></polygon> | |||
<!--{/nocache}--> | |||
</svg> | |||
</div> | </div> |