-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.go
More file actions
37 lines (34 loc) · 1.13 KB
/
config.go
File metadata and controls
37 lines (34 loc) · 1.13 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
package main
import "time"
// Simulation and rendering configuration constants used throughout the
// application. These values define the grid size and timing for
// the acoustic wave simulation.
const (
w, h = 800, 800
windowScale = 2
damp = 0.9997
speed = 0.5
waveDamp32 = float32(damp)
waveSpeed32 = float32(speed)
emitterRad = 1
moveSpeed = 2
stepDelay = 60 / 4
defaultTPS = 60.0
defaultSimMultiplier = 735
simMultiplierStep = 10
minSimMultiplier = 1
maxSimMultiplier = 1000
earOffsetCells = 5
defaultBoundaryReflect = 0.1
visualGamma = 1.5
stepImpulseStrength = 20.0
wallSegments = 20
wallMinLen = 12
wallMaxLen = 300
wallExclusionRadius = 1
wallThicknessVariance = 5
pgoRecordDuration = 15 * time.Second
sampleCaptureLogInterval = 500 * time.Millisecond
audioPlayerBufferLatency = 40 * time.Millisecond
)
var boundaryReflect = defaultBoundaryReflect