const config = { ws_url: `wss://${window.location.host}/ws/`, ping_url: `https://${window.location.host}/api/ping`, image_url: `https://${window.location.host}/images/`, sync_timeout: 1000, ws_reconnect_timeout: 2000, brush_preview_timeout: 1000, second_finger_timeout: 500, buffer_first_touchmoves: 5, debug_print: false, draw_bvh: false, zoom_delta: 0.05, min_zoom_level: -250, max_zoom_level: 100, initial_offline_timeout: 1000, default_color: 0x00, default_width: 8, bytes_per_instance: 4 * 2 + 4, // axy, stroke_id bytes_per_stroke: 2 * 3 + 2, // r, g, b, width initial_static_bytes: 4096 * 16, initial_dynamic_bytes: 4096, initial_wasm_bytes: 4096, stroke_texture_size: 1024, // means no more than 1024^2 = 1M strokes in total (this is a LOT. HMH blackboard has like 80K) dynamic_stroke_texture_size: 128, // means no more than 128^2 = 16K dynamic strokes at once ui_texture_size: 16, bvh_fullnode_depth: 5, pattern_fadeout_min: 0.3, pattern_fadeout_max: 0.75, min_pressure: 50, benchmark: { zoom_level: -18, offset: { x: 654, y: 372 }, frames: 500, }, };