Commit Graph

62 Commits (124ce4779f7758687bcf92b87d7639d353694fbc)

Author SHA1 Message Date
Tomáš Mládek 124ce4779f add initial loading bar (fix #4) 2021-01-16 14:33:18 +01:00
Tomáš Mládek 899c9a1bdd add goatcounter analytics 2021-01-13 23:33:19 +01:00
Tomáš Mládek caecddc171 if an image doesn't load in 3s, show a gray placeholder 2021-01-13 22:43:36 +01:00
Tomáš Mládek 4dbb9094b7 ignore controls while a smooth pan is in progress 2021-01-12 18:59:05 +01:00
Tomáš Mládek 7361147f85 move BoundingBox def to SVGContent.vue 2021-01-12 18:06:53 +01:00
Tomáš Mládek 8bbcd96050 add prop types, fix warnings 2021-01-12 18:05:41 +01:00
Tomáš Mládek 4c42baf268 broaden anchor detection (not just anchor_N but anchor_anything) 2021-01-12 00:53:47 +01:00
Tomáš Mládek 8b0e1c0fa8 process anchor links (href.startsWith 'anchor') 2021-01-12 00:39:32 +01:00
Tomáš Mládek ea1a96acd3 open all hyperlinks in new tab 2021-01-12 00:24:35 +01:00
Tomáš Mládek f6c6e3a412 allow specifying multiple directions (e.g. "up right") 2021-01-12 00:15:42 +01:00
Tomáš Mládek 47e2e19a3c lower minZoom to 0.05 2021-01-11 23:51:37 +01:00
Tomáš Mládek 461281b606 set title, reformat index.html 2021-01-11 23:25:22 +01:00
Tomáš Mládek b23d471281 add lots of logging everywhere 2021-01-11 23:10:40 +01:00
Tomáš Mládek 3ee9ae83ca improve devpanel (cursor position, styling) 2021-01-11 22:47:36 +01:00
Tomáš Mládek bb085c174e set MOVE_EDGE to 25% of either dimension 2021-01-11 22:37:20 +01:00
Tomáš Mládek f3eb39e034 edgeScrolling via rAF, fix bug when distanceToEdge == 0 2021-01-11 22:35:16 +01:00
Tomáš Mládek 32de482742 support rotation, refactor VideoScroll.vue 2021-01-11 22:17:29 +01:00
Tomáš Mládek a78318dd07 MIN_VOLUME_MULTIPLIER = 0.33 2021-01-11 20:56:44 +01:00
Tomáš Mládek eac0c6d8c7 also consider distance from plane in AudioArea volume 2021-01-11 20:20:55 +01:00
Tomáš Mládek 97b4aae360 remove currentTransform (unnecessary) 2021-01-11 19:51:05 +01:00
Tomáš Mládek 70759c7a69 remove ineffective optimization (hide !isIntersecting images) 2021-01-11 19:35:04 +01:00
Tomáš Mládek 452cb267fb shorten VideoScroll.vue 2021-01-11 19:29:35 +01:00
Tomáš Mládek 3721067cca fix intersection on unloaded images (define other dimension) 2021-01-11 19:21:39 +01:00
Tomáš Mládek a7bd0f7b71 process videoscrolls (incurs additional loads) last 2021-01-11 17:47:57 +01:00
Tomáš Mládek 00b379500a spacebar to return to start 2021-01-11 17:43:24 +01:00
Tomáš Mládek 3e30ae81e0 make svg overflow visible 2021-01-11 17:22:08 +01:00
Tomáš Mládek 9eda504f92 improve long-range anchor pans 2021-01-11 14:47:14 +01:00
Tomáš Mládek 70a09e9eec add small dev panel 2021-01-11 00:06:13 +01:00
Tomáš Mládek 28b44e262e add fps counter (if VUE_APP_DEMO is set), rename svg hidden class 2021-01-10 23:37:37 +01:00
Tomáš Mládek 72ecb5d4c2 comments, reorganize 2021-01-10 22:59:50 +01:00
Tomáš Mládek b270693868 limit minZoom (???) 2021-01-10 22:22:15 +01:00
Tomáš Mládek 24dc9c9f18 limit maxZoom (to a value where elements start disappearing anyway) 2021-01-10 22:22:15 +01:00
Tomáš Mládek 48e813471f pan to #start element on load; reduce css classes 2021-01-10 22:14:56 +01:00
Tomáš Mládek d368d81f17 preload audio files 2021-01-10 22:05:14 +01:00
Tomáš Mládek e7f2b5ee0c double click to both exit and enter fullscreen 2021-01-10 22:04:42 +01:00
Tomáš Mládek 290687ff47 also hide audio areas 2021-01-10 21:58:38 +01:00
Tomáš Mládek 631ba25f9f add audio areas 2021-01-10 21:55:40 +01:00
Tomáš Mládek 7c0d83b8ed fix fullscreen background color (?) 2021-01-10 16:33:00 +01:00
Tomáš Mládek 2305ae1a82 remove edgeScrolling prop/flag (since it's limited to fullscreen) 2021-01-10 16:29:51 +01:00
Tomáš Mládek b3212c6c6a set background from SVG's pagecolor attr, default to black 2021-01-10 16:29:34 +01:00
Tomáš Mládek 77e20afc61 only edge scroll in fullscreen (enabled by double-click) 2021-01-10 13:25:49 +01:00
Tomáš Mládek a6bc042876 adjust videoscroll size according to svg element, add all directions 2021-01-10 13:12:41 +01:00
Tomáš Mládek e6f894cbf8 disable hot reloading in dev 2021-01-10 13:11:59 +01:00
Tomáš Mládek b4e357a213 remove useless rootMargin 2021-01-10 13:04:48 +01:00
Tomáš Mládek 847f40961a make videoscroll URLs relative 2021-01-10 12:48:51 +01:00
Tomáš Mládek 982f1ef026 Add deployment via GitLab CI 2021-01-10 12:35:05 +01:00
Tomáš Mládek 18e43839d1 "pre-load" first image 2021-01-10 00:30:50 +01:00
Tomáš Mládek b2f2420df9 do not display images out of viewport 2021-01-10 00:00:42 +01:00
Tomáš Mládek 5732daf32e smoothly show loading images 2021-01-09 23:56:14 +01:00
Tomáš Mládek 6e07542ace edge scrolling (todo: use rAF instead of timers) 2021-01-09 22:50:06 +01:00