picture

command
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

examples/picture/main.go

A small two-pane demo:

  • Left pane uses picture.Model with a procedurally-generated image (showing the source-agnostic base API).
  • Right pane uses pictureurl.Model fetching a fixed picsum URL, with the URL drawn as a caption near the bottom of the box.

Press 'g' to toggle both panes between Glyph and Kitty rendering. Press 'q' or ctrl+c to quit.

Jump to

Keyboard shortcuts

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