Hardware-Accelerated 3D WebGL & Solar DPR Engine
Solaris 3D Configurator & DPR Core
Solaris 3D decouples WebGL canvas rendering from React's state loop to achieve silky smooth 60–120 FPS camera orbit rotation while calculating rooftop solar capacity. It allows residential and commercial clients to simulate sun trajectories, panel tilt angles, shading loss, monthly energy savings, and export an official engineering DPR PDF.
Status
Production
Stack
Three.js, WebGL, React 19, Tailwind CSS, Node.js, Chart.js, jsPDF
Throughput / Users
3,500+ Simulations
Performance
60-120 FPS WebGL Orbit
System Architecture & Problem Statement
Architecture Layers:
Key Product Features
Database Entity Schema & Relationships
Projects
Collection/Table→ Has one SolarSimulation and one DprReport
SolarSimulations
Collection/Table→ Belongs to Project
DprReports
Collection/Table→ Belongs to Project
API Specifications & Endpoints
/api/solar/simulateCalculates solar energy yield, panel count, and financial ROI from rooftop area & monthly bill.
/api/solar/dpr-generateAssembles site parameters into an official downloadable DPR PDF document.
/api/solar/tariffs/:regionFetches current commercial & residential electricity tariff structures.
Interactive Visual Screenshots & Previews
Interactive Three.js WebGL rooftop model showing real-time sunlight shadows and panel tilt adjustment.
Total Throughput
1,240 / day
Avg Latency
18ms
Health Index
99.8%
Dynamic ROI charts displaying net metering savings, payback period, and monthly bill offset.
🚀 Quick Start & Process to Run
Prerequisites
- Node.js 18+
- npm or yarn
- WebGL2 compatible browser
Required Environment Variables (.env)
VITE_API_BASE_URL=http://localhost:5000
VITE_MAPBOX_TOKEN=pk.eyJ1...
Execution Steps:
1. Clone Project Repository
Download full project source code.
2. Install Frontend & WebGL Dependencies
Install Three.js, @react-three/fiber, @react-three/drei, Lucide React, and Tailwind CSS.
3. Launch WebGL Dev Server
Start Vite development server on http://localhost:5173.
4. Build Production Distribution
Compile optimized production bundle with WebGL asset chunking.