Documentation
¶
Overview ¶
Command stream draws a live chart over a growing series.
It is the v0.5 streaming story in one file: a producer appends samples on its own goroutine, the renderer freezes a snapshot between frames, and each redraw repaints only the part of the canvas that changed. The last frame is written out as SVG so that there is something to look at.
go run ./examples/stream -o live.svg -frames 120
Click to show internal directories.
Click to hide internal directories.