English | 简体中文
Hilo is a smart beauty lighting assistant designed to help users achieve accurate makeup color rendering in various environmental lighting conditions through screen fill-light technology.
-
Light Analysis
- Analyzes current environmental lighting via camera or uploaded images.
- Real-time calculation of Color Temperature (Kelvin), Brightness, Spectral Peak, and Shadow Distribution.
-
Smart Light
- Automatically calculates the optimal screen fill-light color and brightness based on environmental analysis.
- Chromatic Adaptation: Balances environmental color casts.
- Spectral Filling: Compensates for missing spectral components (e.g., green spikes in fluorescent lighting).
- Cosmetic Enhancement: Ensures makeup colors are rendered accurately under specific lighting.
-
Beauty & Scene Management
- Cosmetic Library: Manage shades for foundation, lipstick, eyeshadow, blush, and more.
- Environment Presets: Save lighting parameters for different scenes (e.g., "Morning Living Room", "Office") for quick switching.
-
PWA Support
- Progressive Web App (PWA) support, allowing installation on mobile devices for a native app-like experience.
- Framework: Next.js 16 (React 19)
- Styling: Tailwind CSS v4
- Animation: Framer Motion
- Icons: Lucide React
- Internationalization: i18next
- Package Manager: pnpm
- Node.js (v20+ recommended)
- pnpm (Mandatory for this project)
pnpm installpnpm devOpen http://localhost:3000 in your browser to view the application.
Build for production:
pnpm buildStart production server:
pnpm startHilo/
├── components/ # UI Components
├── pages/ # Page Routes
├── public/ # Static Assets
├── styles/ # Global Styles
├── utils/ # Utility Functions
│ ├── lightAnalysis.ts # Light Analysis Algorithms
│ └── smartLight.ts # Smart Light Algorithms
└── ...
- Please ensure you use pnpm for package management.
- Code style follows the configured ESLint rules.
License: MIT