Help us shape the future of Go! Take the 2026 Go Developer Survey

gencloud

command
v1.3.103 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Command gencloud turns the Skycoin cloud logo into stencil rows for the help screen's backdrop mask.

The source is skycoin-cloud.png next to this file: the icon half of the logo skycoin/skycoin serves in its block explorer (explorer/src/assets/img/ logo.svg), with the wordmark paths dropped and the result rasterized and trimmed to the mark's own bounds.

Only the alpha channel is read. The mask says where the shape is, not what color it is — the rain supplies the color, which is the whole point of drawing the logo as a silhouette rather than as a picture pasted on top.

A terminal cell is about twice as tall as it is wide, so a square logo is sampled into a grid twice as wide as it is tall. Several sizes are emitted because the help screen it has to fit into is a different size on every command; pkg/flags picks the largest that fits.

Run it with `go generate ./pkg/flags/...`.

Jump to

Keyboard shortcuts

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