-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp_config.toml
144 lines (124 loc) · 4.67 KB
/
app_config.toml
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
# This is the configuration file for fractal_sugar.
# Every field in this file is optional. A reasonable default value is used if a field is not present.
# Toggles whether to launch the application into fullscreen. Default is `false`.
launch_fullscreen = true
# Toggles whether to launch with the Help overlay-window visible. Default is `true`.
launch_help_visible = false
# The maximum particle speed. Default value is 7.0.
max_speed = 6
# The number of particles to simulate. Default value is 1_250_000.
particle_count = 3_000_000
# The diameter in pixels of each particle. Larger values may appear better on high resolution/DPI devices. Default is 2.0.
point_size = 3.0
# The spring coefficient `k` in Hooke's Law `F_s = -kx` used for particle spring-tension. Default value is 75.0.
spring_coefficient = 60
# Toggles whether to hide stationary particles. Default value is `false`.
hide_stationary_particles = false
# Toggles whether to render a colored background or simply black (disabled). Default value is `false`.
disable_background = false
# The vertical field-of-view in degrees. Default value is 72.0.
vertical_fov = 75
# The scale factor to apply to the default. Default value is 1.0.
friction_scale = 1.8
# The decibel adjustment to apply to the incoming audio. Default value is -20.0.
audio_scale = -19
# This file can define a series of color schemes that may be applied to each particle.
# Each color scheme requires a title, 4 speed-dependent color values, and 4 index-dependent color values.
# The field [[color_schemes]] specifies that the following values define an object in the `color_schemes` list.
[[color_schemes]]
name = "Classic" # Defines the name for this color scheme. It is not used in code (atm...)
speed = [
# Each of the lists below represents an RGB triplet plus a fourth speed value.
# There must be **exactly 4** such lists below.
# Each of the R, G, and B values must be in the range [0.0, 1.0] if not specified with a CSS color.
# The speed value indicates the speed at which the color is most prominent. Values can be in range [0.0, 7.0]
# Speed entries must be sorted by the speed value (last column) in ascending order.
[0.0, 0.425, 0.55, 0.2],
# All valid CSS notation is also permitted as RGB input! The speed value is still located in the last column of the list.
["#80B91A", 0.5],
# Even the more exotic CSS color formats are available, as long as they are formatted correctly.
["hsl(277.65, 100%, 60%)", 3.5],
# The speed value of the last entry is ommitted since this color will be most prominent at the maximum speed (7.0 units per second).
[1.0, 0.4, 0.4],
]
index = [
# Each of the lists below represents an RGB triplet plus a fourth index value.
# There must be exactly 4 four such lists below.
# All four values must be in the range [0.0, 1.0].
# The index value indicates where in the jello-grid this color is most prominent.
# Index entries must be sorted by the index value (last column) in ascending order.
["rgb(153, 102, 63)", 0.25],
[0.3, 0.25, 0.6, 0.5],
[0.6, 0.4, 0.5, 0.75],
"#94159d", # The index value of the last entry is ommitted since this color will be most prominent at the maximum speed. Thus, it is valid to provide only a CSS color.
]
[[color_schemes]]
name = "Northern Lights"
speed = [
[0.04, 0.5, 0.35, 0.2],
[0.55, 0.2, 0.45, 0.8],
[0.85, 0.45, 0.02, 1.5],
[0.65, 0.08, 0.04],
]
index = [
[0.0, 0.25, 0.45, 0.25],
[0.08, 0.5, 0.35, 0.5],
[0.0, 0.25, 0.35, 0.75],
[0.0, 0.5, 0.35],
]
[[color_schemes]]
name = "Arctic"
speed = [
[0.15, 0.375, 0.42, 0.15],
[0.55, 0.6, 0.65, 1.0],
[0.75, 0.75, 0.8, 3.0],
"GhostWhite", # Another example of CSS tom-foolery. https://www.w3schools.com/cssref/css_colors.asp
]
index = [
[0.6, 0.65, 0.7, 0.25],
[0.25, 0.3, 0.35, 0.5],
[0.6, 0.6, 0.65, 0.75],
[0.2, 0.25, 0.25],
]
[[color_schemes]]
name = "Magma Core"
speed = [
[0.575, 0.01, 0.05, 0.18],
[0.95, 0.72, 0.02, 1.2],
[0.95, 0.62, 0.02, 3.5],
[0.8, 0.65, 0.5],
]
index = [
[0.4, 0.0, 0.04, 0.25],
[0.2, 0.19, 0.16, 0.5],
[0.35, 0.23, 0.06, 0.75],
[0.22, 0.11, 0.08],
]
[[color_schemes]]
name = "Jungle"
speed = [
[0.45, 0.3, 0.2, 0.15],
[0.7, 0.7, 0.05, 0.5],
[0.05, 0.8, 0.25, 2.0],
[0.2, 0.95, 0.3],
]
index = [
[0.65, 0.4, 0.1, 0.25],
[0.0, 0.4, 0.2, 0.5],
[0.5, 0.4, 0.0, 0.75],
[0.0, 0.5, 0.15],
]
[[color_schemes]]
name = "Black & Yellow"
speed = [
[0.45, 0.4, 0.0, 0.16],
[0.65, 0.55, 0.1, 0.5],
[0.8, 0.75, 0.65, 3.0],
"WhiteSmoke",
]
index = [
[0.15, 0.18, 0.15, 0.25],
[0.5, 0.45, 0.0, 0.5],
[0.18, 0.15, 0.18, 0.75],
[0.5, 0.45, 0.0],
]