Simulator for the development of the Picovector graphics API and accompanying badgeware apps.
| Key | Action |
|---|---|
| H | Home |
| Left | A |
| Space | B |
| Right | C |
| Up | Up |
| Down | Down |
| Escape | Hot Reload |
| H | Screenshot |
| R | Continuous Recording |
The screenshot hotkey - h - takes a single screenshot and saves it to screenshots/screenshot-<timestamp>.png
Run screenshot-to-video.py with a filename (either ending with .png or .gif), or:
ffmpeg -pattern_type glob -r 60 -i 'screenshots/screenshot-*.png' -c:v libx264 -preset ultrafast -crf 18 -vf scale=640:480:flags=neighbor -fps_mode passthrough video.mp4
Continuous recording toggles automatic screenshots every single frame.
Frames are saved as screenshots/cont-<session>-<frame>.png.
session resets every application close, so move/process your continuous recordings before reloading.
ffmpeg -pattern_type glob -r 60 -i 'screenshots/cont-01-*.png' -c:v libx264 -preset ultrafast -crf 18 -vf scale=640:480:flags=neighbor -fps_mode passthrough video.mp4
Deps: libxi-dev libxcursor-dev
Running on a Pi: LIBGL_ALWAYS_SOFTWARE=1