summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/constants.js
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/constants.js')
-rw-r--r--animism-align/frontend/app/constants.js34
1 files changed, 34 insertions, 0 deletions
diff --git a/animism-align/frontend/app/constants.js b/animism-align/frontend/app/constants.js
new file mode 100644
index 0000000..cf504d3
--- /dev/null
+++ b/animism-align/frontend/app/constants.js
@@ -0,0 +1,34 @@
+export const WAVEFORM_SIZE = 300
+
+export const ZOOM_STEPS = [
+ 1,
+ 2,
+ 3,
+ 10,
+ 20,
+ 30,
+ 60,
+]
+
+export const ZOOM_LABEL_STEPS = [
+ 20,
+ 60,
+ 60,
+ 300,
+ 600,
+ 600,
+ 1200,
+]
+
+export const ZOOM_TICK_STEPS = [
+ 5,
+ 10,
+ 30,
+ 60,
+ 60,
+ 60,
+ 600,
+]
+
+export const HEADER_MARGIN = 50
+export const INNER_HEIGHT = window.innerHeight - HEADER_MARGIN