From 79c975f1f0a9c54d11656b3a35dff14636d5562a Mon Sep 17 00:00:00 2001 From: Mario Sarcevic Date: Fri, 2 Feb 2024 10:41:37 +0100 Subject: [PATCH] chore: Tweak parameters to make the Tangle bigger by default --- client/src/features/visualizer-threejs/constants.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/client/src/features/visualizer-threejs/constants.ts b/client/src/features/visualizer-threejs/constants.ts index ec11f6d3a..fb6f6312b 100644 --- a/client/src/features/visualizer-threejs/constants.ts +++ b/client/src/features/visualizer-threejs/constants.ts @@ -8,7 +8,7 @@ export const STEP_CAMERA_SHIFT_PX = 100; export const MAX_BLOCK_INSTANCES = 5000; // nodes -export const NODE_SIZE_DEFAULT = 5; +export const NODE_SIZE_DEFAULT = 10; export const NODE_SIZE_INCREMENT = 3; // zoom @@ -78,8 +78,8 @@ export const EMITTER_DEPTH = 250; export const MIN_TANGLE_RADIUS = 100; export const MAX_TANGLE_RADIUS = 300; -export const MIN_BLOCKS_PER_SECOND = 50; -export const MAX_BLOCKS_PER_SECOND = 200; +export const MIN_BLOCKS_PER_SECOND = 100; +export const MAX_BLOCKS_PER_SECOND = 250; export const MIN_BLOCK_NEAR_RADIUS = 20; @@ -89,6 +89,6 @@ export const MAX_PREV_POINTS = 20; export const EMITTER_X_POSITION_MULTIPLIER = 3; export const MAX_SINUSOIDAL_AMPLITUDE = 200; -export const SINUSOIDAL_AMPLITUDE_ACCUMULATOR = 10; -export const INITIAL_SINUSOIDAL_AMPLITUDE = 40; -export const HALF_WAVE_PERIOD_SECONDS = 4; +export const SINUSOIDAL_AMPLITUDE_ACCUMULATOR = 30; +export const INITIAL_SINUSOIDAL_AMPLITUDE = 80; +export const HALF_WAVE_PERIOD_SECONDS = 5;