Skip to content

bttfclock: performance optimisations and dynamic layout (v0.04 + v0.05) - #4317

Merged
thyttan merged 8 commits into
espruino:masterfrom
NoobEjby:master
Aug 16, 2026
Merged

bttfclock: performance optimisations and dynamic layout (v0.04 + v0.05)#4317
thyttan merged 8 commits into
espruino:masterfrom
NoobEjby:master

Conversation

@NoobEjby

Copy link
Copy Markdown
Contributor

This PR updates Back To The Future clock to v0.05.

v0.04 – Performance

  • Cache locale and Storage modules instead of re-requiring them on every draw.
  • Track Bluetooth and notification status event-driven via NRF.on('connect'/'disconnect') and Bangle.on('message') instead of polling in the draw loop.
  • Remove leftover debug logging and commented-out code.

v0.05 – Dynamic layout

  • Scale all coordinates, font sizes and images relative to the screen size, so the watchface no longer assumes a fixed 176x176 display.
  • Center the full-screen charging animation on the current screen.

Changed files

  • apps/bttfclock/app.js
  • apps/bttfclock/ChangeLog
  • apps/bttfclock/metadata.json

@thyttan

thyttan commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

Thanks!

@thyttan
thyttan merged commit 6d34298 into espruino:master Aug 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants