# Handwritten Clock

ESP32 weather clock in a handwritten font of Bézier curves: morphing digits, pen-written text, weather icons flowing in dots

一块 320x240 的天气钟，时间数字不翻页，而是沿着贝塞尔曲线的路径一个个流进下一个；温度和城市名像用笔写出来，逐字母落笔。

- id: jef-sure-handwritten-clock
- author: jef-sure
- repository: https://github.com/jef-sure/handwritten-clock
- license: MIT
- shape: square
- scenes: art, home, tools
- boards: ESP32
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/jef-sure-handwritten-clock/
- html_zh: https://esp32gallery.com/zh/projects/jef-sure-handwritten-clock/
- json: https://esp32gallery.com/data/catalog/projects/jef-sure-handwritten-clock.json

## Hardware

Supported hardware: ESP32. Confirm the exact board revision and pin map in the upstream repository.

支持硬件：ESP32。烧录前请在上游仓库核对板卡版本与引脚定义。

## English

```
A 320x240 weather clock where the digits don't flip but flow into one another along Bézier curves, and the temperature and city name are written letter by letter as if by a pen. Weather icons are dot fields that morph from sun to rain. The time turns silver by day and copper by night, shifting half an hour either side of sunrise and sunset, and the temperature text drifts blue below 23 degrees Celsius and red above. Two boards are supported: the ESP32-2432S028 CYD with an ILI9341 panel, and a Guition JC1060P470 with an ESP32-P4 and a 7" 1024x600 JDI panel over MIPI-DSI. Built with ESP-IDF 5.2 or newer; the drawing comes from a bundled dgx component. Wi-Fi is provisioned over BLE with Espressif's app, and the time zone list is generated from the build machine's tz database.
```

## 中文

```
一块 320x240 的天气钟，时间数字不翻页，而是沿着贝塞尔曲线的路径一个个流进下一个；温度和城市名像用笔写出来，逐字母落笔。天气图标由点阵组成，晴天变雨天时点是流动过去的。时间白天呈银色、夜里转铜色，换色从日出日落前半小时开始，到之后半小时结束；温度字的颜色以 23 摄氏度为界，低于偏蓝，高于偏红。支持两块板：ILI9341 屏的 ESP32-2432S028 CYD，以及带 ESP32-P4 和 7 英寸 1024x600 JD9165 MIPI-DSI 屏的 Guition JC1060P470。用 ESP-IDF 5.2 以上构建，画面全部由自带 dgx 组件绘制。配网靠 Espressif 的 BLE Provisioning 应用，时区表在编译时从本机 tz 数据库生成。
```
