Pebble watchface using simple shapes to make an artistic, abstract, somewhat difficult to read display.
Find a file
2026-09-23 12:45:33 -04:00
docs screenshots, README, and rounding adjustments 2026-09-22 01:18:53 -04:00
src fix the single-minute digit 6 2026-09-23 12:45:33 -04:00
.gitignore initial 2026-09-21 18:41:24 -04:00
package-lock.json initial 2026-09-21 18:41:24 -04:00
package.json screenshots, README, and rounding adjustments 2026-09-22 01:18:53 -04:00
README.md screenshots, README, and rounding adjustments 2026-09-22 01:18:53 -04:00
screenshot.sh screenshots, README, and rounding adjustments 2026-09-22 01:18:53 -04:00
tsconfig.json initial 2026-09-21 18:41:24 -04:00
wscript initial 2026-09-21 18:41:24 -04:00

Primitives 03

A Pebble Alloy project — embedded JavaScript on the watch, powered by Moddable XS, alongside C.

Description

Inspired by Nev Rawlins' TokyoFlash based abstract watches, this is the third of a series of original abstract watchfaces using simple shapes to cryptically tell time.

Examples:

11:52 PM on the 21st
5:10 AM on the 17th
11:58 PM on the 29th

This one is a challenge to read at first. The face is divided into 3 columns and 5 rows. The hour is shown by vertical bars along the edge (RED in the second image): the most-clockwise part marks the hour like an analog clock. Tens of minutes are shown in the middle three cells as a tally (GREEN in the second image), using three verticals and two horizontals. The second digit of the minutes is large, made with horizontal bars (BLUE in the second image). The date is made with the shaded squares: the top three rows are tens, and below that are nine ones. In the second image they are BLACK and are two tens and a one for the 21st. The bottom row of shading is for low-battery, PM indicator, and lost-Bluetooth.

All the colors are customizable, as are the number of bars per cell (there is always one more vertical bar than horizontal bar). You can also adjust the length of the bars.

Building & running

pebble build                          # build for all targetPlatforms
pebble install --emulator emery       # install on the emery emulator
pebble install --phone <ip>           # install to a paired phone

Target platforms

Alloy targets the modern Pebble hardware: emery (Pebble Time 2) and gabbro (Pebble Round 2). Other platforms are currently not supported.

Project layout

src/c/mdbl.c                   C glue around the Moddable runtime
src/embeddedjs/main.js         JavaScript that runs on the watch
src/embeddedjs/manifest.json   Moddable manifest
src/pkjs/index.js              PebbleKit JS (phone-side) code
package.json                   Project metadata (UUID, platforms, resources)
wscript                        Build rules — usually no need to edit

Documentation

Full SDK docs and tutorials: https://developer.repebble.com