File: paramtest4.cfdg

package info (click to toggle)
contextfree 3.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,432 kB
  • sloc: cpp: 34,857; lex: 416; makefile: 124; sh: 42; python: 41
file content (28 lines) | stat: -rw-r--r-- 428 bytes parent folder | download | duplicates (4)
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
startshape SUN [hue 0 sat 1 b 0.3]

shape LINER(number angle)
rule {
	curveyTri [y 0.5 r -6]
	LINER(=)  [r angle b 0.1 1 hue 0.1 60
		 y 0.75 x 0.4330125
		 s 0.97]
}
rule 0.1 {
    LINER (floor(rand(-3, 4))) []
}


shape SUN {
	loop 72 [r 5] LINER(0) [y 5]
}

path curveyTri
{
    ht = 0.25 / cos(30)
    MOVETO(-0.5, -ht)
    loop 3 [r 120]
        CURVEREL(1, 0, 0.5, -0.25, 0.5, 0.25)
    CLOSEPOLY(CF::Align)
    FILL[]
}