Skip to content

Commit a989ab8

Browse files
committed
tileclk: Refactor for better performance
1 parent 9a69b6b commit a989ab8

File tree

5 files changed

+391
-199
lines changed

5 files changed

+391
-199
lines changed

apps/tileclk/README.md

Lines changed: 19 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,25 @@
11
# Tile Clock
22

3-
A tile-based digital clock with animated transitions, customizable borders, and clock info integration.
3+
Digital clock with animated tile transitions and clock info integration.
44

5-
## How to Use
6-
7-
### Basic Display
8-
- The clock shows the current time using animated tiles
9-
- Tiles animate smoothly when digits change
10-
- In 12-hour mode, leading zeros are hidden (e.g., "2:30" instead of "02:30")
11-
12-
### Seconds Display
13-
- **Static mode**: Seconds always shown/hidden based on settings
14-
- **Dynamic mode**: Seconds appear when unlocked, hide when locked
15-
16-
### Clock Info Integration
17-
- Tap the seconds area (bottom of screen) to show clock info
18-
- Clock info displays weather, notifications, or other system information
19-
- Tap clock info area to focus it
20-
- When focused and tapped, clock info can perform actions if supported
21-
- Tap main time area to unfocus the clock info
22-
- Tap main time area again to dismiss the clock info
5+
## Features
6+
- Animated digit transitions
7+
- Seconds display (configurable)
8+
- Clock info integration
9+
- Customizable tile borders
10+
- Haptic feedback
2311

24-
### Touch Controls
25-
- **Tap seconds area**: Switch to clock info
26-
- **Tap clock info area**: Focus the info panel
27-
- **Tap main time once**: Unfocus the clock info
28-
- **Tap main time again**: Dismiss clock info and return to seconds
12+
## Controls
13+
- **Tap bottom area**: Show clock info
14+
- **Tap info panel**: Focus it
15+
- **Tap time area**: Unfocus, then dismiss
2916

30-
### Settings
31-
Access via Settings app to configure:
32-
- Seconds display mode (show/hide/dynamic)
33-
- Border visibility and color
34-
- Widget display options
35-
- Haptic feedback
17+
## Settings
18+
- **Seconds**: Show/Hide/Dynamic
19+
- **Borders**: On/off and color
20+
- **Widgets**: Show/Hide/Swipe
21+
- **Haptics**: On/off
3622

37-
## Features
38-
- Smooth tile animations with color interpolation
39-
- Customizable borders with theme color support
40-
- Persistent user preferences
41-
- Performance optimized for smooth operation
42-
- Integration with Bangle.js clock info system
23+
## Notes
24+
- Dynamic seconds mode shows when unlocked, hides when locked
25+
- Clock info provides system information when available

apps/tileclk/app-icon.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)