Visualizer work
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
855 B

// This file centralizes all debug logging flags for the application.
// To enable a specific set of logs, set the corresponding flag to `true`.
// These flags can also be modified at runtime via the browser console
// by accessing the global `debugFlags` object (e.g., `debugFlags.sync = true`).
export const debugFlags = {
// Logs from videoFrameCallback and animationLoop in sync.js
sync: false,
// Logs from the main p5.js draw() functions (e.g., radarSketch.js)
drawing: false,
// Logs related to file loading, parsing, and caching
fileLoading: false,
// Logs from the SpeedGraph p5 sketch (density info, etc.)
speedGraph: false,
// If true, file caching blocks the main thread for debugging.
CACHE_BLOCKING: false,
VIDEO_LOAD_TIMEOUT: 10000, // 10 seconds
VIDEO_LOAD_RETRIES: 1, // Number of retries if loading fails
};