文件最后提交记录最后更新时间
24 天前
9 个月前
19 小时前
6 个月前
3 个月前
README

Play live Takumi frames with ffplay

Render a bouncing clock as raw RGBA frames and play them in real time with ffplay.

Run

Install an FFmpeg build that includes ffplay. Some builds leave it out. Build the image example packages. Then start the clock:

cd example/ffplay
bun start

Press Ctrl+C to stop.

How it works

The script keeps one Renderer from takumi-js/node and renders each 960 × 540 frame with format: "raw". It pipes the pixels to ffplay at a target of 60 fps. The next frame renders while the current one is written. The clock position comes from wall-clock time, so a late frame does not change its path.