Generate agents

This commit is contained in:
Andras Schmelczer 2023-05-21 11:03:37 +01:00
commit 7e8ca4b16f
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
10 changed files with 368 additions and 89 deletions

View file

@ -19,9 +19,13 @@ export const settings: GameLoopSettings &
BrushSettings &
DiffusionSettings &
RenderSettings = {
agentCount: 4_000_000,
agentCount: 4_000_000, // requires restart
initialDeadRatio: 0.2, // requires restart
renderSpeed: 1,
aggressionFactor: 0.5, // requires restart
nextGenerationSpawnRadius: 50,
renderSpeed: 5,
simulatedDelayMs: 0,
brushWidth: 20,
@ -39,7 +43,7 @@ export const settings: GameLoopSettings &
decayRateBrush: 0.995, // inverse
brushColor: palette.blue,
speciesColorA: palette.yellow,
speciesColorB: palette.purple,
speciesAColor: palette.yellow,
speciesBColor: palette.purple,
clarity: 3,
};