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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
800
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.4k
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
ASTのGitHub CopilotとCopilot CLIの現在地をお話しします/How AST Operates GitHub Copilot and Copilot CLI
aeonpeople
1
130
BIツール「Omni」の紹介 @Snowflake中部UG
sagara
0
190
マルチモーダル非構造データとの闘い
shibuiwilliam
1
180
I ran an automated simulation of fake news spread using OpenClaw.
zzzzico
1
930
JAWS DAYS 2026でAIの「もやっと」感が解消された話
smt7174
1
130
TanStack Start エコシステムの現在地 / TanStack Start Ecosystem 2026
iktakahiro
1
290
GitHub Advanced Security × Defender for Cloudで開発とSecOpsのサイロを超える: コードとクラウドをつなぐ、開発プラットフォームのセキュリティ
yuriemori
1
130
40代からのアウトプット ― 経験は価値ある学びに変わる / 20260404 Naoki Takahashi
shift_evolve
PRO
5
830
Tour of Agent Protocols: MCP, A2A, AG-UI, A2UI with ADK
meteatamel
0
210
15年メンテしてきたdotfilesから開発トレンドを振り返る 2011 - 2026
giginet
PRO
2
280
自分をひらくと次のチャレンジの敷居が下がる
sudoakiy
5
1.8k
Network Firewall Proxyで 自前プロキシを消し去ることができるのか
gusandayo
0
190
Featured
See All Featured
Context Engineering - Making Every Token Count
addyosmani
9
790
Between Models and Reality
mayunak
3
260
Side Projects
sachag
455
43k
How to build a perfect <img>
jonoalderson
1
5.3k
エンジニアに許された特別な時間の終わり
watany
106
240k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
140
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
180
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.7k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
190
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
95
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
WENDY [Excerpt]
tessaabrams
9
37k
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