Minor improvements xd
This commit is contained in:
parent
f3f2547724
commit
0e97e54ffe
21 changed files with 189 additions and 184 deletions
|
|
@ -3,16 +3,6 @@ import { AgentSettings } from './pipelines/agents/agent-settings';
|
|||
import { BrushSettings } from './pipelines/brush/brush-settings';
|
||||
import { DiffusionSettings } from './pipelines/diffusion/diffusion-settings';
|
||||
import { RenderSettings } from './pipelines/render/render-settings';
|
||||
import { rgb255 } from './utils/colors/rgb255';
|
||||
|
||||
const palette = {
|
||||
blue: rgb255(0, 110, 202),
|
||||
red: rgb255(232, 141, 122),
|
||||
green: rgb255(90, 188, 94),
|
||||
purple: rgb255(161, 90, 188),
|
||||
yellow: rgb255(255, 204, 0),
|
||||
beige: rgb255(229, 204, 175),
|
||||
};
|
||||
|
||||
export const settings: GameLoopSettings &
|
||||
AgentSettings &
|
||||
|
|
@ -21,29 +11,31 @@ export const settings: GameLoopSettings &
|
|||
RenderSettings = {
|
||||
agentCount: 4_000_000, // requires restart
|
||||
|
||||
aggressionFactor: 0.5, // requires restart
|
||||
nextGenerationSpawnRadius: 1,
|
||||
nextGenerationSpawnInterval: 2,
|
||||
aggressionFactor: 3,
|
||||
nextGenerationSpawnRadius: 5,
|
||||
nextGenerationSpawnInterval: 1,
|
||||
|
||||
renderSpeed: 10,
|
||||
renderSpeed: 2,
|
||||
simulatedDelayMs: 0,
|
||||
|
||||
brushWidth: 20,
|
||||
brushWidthRandomness: 8,
|
||||
brushWidth: 12,
|
||||
brushWidthRandomness: 5.5,
|
||||
|
||||
brushTrailWeight: 5,
|
||||
moveSpeed: 40,
|
||||
turnSpeed: 20,
|
||||
moveSpeed: 80,
|
||||
turnSpeed: 550,
|
||||
sensorOffsetAngle: 30,
|
||||
sensorOffsetDistance: 60,
|
||||
sensorOffsetDistance: 30,
|
||||
turnWhenGoingInTheRightDirection: 0.05,
|
||||
turnWhenLost: 0.2,
|
||||
individualTrailWeight: 0.5,
|
||||
deinfectionProbability: 0.001,
|
||||
|
||||
diffusionRateTrails: 0.4, // inverse
|
||||
diffusionRateTrails: 2, // inverse
|
||||
decayRateTrails: 0.9, // inverse
|
||||
diffusionRateBrush: 4, // inverse
|
||||
decayRateBrush: 0.995, // inverse
|
||||
decayRateBrush: 0.003,
|
||||
|
||||
brushColor: palette.blue,
|
||||
evenGenerationColor: palette.yellow,
|
||||
oddGenerationColor: palette.purple,
|
||||
clarity: 1,
|
||||
clarity: 2,
|
||||
startColorHue: 200,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue