timelapse
timelapse
#
Timelapse — pictures scrubbed along their capture instants.
Timelapse
#
Bases: Component
images keyed by instant, scrubbed in time order with a range slider.
Built with of, each frame links to its entry's page; given plainly, the
frames link nowhere.
Source code in capturegraph-lib/capturegraph/ui/timelapse.py
html(render)
#
A figure showing the first frame, a slider to scrub, and every frame inline.
The frames read in caption order, which for an instant is its time order. The figure takes the first frame's aspect ratio and keeps it, so frames of other sizes are fitted inside rather than resizing the page.
Source code in capturegraph-lib/capturegraph/ui/timelapse.py
of(container, image)
classmethod
#
A timelapse of image over container's elements, each linked to its entry's page.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
container
|
Map[K, E]
|
A |
required |
image
|
Callable[[E], StillImageFile | None]
|
The frame for one element — any still image, such as a crop;
|
required |