Repository navigation
WebGL Cursor
Mohammed Sahil edited this page Nov 21, 2026
·
3 revisions
Odyssey implements a continuous, hardware-accelerated Three.js liquid metal chrome blob cursor that dynamically recalibrates physics parameters based on the active client route.
flowchart TD
Route["Route Navigation Event<br/>useLocation Hook"]
Resolver["Configuration Resolver<br/>getCursorConfig(pathname)"]
Params["Physics & Shader Manifest<br/>Color • Viscosity • Droplets • Morph"]
Renderer["Three.js Blob Cursor Component<br/>Hardware-Accelerated WebGL Canvas"]
Route --> Resolver
Resolver --> Params
Params --> Renderer
| Route | Atmospheric Domain | Hex Code | Physics Parameters |
|---|---|---|---|
/ |
Retro Slate Intro |
#FF70A6 (Brain Pink) |
size: 42, wobble: 0.8, stretch: 0.4 |
/student |
Basecamp Requisition |
#FF70A6 (Brain Pink Chrome) |
High wobble (0.85), 7 droplet splashes |
/printing |
Print Laboratory |
#00E599 (Electric Mint) |
Ultra-reflective pearl chrome finish |
/writing |
Writing Weaponry Crypt |
#45B89E (Seafoam Jade) |
Low lag, crisp reactive trailing |
/paper |
Paper & Reams Crypt |
#FF3B47 (Electric Crimson) |
High-contrast crimson chrome |
/payment |
Gothic Cemetery Midnight |
#FF2A1B (Fiery Ember Chrome) |
Heavy morph (0.35), 8-droplet burst |
Rapid multi-clicking to burst cursor droplets triggers zero browser text selection glitches:
-
BlobCursor.cssapplies globaluser-select: none. -
BlobCursor.jsxintercepts non-inpute.detail > 1mousedown events to prevent accidental UI highlighting.
Odyssey Technical Documentation • Maintained by Mohammed Sahil • React 19, Vite 8, Three.js & Express 5.