How canxerian/lusion-reverse-engineered works
Project type and purpose
• This is a single-page, front-end-only 3D immersive website built with JavaScript and WebGL (Three.js under the hood).
• It re-implements https://lusion.co purely in the browser to learn how to build interactive 3D web experiences.
File structure
• Top-level files
– index.html, index.css : the host page and styling
– main.js & main-realtime-cubemap.js : entry points for different rendering flows
– package.json & vite.config.js : Node/npm dependencies and dev/build config
• src/ directory (modular JS code)
– scene3d.js: orchestrates Three.js renderer, camera, scene graph
– homeScene.js, physicsSandbox.js, projectTiles.js, ikTest.js : self-contained “scene” modules
– videoPanel*.js, animatedLine.js, animatedTube.js : feature modules for animations & video
– shaders/: custom GLSL fragments & verts
– utils/: helpers for animation, nurbs, loading, paging, debug GUI
• assets/ vs _source_assets/
– assets/: production-ready glTF, HDRI, JSON, video
– _source_assets/: original Blender and cache files (not shipped)
README for insights
• Confirms “reverse engineered” static site, no back end
• Uses npm start → starts a Vite dev server for HMR & bundling