File: emptylines.mp

package info (click to toggle)
texlive-base 2020.20210202-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 791,092 kB
  • sloc: perl: 45,038; sh: 4,926; makefile: 4,655; ansic: 2,266; ruby: 2,231; tcl: 2,156; xml: 1,874; python: 822; cpp: 695; awk: 606; lisp: 199; sed: 8
file content (28 lines) | stat: -rw-r--r-- 438 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% emptylines.mp
% L. Nobre G.
% 2001

input featpost3Dplus2D;
 

def closec( expr TheVal ) = 
	begingroup
		numeric par[], cred, cblu, param;
		par1 = 360;
		par2 = 0.3;
		param = 360*TheVal;
		cred = par2*cosd( param );
		cblu = par2*sind( param );
		( (cred,cblu,1) )
	endgroup 
enddef;

f := (4,3,2);
Spread := 170;
ShadowOn := true;

beginfig(1); 
	     emptyline( true, 1, black, 0.5background, 360, 0.88, 2, closec );
endfig;

end;