-
Notifications
You must be signed in to change notification settings - Fork 0
/
universe.yaml
161 lines (161 loc) · 3.25 KB
/
universe.yaml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
!Universe
atoms:
- &id002 !Atom
name: Move X
produced_forces: []
- &id001 !Atom
name: Negative move x
produced_forces: []
- &id004 !Atom
name: Move Y
produced_forces: []
- &id003 !Atom
name: Negative move y
produced_forces: []
- &id013 !Atom
name: ''
produced_forces:
- &id005 !ExpressionBasedForce
atoms_to_produce_effect_on: []
expression: Piecewise((0.0, x<-0.5), (10.0, True))
name: Piecewise((0.0, x<-0.5), (10.0, True))
- &id014 !Atom
name: ''
produced_forces:
- &id006 !ExpressionBasedForce
atoms_to_produce_effect_on: []
expression: Piecewise((0.0, x>0.5), (10.0, True))
name: Piecewise((0.0, x>0.5), (10.0, True))
- &id015 !Atom
name: ''
produced_forces:
- &id007 !ExpressionBasedForce
atoms_to_produce_effect_on: []
expression: Piecewise((0.0, y<-0.5), (10.0, True))
name: Piecewise((0.0, y<-0.5), (10.0, True))
- &id016 !Atom
name: ''
produced_forces:
- &id008 !ExpressionBasedForce
atoms_to_produce_effect_on: []
expression: Piecewise((0.0, y>0.5), (10.0, True))
name: Piecewise((0.0, y>0.5), (10.0, True))
- &id018 !Atom
name: ''
produced_forces:
- &id009 !ExpressionBasedForce
atoms_to_produce_effect_on:
- *id001
expression: -x
name: -x
- &id020 !Atom
name: ''
produced_forces:
- &id010 !ExpressionBasedForce
atoms_to_produce_effect_on:
- *id002
expression: x
name: x
- &id019 !Atom
name: ''
produced_forces:
- &id011 !ExpressionBasedForce
atoms_to_produce_effect_on:
- *id003
expression: -y
name: -y
- &id017 !Atom
name: ''
produced_forces:
- &id012 !ExpressionBasedForce
atoms_to_produce_effect_on:
- *id004
expression: y
name: y
forces:
- *id005
- *id006
- *id007
- *id008
- *id009
- *id010
- *id011
- *id012
matters:
- !Matter
atoms:
*id001: 0.0
*id004: 20.0
*id003: 0.0
*id002: 10.0
color: [0.0, 0.0, 1.0]
name: Ball matter
position: [0.0, 0.0]
vector_field_is_visible: true
- !Matter
atoms:
*id013: 1.0
color: [0.0, 0.0, 0.0]
name: Right wall matter
position: [5.0, 0.0]
vector_field_is_visible: false
- !Matter
atoms:
*id014: 1.0
color: [0.0, 0.0, 0.0]
name: Left wall matter
position: [-5.0, 0.0]
vector_field_is_visible: false
- !Matter
atoms:
*id015: 1.0
color: [0.0, 0.0, 0.0]
name: Up wall matter
position: [0.0, 5.0]
vector_field_is_visible: false
- !Matter
atoms:
*id016: 1.0
color: [0.0, 0.0, 0.0]
name: Down wall matter
position: [0.0, -5.0]
vector_field_is_visible: false
- !Matter
atoms:
*id017: 1.0
*id018: 1.0
*id019: 1.0
*id020: 1.0
color: [0.0, 0.0, 0.0]
name: ''
position: [0.0, 0.0]
vector_field_is_visible: false
natural_laws:
- !NaturalLaw
accelerator: *id005
additive_component: 0.0
atom_in: *id002
atom_out: *id001
multiplicative_component: 10.0
name: ''
- !NaturalLaw
accelerator: *id006
additive_component: 0.0
atom_in: *id001
atom_out: *id002
multiplicative_component: 10.0
name: ''
- !NaturalLaw
accelerator: *id007
additive_component: 0.0
atom_in: *id004
atom_out: *id003
multiplicative_component: 10.0
name: ''
- !NaturalLaw
accelerator: *id008
additive_component: 0.0
atom_in: *id003
atom_out: *id004
multiplicative_component: 10.0
name: ''