PathrockNetwork Gno Explorer
HomeBlocksTransactionsTokensRealmsPackagesValidatorsAnalytics

PathrockNetwork Gno Explorer — an independent explorer for Gno.land Mainnet (gnoland-1), operated by PathrockNetwork. Not an official Gno.land service.

gnowebarchive RPC

gno.land/r/moul/x/daily/asciiart/v1

Realm
Open in gnoweb ↗

Overview

Kind
Realm (renderable)
Name
v1
Namespace
moul / x / daily / asciiart
Files
4 (README)(gnomod.toml)
Exported functions
6
Module
gno.land/r/moul/x/daily/asciiart/v1
gno
0.9

Files (4)

  • README.mdmarkdown
  • gnomod.tomltoml
  • asciiart.gnogno
  • asciiart_test.gnogno

Select a file to view its exact on-chain source. Sorted README → gnomod → sources → tests.

Functions

  • Generate(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}, pattern string, size int) string

  • Render(path string) string

  • RenderChecker(n int) string

  • RenderDiamond(n int) string

  • RenderPyramid(n int) string

  • RenderSierpinski(n int) string

Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.

Rendered

RenderedRawgnoweb ↗
# ASCII Art Generator

Four deterministic patterns, no font table required -- each shape falls out of a short formula over row/column indices. Pick a pattern and a size (1-32, sierpinski wants a power of two) and `Generate` adds it to the gallery below.

## Patterns

- `diamond` -- filled diamond, half-width `size`
- `pyramid` -- solid triangle, `size` rows tall
- `sierpinski` -- Sierpinski gasket in an n×n grid (`row & col == 0`), `size` a power of two
- `checker` -- n×n checkerboard

Call `Generate(pattern, size)`. View a piece at this realm's path plus its ID (e.g. `.../asciiart:3`).

## Gallery (total: 0)

_nothing generated yet -- be the first_

vm/qrender output, sanitized (docs/render-security.md) and displayed in an empty-sandbox iframe — scripts, forms and popups cannot run. Links stay inert in-preview; right-click to open.