feat: Implement proper Three.js logo system with custom environment mapping

- 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>
This commit is contained in:
tony
2025-08-24 14:13:29 +10:00
parent e73df0b20d
commit d83dbdce46
3819 changed files with 32899 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
{
"name": "brand-style-guide-site",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"build": "next build --turbopack",
"start": "next start",
"lint": "eslint"
},
"dependencies": {
"next": "15.5.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"three": "^0.179.1"
},
"devDependencies": {
"@eslint/eslintrc": "^3",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/three": "^0.179.0",
"autoprefixer": "^10.4.21",
"eslint": "^9",
"eslint-config-next": "15.5.0",
"postcss": "^8.5.6",
"tailwindcss": "^3.4.17",
"typescript": "^5"
}
}