Skip to content
Install

Install

Optional Zdog avatar renderer and portable scene authoring

For a published npm release:

TERMINAL
npm install @fungi.computer/sprite-zdog

pnpm, Yarn and Bun work the same way.

  • @fungi.computer/sprite-zdog
  • @fungi.computer/sprite-zdog/author
  • @fungi.computer/sprite-zdog/portable
  • @fungi.computer/sprite-zdog/builtins
  • @fungi.computer/sprite-zdog/builtins/base
  • @fungi.computer/sprite-zdog/builtins/mushroom
  • @fungi.computer/sprite-zdog/builtins/cat
  • @fungi.computer/sprite-zdog/builtins/burger
  • @fungi.computer/sprite-zdog/mushroom
  • @fungi.computer/sprite-zdog/cat
  • @fungi.computer/sprite-zdog/burger
  • @fungi.computer/sprite-zdog/catalog
  • @fungi.computer/sprite-zdog/avatar

Installing @fungi.computer/sprite-zdog also installs @fungi.computer/sprite, effect, animejs, zdog, zod.

TERMINAL
npm install @fungi.computer/sprite-zdog

The package ships ESM only and depends on Effect, Zod, animejs, zdog, and Sprite at runtime. Add it only to a host that already uses Sprite and renders with Zdog. The parent Sprite host still owns the player and asset policy. The root entrypoint exports the Zdog renderer. ./author and ./portable support scene authoring. ./builtins (and the individual ./builtins/base, ./builtins/mushroom, ./builtins/cat, and ./builtins/burger subpaths) expose the bundled authoring definitions. ./mushroom, ./cat and ./burger provide ready-to-load local characters, each with its document and renderer. ./catalog and ./avatar provide pure avatar validation and derivation without importing the Canvas renderer.