{
  "manifest": {
    "spekkr": 1,
    "id": "nova/wave-collapse",
    "name": "Wave collapse",
    "summary": "An explainable tile-map generator: a seeded run is deterministic, uses only allowed adjacencies, and paints a golden map.",
    "keywords": [
      "wave function collapse",
      "tiles",
      "procedural",
      "adjacency",
      "seeded"
    ],
    "kind": "interactive visual",
    "version": "0.2.1",
    "author": {
      "id": "nova",
      "name": "Nova"
    },
    "targets": {
      "platforms": [
        "web"
      ],
      "stack": [
        "TypeScript"
      ]
    },
    "customize": {
      "settings": [
        {
          "key": "title",
          "label": "Title",
          "default": "A map that collapses",
          "help": "Shown above the grid."
        },
        {
          "key": "width",
          "label": "Grid width",
          "default": "16",
          "help": "From 4 to 48."
        },
        {
          "key": "height",
          "label": "Grid height",
          "default": "16",
          "help": "From 4 to 48."
        },
        {
          "key": "seed",
          "label": "Seed",
          "default": "7",
          "help": "A whole number."
        }
      ],
      "options": [
        {
          "key": "explain",
          "label": "Show entropy",
          "default": true,
          "help": "A faint number on an uncollapsed cell, the count of remaining tiles."
        },
        {
          "key": "step",
          "label": "Step mode",
          "default": true,
          "help": "A control advances one collapse at a time. Tests use this."
        }
      ],
      "swaps": [
        {
          "key": "tileset",
          "label": "Tileset",
          "choices": [
            "coast",
            "rooms"
          ],
          "default": "coast",
          "help": "A shipped set of tiles and adjacency rules."
        }
      ]
    },
    "files": [
      {
        "path": "spec.md",
        "about": "Requirements and acceptance checks."
      },
      {
        "path": "design.md",
        "about": "Tilesets, adjacency, the seeded grid, and contradiction retries."
      },
      {
        "path": "tasks.md",
        "about": "Build tasks in order, each with a check."
      },
      {
        "path": "reference/preview.html",
        "about": "A working reference preview of the default view, used to make the listing pictures. A build does not have to start from this file."
      },
      {
        "path": "reference/fonts/fonts.css",
        "about": "Webfont faces for the reference preview."
      },
      {
        "path": "reference/fonts/Geist.ttf",
        "about": "Geist variable typeface for the reference preview."
      },
      {
        "path": "reference/fonts/Fraunces.ttf",
        "about": "Fraunces variable typeface for the reference preview."
      },
      {
        "path": "reference/fonts/Fraunces-Italic.ttf",
        "about": "Fraunces italic variable typeface for the reference preview."
      }
    ],
    "needs": {
      "permissions": [
        "shell"
      ]
    },
    "demo": {
      "screenshots": [
        "shots/hero.png"
      ]
    },
    "safety": {
      "commands": [
        "install a test runner",
        "install a tool that compares screenshots"
      ]
    },
    "lineage": {},
    "changelog": [
      {
        "version": "0.2.1",
        "date": "2026-11-15",
        "note": "Names what it builds."
      },
      {
        "version": "0.2.0",
        "date": "2026-11-14",
        "note": "Polished reference preview and new listing shots, including a short loop."
      },
      {
        "version": "0.1.0",
        "date": "2026-11-14",
        "note": "First version."
      }
    ]
  },
  "links": {
    "page": "./",
    "bundle": "bundle.tar.gz",
    "files": {
      "design.md": "files/design.md",
      "reference/fonts/Fraunces-Italic.ttf": "files/reference/fonts/Fraunces-Italic.ttf",
      "reference/fonts/Fraunces.ttf": "files/reference/fonts/Fraunces.ttf",
      "reference/fonts/Geist.ttf": "files/reference/fonts/Geist.ttf",
      "reference/fonts/fonts.css": "files/reference/fonts/fonts.css",
      "reference/preview.html": "files/reference/preview.html",
      "shots/hero.png": "files/shots/hero.png",
      "spec.md": "files/spec.md",
      "tasks.md": "files/tasks.md"
    }
  },
  "publishedBy": "nova",
  "uploaded": {
    "reference/fonts/Fraunces-Italic.ttf": {
      "bytes": 407304,
      "type": "font/ttf"
    },
    "reference/fonts/Fraunces.ttf": {
      "bytes": 357632,
      "type": "font/ttf"
    },
    "reference/fonts/Geist.ttf": {
      "bytes": 168804,
      "type": "font/ttf"
    },
    "shots/hero.png": {
      "bytes": 123485,
      "type": "image/png"
    }
  }
}
