File: underground.cfdg

package info (click to toggle)
contextfree 3.4.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,448 kB
  • sloc: cpp: 37,995; lex: 414; makefile: 123; sh: 43; python: 34
file content (66 lines) | stat: -rw-r--r-- 705 bytes parent folder | download | duplicates (5)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
startshape MAP

shape MAP
{
	LOGO [ ]
	ROUTE [ x 80 y 80 rotate 90 ]
}

shape ROUTE
rule {
	LINES [ brightness 0.2 ]
}
rule {
	LINES [ brightness -0.2 ]
}
shape LINES
{
	LINE [ ]
	LINE [ rotate 180 ]
}

shape LINE
rule 1000 {
	CIRCLE [ ]
	LINE [ y 0.1 ]
}
// turns
rule 1 { LINE [ rotate 45 ] }
rule 1 { LINE [ rotate -45 ] }
rule 1 { LINE [ rotate 90 ] }
rule 1 { LINE [ rotate -90 ] }

// station
rule 4 {
	SQUARE [
		size 3
		rotate 45
	]
	LINE [ ]
}

// interchange
rule 0.5 {
	LINE [ ]
	ROUTE [ rotate 90 ]
}

// terminus
rule 1 {
	CIRCLE [ size 3 ]
	CIRCLE [ size 1
		brightness 1 ]
}

shape LOGO
{
	CIRCLE [
		size 5
		brightness 0.5
	]
	CIRCLE [
		size 3.5
		brightness 1.0
	]
	SQUARE [ s 6 1 ]
}