Commit graph

81 commits

Author SHA1 Message Date
88dcb89ca7 only run CI on master 2021-04-09 17:49:02 +02:00
b6fcd09a3b Add LICENSE 2021-04-09 17:38:46 +02:00
9003761097 gamepad support 2021-04-08 20:54:59 +02:00
c104a70dbe autoformat + npm update 2021-04-08 20:43:21 +02:00
66852229bd fix VideoScroll rotate property 2021-01-20 23:07:02 +01:00
Tomáš Mládek
f09faa3944 fix space -> home not working if location in hash 2021-01-17 18:04:00 +01:00
Tomáš Mládek
b66c5113a1 put/read current location in/from url fragment (fix #6) 2021-01-17 16:34:49 +01:00
Tomáš Mládek
2dc16e7362 invert dev hiding logic 2021-01-17 15:18:18 +01:00
Tomáš Mládek
4e3dc29337 also hide devpanel 2021-01-17 15:11:03 +01:00
Tomáš Mládek
a0a9b02bcf conditionally allow debug if '?debug' in url 2021-01-17 14:59:21 +01:00
bceb4dec7a zoom after larger delay 2021-01-17 12:34:48 +01:00
74ef8288b1 rework classes to be more semantic, images outside of viewport are hidden 2021-01-16 22:32:37 +01:00
c0ae3c7354 fix loading line centering 2021-01-16 22:22:02 +01:00
15b377d4a2 Revert all the way back before "turn <img> in VideoScroll into its own component" 2021-01-16 22:13:18 +01:00
91d6af38a0 add key to VideoScrollImage elements, increase performance 2021-01-16 20:44:19 +01:00
826ec2d9f0 rewrite VideoScrollImage.vue to be more vue-like, return visibility: hidden
https://engineering.linkedin.com/linkedin-ipad-5-techniques-smooth-infinite-scrolling-html5
2021-01-16 18:30:04 +01:00
e77106fa1f turn <img> in VideoScroll into its own component 2021-01-16 18:21:08 +01:00
869c4ea129 do not coerce in loadedPercent 2021-01-16 14:52:29 +01:00
2e2728f4e2 if ellipse is found, consider it a circle with r=rx+ry/2 (fix #2) 2021-01-16 14:52:05 +01:00
124ce4779f add initial loading bar (fix #4) 2021-01-16 14:33:18 +01:00
899c9a1bdd add goatcounter analytics 2021-01-13 23:33:19 +01:00
caecddc171 if an image doesn't load in 3s, show a gray placeholder 2021-01-13 22:43:36 +01:00
4dbb9094b7 ignore controls while a smooth pan is in progress 2021-01-12 18:59:05 +01:00
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