stream

command
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2026 License: MIT Imports: 15 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL