Commit graph

38 commits

Author SHA1 Message Date
70759c7a69 remove ineffective optimization (hide !isIntersecting images) 2021-01-11 19:35:04 +01:00
452cb267fb shorten VideoScroll.vue 2021-01-11 19:29:35 +01:00
3721067cca fix intersection on unloaded images (define other dimension) 2021-01-11 19:21:39 +01:00
a7bd0f7b71 process videoscrolls (incurs additional loads) last 2021-01-11 17:47:57 +01:00
00b379500a spacebar to return to start 2021-01-11 17:43:24 +01:00
3e30ae81e0 make svg overflow visible 2021-01-11 17:22:08 +01:00
9eda504f92 improve long-range anchor pans 2021-01-11 14:47:14 +01:00
70a09e9eec add small dev panel 2021-01-11 00:06:13 +01:00
28b44e262e add fps counter (if VUE_APP_DEMO is set), rename svg hidden class 2021-01-10 23:37:37 +01:00
72ecb5d4c2 comments, reorganize 2021-01-10 22:59:50 +01:00
b270693868 limit minZoom (???) 2021-01-10 22:22:15 +01:00
24dc9c9f18 limit maxZoom (to a value where elements start disappearing anyway) 2021-01-10 22:22:15 +01:00
48e813471f pan to #start element on load; reduce css classes 2021-01-10 22:14:56 +01:00
d368d81f17 preload audio files 2021-01-10 22:05:14 +01:00
e7f2b5ee0c double click to both exit and enter fullscreen 2021-01-10 22:04:42 +01:00
290687ff47 also hide audio areas 2021-01-10 21:58:38 +01:00
631ba25f9f add audio areas 2021-01-10 21:55:40 +01:00
7c0d83b8ed fix fullscreen background color (?) 2021-01-10 16:33:00 +01:00
2305ae1a82 remove edgeScrolling prop/flag (since it's limited to fullscreen) 2021-01-10 16:29:51 +01:00
b3212c6c6a set background from SVG's pagecolor attr, default to black 2021-01-10 16:29:34 +01:00
77e20afc61 only edge scroll in fullscreen (enabled by double-click) 2021-01-10 13:25:49 +01:00
a6bc042876 adjust videoscroll size according to svg element, add all directions 2021-01-10 13:12:41 +01:00
e6f894cbf8 disable hot reloading in dev 2021-01-10 13:11:59 +01:00
b4e357a213 remove useless rootMargin 2021-01-10 13:04:48 +01:00
847f40961a make videoscroll URLs relative 2021-01-10 12:48:51 +01:00
18e43839d1 "pre-load" first image 2021-01-10 00:30:50 +01:00
b2f2420df9 do not display images out of viewport 2021-01-10 00:00:42 +01:00
5732daf32e smoothly show loading images 2021-01-09 23:56:14 +01:00
6e07542ace edge scrolling (todo: use rAF instead of timers) 2021-01-09 22:50:06 +01:00
fee57e4b3b add optimizeSpeed image-rendering attr, formatting 2021-01-09 21:01:00 +01:00
4531d12671 set vue publicPath 2021-01-09 21:00:56 +01:00
af7e345b2f add image lazy loading 2021-01-09 21:00:53 +01:00
22ee6f50cf video scrolls 2021-01-09 20:36:20 +01:00
1ce3b244f0 comments, remove bbox 2021-01-09 18:45:53 +01:00
af6694f890 fix scaling (duh) 2021-01-09 18:40:30 +01:00
28a200ee13 actual scale from anchor 2021-01-09 18:35:55 +01:00
d597aa9ae0 reorganize 2021-01-09 18:34:13 +01:00
52b5dda707 initial commit, got anchors working 2021-01-09 17:38:35 +01:00