- Replace CDN-based Three.js with npm packages for reliable loading - Add DRACO loader support for compressed GLB files - Implement custom horizon gradient environment mapping - Use exact material properties from reference logo.html (MeshPhysicalMaterial) - Apply proper metallic sheen, clearcoat, and reflectivity settings - Fix camera positioning and canvas sizing to prevent clipping - Maintain square aspect ratio for consistent logo display - Load user's mobius-ring.glb with fallback torus geometry 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Draco 3D Data Compression
Draco is an open-source library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.
Contents
This folder contains three utilities:
draco_decoder.js— Emscripten-compiled decoder, compatible with any modern browser.draco_decoder.wasm— WebAssembly decoder, compatible with newer browsers and devices.draco_wasm_wrapper.js— JavaScript wrapper for the WASM decoder.
Each file is provided in two variations:
- Default: Latest stable builds, tracking the project's master branch.
- glTF: Builds targeted by the glTF mesh compression extension, tracking the corresponding Draco branch.
Either variation may be used with DRACOLoader:
var dracoLoader = new DRACOLoader();
dracoLoader.setDecoderPath('path/to/decoders/');
dracoLoader.setDecoderConfig({type: 'js'}); // (Optional) Override detection of WASM support.
Further documentation on GitHub.