{"id":29167185,"url":"https://github.com/0015/pixel-clock","last_synced_at":"2025-07-01T09:08:08.847Z","repository":{"id":288032127,"uuid":"966589626","full_name":"0015/Pixel-Clock","owner":"0015","description":"a minimalist digital clock UI built using LVGL v9 on the ESP32-P4","archived":false,"fork":false,"pushed_at":"2025-04-15T07:15:07.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T05:19:29.124Z","etag":null,"topics":["esp-idf","esp32-p4","grid-layout","lvgl-esp32","pixel-clock","pixelart","thatproject","tiles"],"latest_commit_sha":null,"homepage":"https://youtu.be/3jm2NcqW0pY","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0015.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-15T06:45:09.000Z","updated_at":"2025-04-15T07:16:44.000Z","dependencies_parsed_at":"2025-04-15T08:35:37.936Z","dependency_job_id":null,"html_url":"https://github.com/0015/Pixel-Clock","commit_stats":null,"previous_names":["0015/pixel-clock"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0015/Pixel-Clock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0015%2FPixel-Clock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0015%2FPixel-Clock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0015%2FPixel-Clock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0015%2FPixel-Clock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0015","download_url":"https://codeload.github.com/0015/Pixel-Clock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0015%2FPixel-Clock/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262933317,"owners_count":23386784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esp-idf","esp32-p4","grid-layout","lvgl-esp32","pixel-clock","pixelart","thatproject","tiles"],"created_at":"2025-07-01T09:08:08.026Z","updated_at":"2025-07-01T09:08:08.814Z","avatar_url":"https://github.com/0015.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pixel Clock\n\n**Pixel Clock** is a minimalist digital clock UI built using **LVGL v9** on the **ESP32-P4**.  \nIt displays pixel-style digits over a grid layout and includes a hidden snake animation mode to bring life to your embedded screen — all optimized for real-time performance and ease of integration.\n\n\u003e Designed for LVGL-ready environments. Just configure your display and grid, and you're ready to run.\n\n---\n\n## Features\n\n- **Pixel-style digits** using a 3×5 font layout on a tile grid\n- **Blinking colon** that toggles every second\n- **Optimized redraw** — updates only the digits that change\n- **Tap interaction** — trigger random colorful falling tiles\n- **Snake game mode**:\n  - Triggers randomly during idle\n  - Green snake moves toward red tile\n  - Snake disappears on contact, restoring clock UI\n\n---\n\n## Built With\n\n- **ESP32-P4** (ESP-IDF framework)\n- **LVGL v9**\n- Modular C code\n- Simple grid logic (19×9 by default)\n\n---\n\n## Project Structure\n\n```plaintext\nmain/\n├── include/\n│   ├── digit_font.h\n│   ├── global.h\n│   └── snake.h\n├── ui_resources/\n│   ├── digit_font.c\n│   ├── global.c\n│   └── snake.c\n├── main.cpp\n```\n\n---\n\n## Screenshots \u0026 Demo\n\n*(Add your screenshots or YouTube demo link here)*\n\n---\n\n## Customization\n\n- Adjust grid resolution:\n  ```c\n  #define GRID_ROWS 9\n  #define GRID_COLS 19\n  ```\n- Modify fonts in `digit_font.h`\n- Change snake speed, style, or colors in `snake.c`\n- Use LVGL’s animation features to add your own flair\n\n---\n\n## Requirements\n\n- ESP32 board (This project was tested on the ESP32-P4 board.)\n- Display compatible with LVGL (800×1280 tested)\n- Optional: GT911 capacitive touch panel\n\n---\n\n## License\n\nMIT License  \n(c) 2025 Eric Nam\n\n---\n\n*Simple. Playful. Pixel-perfect.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0015%2Fpixel-clock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0015%2Fpixel-clock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0015%2Fpixel-clock/lists"}