fitbit-frosted/README.md

29 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Frosted Clockface for Fitbit Ionic and Fitbit Versa
## App Gallery Image
![Screenshot](images/frosted.png)
## Goal
The goal was to create the effect of frosted glass, something that's not natively possible on the hardware since it can't blur images and there is no direct framebuffer access.
I achieved this by rendering out each individual square that can be lit up in a 3D scene that already contains the frosted glass ribbons. The images get colored and composited directly on the watch, creating the impression that the effect is dynamically created.
Here are a few of the raw assets of the prerendered squares in greyscale before compositing, and their coordinates
`<image href="" fill="white" id="1-2" class="square" x="70" y="36" width="79" height="83" />`
![Square](resources/img/1-2.png)
`<image href="" fill="white" id="2-3" class="square" x="86" y="30" width="87" height="85" />`
![Square](resources/img/2-3.png)
`<image href="" fill="white" id="2-7" class="square" x="243" y="62" width="43" height="50" />`
![Square](resources/img/2-7.png)
`<image href="" fill="white" id="6-5" class="square" x="175" y="180" width="59" height="59" />`
![Square](resources/img/6-5.png)
`<image href="" fill="white" id="7-5" class="square" x="166" y="215" width="68" height="60" />`
![Square](resources/img/7-5.png)
`<image href="" fill="white" id="7-6" class="square" x="195" y="205" width="70" height="68" />`
![Square](resources/img/7-6.png)