-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault-params.ini
More file actions
79 lines (75 loc) · 2.51 KB
/
Copy pathdefault-params.ini
File metadata and controls
79 lines (75 loc) · 2.51 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
# default-params.ini -- source of truth for goo's default config.
#
# nob.c parses this at build time and bakes each `key = value` into the binary
# as the first option layer; stdin config (`goo -`) and cli flags override it.
# so `cat default-params.ini | goo - ...` == `goo - ...` == `goo ...`. edit a
# value here, rebuild, and the default changes -- no C edit needed.
#
# the [section] a key sits under is its flag prefix: `[goo] trail-tau` is
# `--goo.trail-tau` on the cli. sections mirror ownership -- [core] is the shared
# simulation, [window] is windowing/output, and one section per simulation.
#
# keys are dropt long-flag names sans prefix (see --help). only value flags live
# here; bool toggles (windowed, no-vsync, profile, ...) default off and are set
# on the cli.
[window]
monitor = 0
width = 800
height = 600
# fps: 0 = uncapped. vsync (default) already paces to the target monitor's
# refresh; a fixed cap here would override that (e.g. pin a 120Hz panel to 60).
# leave 0 and let vsync pace; only --window.no-vsync actually free-runs.
fps = 0
[core]
density = 0.015
render-scale = 4.0
seed = 0
init-warp = 0.18
repel = 0.11
# quadratic velocity damping, shared by both sims. not the cursor sweep -- that is mouse-drag.
drag = 0.19
mouse-drag = 0.1
# which simulation runs, and how a switch between them plays out. switch-every 0 = never
# auto-cycle; tab and SIGUSR1 still work.
sim = goo
switch-frames = 120
switch-every = 0
# the density field: one service, one set of parameters, both sims. dens-sub is PER CHANNEL --
# a 3-channel sim draws 3x the points at the same setting so each channel gets the same particle
# count, and so the same field magnitude, as a single-channel one. Below 3 it clamps and warns.
dens-force = 0.005
dens-reach = 20
dens-alpha = 0.005
dens-kernel = 30
dens-sub = 4
dens-downsample = 20
dens-every = 3
anti-stick = 7
cull = 0.8
repel-downsample = 20
sort-every = 8
# colormap
gamma = 0.6
headroom = 0.0
headroom-margin = 1.15
# dither scales with the local density field: zero in open space, strongest in clumps. both sims.
dither = 0.025
dither-gain = 8.5
dither-ortho = 0.05
headroom-attack = 0.05
headroom-release = 0.02
headroom-pct = 0.98
# particle speed that reaches full opacity, both sims
alpha-speed = 1.0
[goo]
trail-force = 0.05
trail-reach = 30
trail-intensity = 0.06
trail-tau = 6.15
trail-kernel = 15
trail-floor = 0.6
trail-sub = 2
trail-downsample = 10
trail-every = 2
# [pollock] has no tunables of its own right now -- its physics is entirely [core] and its look is
# fixed in the shaders.