SAFARI IN SAFARI
summary
Recreates the older Safari compass as a live WebGL model built entirely in JavaScript using THREE.js and browser shaders; geometry is constructed from primitives and lathes (sphere, torus, lathe, text) rather than exported models, materials use MeshStandard with environment maps and bump maps plus transparent glass overlays, animation combines moving spot lights and an orbital camera driven by cosine time functions, rendering loop via requestAnimationFrame, and shaders are editable live in Firefox — the demos run in-browser (some projector freezes aside).
AI-written summary · about
chapters (26)
- 0:00Start
- 5:26Why WebGL?
- 7:49THREE.js overview
- 9:36Scene graph
- 10:42Rendering a Scene
- 12:30THREE.js - The macro and the micro
- 13:52How do I build this thing?
- 14:21Geometry-Sphere
- 14:50Geometry - Torus
- 15:44Geometry - Lathe
- 15:57Geometry-Path-based
- 16:31Geometry-Text
- 17:22Material - Wireframe
- 18:07Material - Basic
- 18:36MeshPhongMaterial
- 19:10MeshStandardMaterial
- 20:32Textured Materials
- 22:06Environment maps
- 23:13Transparency Blending
- 24:46Lights
- 25:29Interactivity
- 26:33Moving the Camera
- 28:47Camera Orbiting
- 29:22Under the hood
- 31:58Fragment shader
- 32:48Vertex shader
