d3p1 / three.js-journey

My journey to Three.js
https://d3p1.github.io/three.js-journey/
MIT License
0 stars 0 forks source link

Refactor project structure #2

Open d3p1 opened 9 months ago

d3p1 commented 9 months ago

Description

For now, to KISS, every topic/lesson learned in Three.js Journey has been added to a folder without implementing a modular system that allows for the reuse of common initialization logic.

Solution

Create a modular system with useful design patterns (such as factory classes, composition, DI, etc.) and refactor the project structure so that each topic avoids using repetitive initialization logic.

Additional information