# Build a v3 single-file HTML where the stats panel can be hidden/minimized, # and (optionally) only shown after recording stops as a modal overlay. from pathlib import Path html = r""" Palette Vision – 網格紀錄(單檔 v3 / 無影像保存)

Palette Vision – 網格紀錄(單檔 v3)

只記錄碰觸事件與時間;不保存影像。
待機中
筆尖偵測:
網格設定:

統計與視覺化

次數(Count)

停留時間(秒)

""" out = Path("/mnt/data/palette_grid_singlefile_v3.html") out.write_text(html, encoding="utf-8") str(out)