A unique, minimalist 8-hour cycle clock built with React, TypeScript, and Tailwind CSS.
Traditional clocks divide the day into two 12-hour cycles or one 24-hour cycle. OctaveClock reimagines timekeeping by dividing the 24-hour day into three 8-hour cycles:
- Cycle 1: 00:00:00 to 07:59:59
- Cycle 2: 08:00:00 to 15:59:59
- Cycle 3: 16:00:00 to 23:59:59
The dial features 64 ticks instead of the traditional 60. Each tick represents exactly 7.5 minutes (450 seconds). The single hand completes a full revolution every 8 hours, offering a fresh, technical perspective on the passage of time.
- Custom 8-Hour Dial: A single hand that completes a 360° rotation every 8 hours.
- 64-Tick Precision System: Precision markers where each tick equals 7.5 minutes.
- Dynamic Cycle Indicator: A sleek, neon-styled digital window indicating the current 8-hour cycle (08, 16, or 24).
- Toggleable Detailed View: Switch between a minimalist clean dial and a highly technical detailed view featuring concentric hour rings and minute markers (15, 30, 45).
- Smooth SVG Rendering: Crisp, scalable, and lightweight vector graphics ensuring perfect rendering on any display.
- Responsive Design: Adapts perfectly to any screen size, maintaining its pristine aspect ratio.
- Dark Mode UI: A beautiful slate/neon color palette inspired by modern technical dashboards and German minimalist design.
Get your own OctaveClock running locally in seconds.
- Node.js (v18 or higher recommended)
- npm or yarn
-
Clone the repository
git clone https://github.com/yourusername/OctaveClock.git cd OctaveClock -
Install dependencies
npm install
-
Start the development server
npm run dev
-
Open your browser Navigate to
http://localhost:3000(or the port provided by Vite).
- Framework: React 18
- Language: TypeScript
- Styling: Tailwind CSS
- Icons: Lucide React
- Build Tool: Vite
OctaveClock is designed with a focus on technical precision and minimalism.
- The detailed view uses concentric circles to display the three 8-hour cycles, with the active cycle highlighted in a vibrant blue.
- The minute markers (15, 30, 45) are dynamically rotated to follow the curvature of the outer dial, ensuring perfect readability at any angle.
- The ticks are carefully calibrated to extend slightly beyond the inner rings, creating a sophisticated "measuring instrument" aesthetic.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is MIT licensed.
