# Build a 3D Solar System with Hand Recognition and Three.js

- Speaker: [Liad Yosef](/wiki/speakers/liad-yosef.md)
- Event: [Reversim Summit 2022](/wiki/years/2022.md)
- Video: https://www.youtube.com/watch?v=_ajyx6ry22A
- Transcript: [/transcripts/2022/56-_ajyx6ry22A.md](/transcripts/2022/56-_ajyx6ry22A.md)
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: [Frontend](/wiki/topics/frontend.md), [Machine Learning](/wiki/topics/machine-learning.md), [Game Development](/wiki/topics/game-development.md), [AI and LLMs](/wiki/topics/generative-ai.md)

> 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](https://www.youtube.com/watch?v=_ajyx6ry22A&t=84s) 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](https://www.youtube.com/watch?v=_ajyx6ry22A&t=145s) Developers often suffer from decision fatigue when faced with numerous modern frameworks and tools, making it easy to retreat to comfortable habits.
- [5:35](https://www.youtube.com/watch?v=_ajyx6ry22A&t=335s) 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](https://www.youtube.com/watch?v=_ajyx6ry22A&t=469s) The speaker introduces 3D graphics libraries that abstract away complex low-level shaders to make 3D browser development accessible.
- [8:51](https://www.youtube.com/watch?v=_ajyx6ry22A&t=531s) Building a basic 3D scene requires three fundamental elements: a scene, a camera, and a renderer.
- [13:02](https://www.youtube.com/watch?v=_ajyx6ry22A&t=782s) Artificial intelligence is integrated into the browser using machine learning ports that leverage WebGL and the GPU for hand tracking.
- [16:14](https://www.youtube.com/watch?v=_ajyx6ry22A&t=974s) Hand pose detection models provide precise coordinate data for every finger joint, which can be mapped to trigger actions in the browser.
- [22:27](https://www.youtube.com/watch?v=_ajyx6ry22A&t=1347s) 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
