Building virtual worlds with web technologies
summary
A live demo builds a Katamari-like world: a textured sphere rolls, collides with cats and balloons, and grows its radius on each physics collide event. The stack uses A-Frame + WebXR over WebGL, loads gltf models from Google Poly, uses the physics component (static vs dynamic bodies), animation-mixer, spatial audio, and a device motion threshold for jumping. Code runs on Glitch, objects needed manual scaling (example: cat scaled to 0.2) and the prototype works.
AI-written summary · about
chapters (20)
- 0:00Introduction and welcome
- 1:59Personal journey into VR
- 3:26Virtual to augmented reality spectrum
- 5:58Inspiration from Katamari Damacy
- 7:45Web technologies for 3D
- 9:08A-Frame framework overview
- 13:27Positioning and rotating objects
- 14:51Materials and textures
- 15:553D model formats and sources
- 18:23Physics and collisions
- 19:50User interactions and controls
- 22:26Building a basic A-Frame scene
- 26:24Live coding the game demo
- 31:34Entity nesting and animations
- 33:23Avatar and score setup
- 36:54JavaScript for dynamic elements
- 38:42Event listeners and jumps
- 39:26Final demo and game play
- 40:44Resources and inspiration
- 41:25Q&A session
