The Monitor Setup Simulator 3D
A realistic 3D simulator to visualize and compare monitor setups on your desk. Perfect for planning your workspace before buying new monitors!
# Clone the repository
git clone https://github.com/hugo-lanzafame/setup-vizualizator
cd setup-vizualizator
# Install dependencies
npm install
# Start development server
npm run dev
Open http://localhost:5173 in your browser.
| Control | Action |
|---|---|
| Left Click + Drag | Rotate camera around the scene |
| Right Click + Drag | Pan camera (move view) |
| Mouse Wheel | Zoom in/out |
The sidebar offers two adjustment modes:
src/
├── lib/
│ ├── components/
│ │ ├── Scene.svelte # 3D scene setup (camera, lights)
│ │ ├── Panel.svelte # Main sidebar UI
│ │ ├── PanelConfiguration.svelte # Monitor list and add/remove
│ │ ├── PanelControls.svelte # Position and screen adjustments
│ │ ├── PanelConfigurationModal.svelte # Add monitor modal
│ │ └── models/
│ ├── stores/
│ │ └── monitors.js # Monitor state management
│ └── data/ # Components data configs
├── App.svelte # Root component
├── main.js # Entry point
└── styles.css # Global styles
Monitor dimensions are calculated from diagonal size and aspect ratio:
// Example: 24" 16:9 monitor
diagonal: 24 inches
width: ~53cm → 5.3 units
height: ~30cm → 3.0 units
Contributions are welcome! Please follow these steps:
git checkout -b feature/AmazingFeature)git commit -m 'Add AmazingFeature')git push origin feature/AmazingFeature)This project is licensed under the MIT License - see the LICENSE file for details.