Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
第12回社内勉強会
Search
y-katsumi
July 08, 2016
470
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
第12回社内勉強会
y-katsumi
July 08, 2016
More Decks by y-katsumi
See All by y-katsumi
Hack Day Exhibition 2017で発表したスライド
ykatsumi
0
50
server⚡lessを触る
ykatsumi
0
430
第19回社内勉強会
ykatsumi
0
350
社内勉強会発表
ykatsumi
0
900
Featured
See All Featured
Practical Orchestrator
shlominoach
192
12k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
440
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
Prompt Engineering for Job Search
mfonobong
0
520
Unsuck your backbone
ammeep
672
58k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
A better future with KSS
kneath
240
18k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
380
Crafting Experiences
bethany
1
380
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
450
Transcript
JavaScriptΛͬͯ ϒϥβͰΈΕΔͷΛ࡞Δ ʢޙઓʣ ˏΧπϛ 2016/7/7 גࣜձࣾελδΦɾΞϧΧφ
ࠓճ
ࠓճ • threejs • cannonjs
ղઆ
three.js • ϒϥβͰ3Dͷදݱ͕Ͱ͖Δ
͜Μͳͷ http://threejs.org/examples/#webgl_animation_skinning_morph
cannonjs • three.jsͰ࡞ͨ͠ΦϒδΣΫτΛཧԋࢉͰ ಈ͔͢͜ͱ͕Ͱ͖Δ
͜Μͳͷ http://schteppe.github.io/cannon.js/demos/bounce.html
cannonjsͷαϯϓϧ • http://schteppe.github.io/cannon.js/ examples/threejs_fps.html ͷαϯϓϧΛ͍ͬͯ͡Έ·ͨ͠ʂ
ιʔεղઆ ʢͪΐͬͱ͚ͩʣ
threejs+cannonjs
threejs+cannonjs UISFFKTͰ̏%ΦϒδΣΫτΛ࡞
threejs+cannonjs ಈ͖Λग़ͨ͢ΊͷDBOOPOͷΦϒδΣΫτ࡞
threejs+cannonjs ྻಥͬࠐΉ
threejs+cannonjs UISFFKTͷΦϒδΣΫτΛຖඵʁʢຖϑϨʔϜʁʣ ϨϯμϦϯά͢Δ
threejs+cannonjs DBOOPOͰಘΒΕͨ݁ՌʢΦϒδΣΫτͷҐஔʣΛ UISFFKTͷ̏%ΦϒδΣΫτʹઃఆ͠ UISFFKTͰϨϯμϦϯά͢Δ
αϯϓϧͷ ύϥϝʔλʹ͍ͭͯ
threejs_fps.html • world.gravity.set(0,-20,0); • var ballShape = new CANNON.Sphere(0.2); •
var ballBody = new CANNON.Body({ mass: 1 });
threejs_fps.html • world.gravity.set(0,-20,0); • var ballShape = new CANNON.Sphere(0.2); •
var ballBody = new CANNON.Body({ mass: 1 }); ॏྗʢZ࣠ʹʣ ଧͪग़͢ϘʔϧͷαΠζ ଧͪग़͢Ϙʔϧͷॏ͞
͍ͬͯ͡ΈΔ
threejs_fps.html • world.gravity.set(0,0,0); • var ballShape = new CANNON.Sphere(3); •
var ballBody = new CANNON.Body({ mass: 0.1 }); શ෦ු͔Ϳ ϘʔϧΊͬͪΌͰ͔͍ͬ ϘʔϧΊͬͪΌඈΜͰ͘
ͳΜ͔͍Ζ͍Ζ͍͡Δ͚ͩͰ ໘ന͍
ͱ͍͑͜Ε͚ͩͰɾɾ
Ͱઌिͬͨ
https://nttcom.github.io/skyway/
Μ͡Ό࣮͋ફ
https://y-katsumi.github.io/ cannonjs_study/
Θ͔ͬͨ͜ͱ
σόοάதmac͕ര
σόοάதmac͕ര • Զͷmac͕ਅͬʹ೩͑ͯώʔτΤϯυͦ͠͏
͋Γ͕ͱ͏͍͟͝·ͨ͠ɻ