How guoyuhan/customizer works
Main System Components
A. Frontend Application Layer
• Vue.js Application Core
• Component Structure
• State Management (Vuex Store)
• 3D Rendering Engine
B. Asset Management Layer
• Static Resources
• 3D Models
• Decoders
C. Customization Engine Layer
• Image Processing
• Shader Management
• UV Mapping
• Model Manipulation
Component Relationships
a) Core Application Components (Top Level):
• Main App.vue component at the top level
• It to the store management system
b) Customizer Components (Second Level):
• Customizer components (CustomizerView, FontCustomizer, ImageCustomizer, WCustomizer)
• Their relationship to the 3D rendering system
• Connections to the Vuex store
c) Asset Management (Side Layer):
• Draco decoder integration
• To the loading utilities
d) Utilities and Services (Bottom Layer):
• Utility functions
• API services
• Shader and image processing tools
Specific Implementation Details
Use these visual elements:
• Blue containers for Vue.js components
• Green containers for 3D processing elements
• Yellow containers for utility services
• Red containers for asset management
• Purple containers for state management
Data Flow Indicators
Key interactions:
Technical Stack Highlights
Technology indicators:
• Vue.js framework
• Three.js (implied by GLB models)
• Draco decoder
• Custom shader system
• Image processing utilities
Key Architectural Patterns
Patterns:
• Component-based architecture
• Centralized state management
• Asset pipeline
• Custom shader system
• Image processing workflow
┌─────────────────────────────────────────┐
• Vue.js Application │
• ┤
• Components │ 3D Renderer │ Store │
• ┤
• Customization Engine │
• ┤
• Asset Management │
• ┘