File: 12-0-1.mp

package info (click to toggle)
texlive-doc 2012.20120611-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 250,664 kB
  • sloc: xml: 18,901; perl: 13,380; makefile: 931; lisp: 394; sh: 313; awk: 205; java: 159; sed: 4
file content (15 lines) | stat: -rw-r--r-- 283 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
pickup pencircle scaled 4pt
   yscaled .2pt rotated 60;
n:=4;
for i := (n*20) step -(n) until (n):
 c:=((n*20)-i)/(n*2);
 draw (i,0)..(0,i)..(-i,0)
      ..(0,-(i-n))..(i-n,0)
 withcolor ((100-i)/100,i/100,0);
endfor
endfig;
end;