-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.collab
More file actions
86 lines (68 loc) · 1.96 KB
/
settings.collab
File metadata and controls
86 lines (68 loc) · 1.96 KB
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
COLLAB_WIDTH = 7710
COLLAB_HEIGHT = 2170
s = settings
s.fullscreen = True
s.screen_width = COLLAB_WIDTH
s.screen_height = COLLAB_HEIGHT
aspect = 1.0 * s.screen_width / s.screen_height
s.num_boids = 600
s.dt = 0.001
s.smoothness = 1
#s.num_boids = 100
#s.dt = 0.0001
s.boid_scale_factor = 0.04
# Top-left in the upper-right screen
s.logo_left = 1.0 * (COLLAB_WIDTH - 1920 + 30) / COLLAB_WIDTH
s.logo_target_height = 1.0 * 190 / COLLAB_HEIGHT
s.logo_top = 1 - 1.0 * 30 / COLLAB_HEIGHT
s.logo_separation = 1.0 * 40 / COLLAB_WIDTH
s.logos = [
'logos/UvA-logo-english.cropped.png',
'logos/computationalsciencelogo-fc-1080p.png',
'logos/SURF_SARA_fc.png',
'logos/nlesc.png'
]
s.rules_left = 0.01
s.rules_top = 0.45
s.rules_width = 0.2
s.equation_left = 0.01
s.equation_top = 0.15
s.equation_width = 0.2
s.grid_size = 10
s.grid_line_spacing = 1
# Main 3D view
v = s.mainview_boids
v.point_size = 7
v.color = (0, 0, 0)
v.shadow_color = (0.2, 0.2, 0.5)
v.background_color = (129/255.0, 206/255.0, 213/255.0)
# Top and side view
s.topview_size = 0.1 # Fraction of screen width
s.topview_left = 0.77 # Fraction of screen width
s.topview_top = 0.4 # Fraction of screen HEIGHT
s.sideview_size = s.topview_size
s.sideview_left = s.topview_left + s.topview_size + 0.01
s.sideview_top = s.topview_top
s.stats_left = 0.78
s.stats_top = 0.8
# w/h per block
s.stats_width = 0.09
s.stats_height = 0.3
# horizontal separation
s.stats_separation = 0.005
#s.stats_font = ('fonts/glyphs-14-normal-8x17.png', 8, 17)
#s.stats_font = ('fonts/glyphs-24-normal-14x29.png', 14, 29)
s.stats_font = ('fonts/glyphs-32-normal-19x38.png', 19, 38)
v = s.smallviews_boids
v.point_size = 3
v.color = (1, 1, 1)
v.shadow_color = (0.2, 0.2, 0.5)
# Plots
s.plot_left = 0.01
s.plot_top = 0.98
s.plot_width = 0.2
s.plot_height = 0.12
s.plot_separation = 0.02
s.plot_history_length = 1000
#s.plot_font = ('fonts/glyphs-24-normal-14x29.png', 14, 29)
s.plot_font = ('fonts/glyphs-32-normal-19x38.png', 19, 38)