Commit graph

108 commits

Author SHA1 Message Date
7361147f85 move BoundingBox def to SVGContent.vue 2021-01-12 18:06:53 +01:00
8bbcd96050 add prop types, fix warnings 2021-01-12 18:05:41 +01:00
4c42baf268 broaden anchor detection (not just anchor_N but anchor_anything) 2021-01-12 00:53:47 +01:00
8b0e1c0fa8 process anchor links (href.startsWith 'anchor') 2021-01-12 00:39:32 +01:00
ea1a96acd3 open all hyperlinks in new tab 2021-01-12 00:24:35 +01:00
f6c6e3a412 allow specifying multiple directions (e.g. "up right") 2021-01-12 00:15:42 +01:00
47e2e19a3c lower minZoom to 0.05 2021-01-11 23:51:37 +01:00
461281b606 set title, reformat index.html 2021-01-11 23:25:22 +01:00
b23d471281 add lots of logging everywhere 2021-01-11 23:10:40 +01:00
3ee9ae83ca improve devpanel (cursor position, styling) 2021-01-11 22:47:36 +01:00
bb085c174e set MOVE_EDGE to 25% of either dimension 2021-01-11 22:37:20 +01:00
f3eb39e034 edgeScrolling via rAF, fix bug when distanceToEdge == 0 2021-01-11 22:35:16 +01:00
32de482742 support rotation, refactor VideoScroll.vue 2021-01-11 22:17:29 +01:00
a78318dd07 MIN_VOLUME_MULTIPLIER = 0.33 2021-01-11 20:56:44 +01:00
eac0c6d8c7 also consider distance from plane in AudioArea volume 2021-01-11 20:20:55 +01:00
97b4aae360 remove currentTransform (unnecessary) 2021-01-11 19:51:05 +01:00
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
982f1ef026 Add deployment via GitLab CI 2021-01-10 12:35:05 +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
5293c3f6e4 fix artifact path in .gitlab-ci.yml 2021-01-09 21:56:22 +01:00
e60d0fb844 Add .gitlab-ci.yml 2021-01-09 20:53:06 +00: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