Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
How do you show assets loading?
Search
yomotsu
April 21, 2017
Technology
1k
1
Share
How do you show assets loading?
yomotsu
April 21, 2017
More Decks by yomotsu
See All by yomotsu
three.jsとRapierでレースゲームが3日でできた話
yomotsu
0
810
PBR in three.js
yomotsu
1
1.1k
dialog要素でつくるモーダルダイアログ
yomotsu
0
1k
IE to Edge
yomotsu
1
390
A Camera Control Library for three.js
yomotsu
1
1.5k
Let’s try AR on mobile Web with <model-viewer>
yomotsu
0
590
WebXR: Beyond WebGL
yomotsu
2
1.9k
Non-DOM components with WebGL in Vue.js
yomotsu
5
13k
WebGL Libs for WebApp Frameworks
yomotsu
4
7.9k
Other Decks in Technology
See All in Technology
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
5
14k
職能の壁を取り払った先で見えた壁 -AI時代のクロスファンクショナル組織-
shimotaroo
1
110
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
18k
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4.2k
みんなで作るAWS Tips 100連発 (FinOps編)
schwrzktz
1
250
NOSTR, réseau social et espace de liberté décentralisé
rlifchitz
0
200
昔はシンプルだった_AmazonS3
kawaji_scratch
0
290
Snowflake Intelligence導入で 分かった活用のコツ
wonohe
0
110
MLOps導入のための組織作りの第一歩
akasan
0
270
幾億の壁を超えて/Beyond Countless Walls(JP)
ikuodanaka
0
130
JEDAI in Osaka 2026イントロ
taka_aki
0
230
Data Hubグループ 紹介資料
sansan33
PRO
0
2.9k
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
55
9.8k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
370
First, design no harm
axbom
PRO
2
1.2k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
380
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
The Pragmatic Product Professional
lauravandoore
37
7.2k
Evolving SEO for Evolving Search Engines
ryanjones
0
180
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
470
Paper Plane
katiecoart
PRO
1
49k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
98
Transcript
How do you show assets loading? Presented by Akihiro Oyamada
(@yomotsu) Apr 21, 2017
Frontend Engineer at PixelGrid, Inc. Akihiro Oyamada @yomotsu
None
• ϩʔυ͍ͯ͠ΔͷΘ͔Δ • ͍ͭऴΘΔͷ͔Θ͔Βͳ͍ εϐφʔ
http://www.createjs.com/preloadjs
• ϩʔυਐߦ͕Θ͔Δ • ϩʔυਐߦϦχΞͰͳ͍ • ϑΝΠϧϔομϑΝΠϧ Preload.js
None
• ϑΝΠϧϔομ1ͭʢϑΝΠϧ͕݁߹͞Ε͍ͯΔʣ • XHR2ͰϩʔυਐߦऔΕΔ(ϦχΞ) • ѹॖ͕ޮ͘ zip
http://yomotsu.net/blog/assets/2016-12-25-xmas/
3D Model file consists of mostly numbers
3D scanned(ish) Model file
http://localhost:8000/5_compress/bad.html
None
Save 70% of size!
Can JS extract zip files? 15
There is a library! called zip-loader.js 16
https://www.npmjs.com/package/zip-loader
demo https://www.npmjs.com/package/zip-loader
gl.finish(); @yomotsu