How gristlabs/frame-order works
This is a small Node.js command-line solution to the frame-ordering task. It reads PNG filenames from the supplied video directory (defaulting to /frames), sorts them lexically, reverses that list, and prints each name to standard output. The implementation does not inspect image content, so the example's visual sequence and real-video ordering are not inferred. The workflow and edges below are limited to the README and the excerpted runtime source.
Main entry points: order.js Order CLI
Components 5
Frame ordering runtime
- Order CLI
order.js - Sorted frame names
order.js
Other components
- Video input
- Frame directory
- Standard output
Connections 4
- Video input → Frame directory: provides frames
README.md - Frame directory → Order CLI: reads names
order.js - Order CLI → Sorted frame names: sorts and reverses
order.js - Sorted frame names → Standard output: prints names
order.js