NAME
CUBES — islands of cubes, drawn as in Kirakira Hop · Cubes
SYNOPSIS
CUBES(rows, hero, opt = {})DESCRIPTION
The same oblique view as the game: rows from the nearest, each a string in which '.' is sky and a digit a stack of that height. Empty floor squares are dashed; a creature stands on a top face.
PARAMETERS
rows: such as ['..1..', '..2..', '33333']. hero: [x, z, pose, lift?], or none. opt.meadow: true to draw the last row as the meadow; opt.paws: [x, z] for each paw print.
RETURN VALUE
The SVG.
INNER HELPERS
Defined inside it, and documented here: Pp.
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
