func Render
Render renders the demo for gnoweb.
Example
1Render("") / Render("/") -> the full demo
Package sparklinedemo is a small gnoweb demo of the block-character series renderer provided by the [p/moul/x/daily/s...
gno.land/r/moul/x/daily/sparklinedemo/v0A gnoweb demo of the p/moul/x/daily/sparkline
library: it sparks a handful of fixed series and shows the three behaviours
worth knowing before putting one in a realm — a flat series rendering mid-ramp,
a fixed window clamping its outliers, and floor rounding keeping the peak
distinct.
It holds no state and contains no rendering logic of its own; the series are
hard-coded rather than read from chain state, so Render is deterministic and
its output is pinned by an example test.
Render it at /r/moul/x/daily/sparklinedemo/v0.
Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.
Dependency graph:

🧪 Highly experimental — potentially vibe-coded. Not audited; may break, change, or be removed at any time. Do not use with anything of value. Full disclaimer: DISCLAIMER.
Package sparklinedemo is a small gnoweb demo of the block-character series renderer provided by the p/moul/x/daily/sparkline(/p/moul/x/daily/sparkline/v0) library: it sparks a few fixed series and shows the three behaviours worth knowing before using it in a realm — flat series, clamping, and floor rounding.
It contains no rendering logic of its own. Stateless, so Render is deterministic.