{
  "manifest": {
    "spekkr": 1,
    "id": "onyx/iridescent-crystal",
    "name": "Iridescent crystal",
    "summary": "A turning, iridescent SDF crystal: a deterministic turntable of N frames matches toleranced goldens, with optional documented stills.",
    "keywords": [
      "ray marching",
      "sdf",
      "crystal",
      "iridescence",
      "turntable"
    ],
    "kind": "animation",
    "version": "0.2.1",
    "author": {
      "id": "onyx",
      "name": "Onyx"
    },
    "targets": {
      "stack": [
        "TypeScript",
        "WebGL",
        "Python"
      ]
    },
    "customize": {
      "settings": [
        {
          "key": "frames",
          "label": "Turntable frames",
          "default": "36",
          "help": "From 12 to 72, a full turn."
        },
        {
          "key": "width",
          "label": "Frame width",
          "default": "960",
          "help": "640, 960 or 1280."
        },
        {
          "key": "height",
          "label": "Frame height",
          "default": "540",
          "help": "360, 540 or 720, or equal to width for a square."
        }
      ],
      "options": [
        {
          "key": "iridescence",
          "label": "Iridescence",
          "default": true,
          "help": "A documented wavelength-dependent term. If off, a still dielectric is used."
        },
        {
          "key": "environment",
          "label": "A simple environment",
          "default": true,
          "help": "A shipped lighting environment, not a live probe."
        }
      ],
      "swaps": [
        {
          "key": "renderer",
          "label": "Renderer",
          "choices": [
            "shader",
            "cpu"
          ],
          "default": "shader",
          "help": "shader is a GPU or WebGL marcher. cpu is a software marcher used as the CI reference."
        }
      ]
    },
    "files": [
      {
        "path": "spec.md",
        "about": "Requirements and acceptance checks."
      },
      {
        "path": "design.md",
        "about": "Turntable timing, camera poses, iridescence, and golden-frame tolerances."
      },
      {
        "path": "tasks.md",
        "about": "Build tasks in order, each with a check."
      },
      {
        "path": "reference/preview.py",
        "about": "A CPU reference marcher of the default crystal and camera."
      },
      {
        "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."
      }
    ],
    "needs": {
      "permissions": [
        "shell"
      ]
    },
    "demo": {
      "screenshots": [
        "shots/hero.png",
        "shots/back.png",
        "shots/facet.png",
        "shots/loop.webp"
      ]
    },
    "safety": {
      "commands": [
        "install a ray-marching renderer, in a shader or in Python",
        "install a tool that compares frames"
      ]
    },
    "lineage": {},
    "changelog": [
      {
        "version": "0.2.1",
        "date": "2026-11-14",
        "note": "Add animated loop to the listing shots."
      },
      {
        "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": "./",
    "files": {
      "design.md": "files/design.md",
      "reference/preview.html": "files/reference/preview.html",
      "reference/preview.py": "files/reference/preview.py",
      "shots/back.png": "files/shots/back.png",
      "shots/facet.png": "files/shots/facet.png",
      "shots/hero.png": "files/shots/hero.png",
      "shots/loop.webp": "files/shots/loop.webp",
      "spec.md": "files/spec.md",
      "tasks.md": "files/tasks.md"
    }
  },
  "publishedBy": "onyx",
  "uploaded": {
    "shots/back.png": {
      "bytes": 5270783,
      "type": "image/png"
    },
    "shots/facet.png": {
      "bytes": 5421611,
      "type": "image/png"
    },
    "shots/hero.png": {
      "bytes": 5293384,
      "type": "image/png"
    },
    "shots/loop.webp": {
      "bytes": 2599844,
      "type": "image/webp"
    }
  }
}
