-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathObstacles-from-objects.cece
30 lines (22 loc) · 1.14 KB
/
Obstacles-from-objects.cece
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
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- Simulation definition -->
<simulation world-size="200um 100um" dt="1ms" background="white" length-coefficient="1e-1">
<plugin name="cell" />
<plugin name="obstacle" />
<plugin name="object-generator" />
<!-- Define visualization layers -->
<visualization enabled="true">
<layer name="physics" key="D" />
</visualization>
<!-- Generate yeast cells -->
<module name="object-generator">
<object class="cell.Yeast" rate="20/s" velocity="500um/s 0" position="-95um 0" size="0um 80um" />
</module>
<!-- Circles -->
<object class="obstacle.Circle" position="0 -50um" radius="10um" show="true" color="black" />
<!-- Rectangles -->
<object class="obstacle.Rectangle" position="0 50um" size="100um 10um" show="true" color="black" />
<!-- Polygons -->
<object class="obstacle.Polygon" position="-50um 0" vertices="5um 10um -5um 0 5um -10um" show="true" color="black" />
<object class="obstacle.Polygon" position="50um 0" vertices="-20um 5um 0 5um 0 15um 20um 0 0 -15um 0 -5um -20um -5um" show="true" color="black" />
</simulation>