Wiki: Build a 3D Solar System with Hand Recognition and Three.js
For agents: Markdown version · Wiki index · Explore
- Speaker: Liad Yosef
- Event: Reversim Summit 2022
- Video: https://www.youtube.com/watch?v=_ajyx6ry22A
- Transcript: /transcripts/2022/56-_ajyx6ry22A.md
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: Frontend, Machine Learning, Game Development, AI and LLMs
Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.
Summary
The speaker explores the world of three-dimensional web development and artificial intelligence by building a 3D solar system controlled entirely by hand gestures. The talk demonstrates that taking on an unfamiliar weekend project outside of one’s comfort zone helps foster open-mindedness and creativity among developers. Attendees learn how to combine modern web graphics and computer vision to create interactive browser experiences.
Key points
- 1:24 The speaker shares a personal passion for space simulation and introduces the idea of stepping outside one’s daily routine to explore new technologies.
- 2:25 Developers often suffer from decision fatigue when faced with numerous modern frameworks and tools, making it easy to retreat to comfortable habits.
- 5:35 The core goal of the project is established: building 3D worlds in the browser driven entirely by hand gestures using AI and web graphics libraries.
- 7:49 The speaker introduces 3D graphics libraries that abstract away complex low-level shaders to make 3D browser development accessible.
- 8:51 Building a basic 3D scene requires three fundamental elements: a scene, a camera, and a renderer.
- 13:02 Artificial intelligence is integrated into the browser using machine learning ports that leverage WebGL and the GPU for hand tracking.
- 16:14 Hand pose detection models provide precise coordinate data for every finger joint, which can be mapped to trigger actions in the browser.
- 22:27 The speaker demonstrates how to build celestial bodies like the sun and planets by mapping textures, bump maps, and lighting onto 3D spheres.
Takeaways
- Embrace weekend projects outside your daily tech stack to keep learning and stay inspired.
- Use high-level abstractions like 3D libraries and machine learning frameworks to avoid getting bogged down by low-level math.
- Separate your application logic using a publish-subscribe pattern to cleanly handle gesture events and UI state.
Questions this talk answers
- How can I render 3D graphics in the browser without writing complex WebGL shaders from scratch?
- What is the best way to integrate hand recognition and computer vision into a web application?
- How do I convert 2D screen coordinates from a webcam feed into 3D world coordinates for spatial interactions?
Technologies
Three.js, TensorFlow.js, MediaPipe, WebGL, JavaScript
Tags
3d graphics, ai, computer vision, frontend, side projects, web development