{
 "site": "knot.onenft.click",
 "version": 4,
 "v4FromEpoch": 20702,
 "license": "CC0-1.0",
 "clock": "epoch = block.timestamp / 86400; day = epoch - startEpoch + 1; startEpoch = 20701 (2026-09-05 UTC)",
 "random": "splitmix64: x += 0x9e3779b97f4a7c15; x = (x ^ (x >> 30)) * 0xbf58476d1ce4e5b9; x = (x ^ (x >> 27)) * 0x94d049bb133111eb; return x ^ (x >> 31). Counter starts at mix(epoch); each draw increments the counter and takes the top bits.",
 "draws": [
  "palette: 8 bits mod 16",
  "grid: 4 bits into GRIDS",
  "weave: 3 bits into WEAVES",
  "symmetry: 3 bits into SYMMETRIES",
  "weight: 2 bits into WEIGHTS",
  "caps: 2 bits, 0 is butt",
  "accent: 4 bits, 0 means an accent, then 2 bits into ACCENTS",
  "style: 3 bits into STYLES",
  "ground: 3 bits into GROUNDS",
  "inverted: 2 bits, 0 swaps bg and cord",
  "cells: 3 bits per free cell in row order, then 4 bits per non-empty cell on accent days (0 marks the cell)"
 ],
 "cell": 64,
 "states": {
  "0": "arcs, left to top and bottom to right",
  "1": "arcs, top to right and left to bottom",
  "2": "vertical pass",
  "3": "horizontal pass",
  "4": "empty",
  "5": "crossing"
 },
 "stateOf": {
  "arcs": "v & 1",
  "passes": "v & 3",
  "loose": "v < 4 ? v : v < 6 ? v - 4 : 4",
  "cross": "v < 4 ? v : v < 6 ? v - 4 : 5"
 },
 "symmetry": {
  "mirror": "right half copies the left, arcs flip",
  "quad": "three quarters copy the top left, arcs flip when exactly one axis is mirrored",
  "turn": "three quarters are the top left turned 90, 180 and 270 degrees; arcs and passes flip on 90 and 270"
 },
 "widths": {
  "thin": [
   5,
   13
  ],
  "regular": [
   9,
   21
  ],
  "heavy": [
   15,
   30
  ]
 },
 "styles": {
  "cord": "shadow under cord",
  "double": "cord with a bg hairline of width floor(cord/3) on top",
  "dashed": "cord with stroke-dasharray 2w 2w",
  "solid": "no strokes; each non-empty cell is a filled triangle, orientation state & 3"
 },
 "grounds": {
  "flat": "nothing",
  "dots": "a circle r=3 in shade at every cell center",
  "lattice": "1px shade lines between cells"
 },
 "tables": {
  "GRIDS": [
   6,
   8,
   8,
   8,
   8,
   10,
   10,
   12,
   8,
   8,
   6,
   10,
   8,
   12,
   8,
   10
  ],
  "WEAVES": [
   "arcs",
   "arcs",
   "passes",
   "passes",
   "passes",
   "loose",
   "cross",
   "passes"
  ],
  "SYMMETRIES": [
   "none",
   "none",
   "none",
   "none",
   "mirror",
   "mirror",
   "quad",
   "turn"
  ],
  "WEIGHTS": [
   "thin",
   "regular",
   "regular",
   "heavy"
  ],
  "CAPS": [
   "butt",
   "round",
   "round",
   "round"
  ],
  "STYLES": [
   "cord",
   "cord",
   "cord",
   "cord",
   "double",
   "dashed",
   "solid",
   "cord"
  ],
  "GROUNDS": [
   "flat",
   "flat",
   "flat",
   "flat",
   "dots",
   "lattice",
   "flat",
   "flat"
  ],
  "PALETTES": [
   {
    "name": "ink",
    "bg": "#12131a",
    "cord": "#e8e4d9",
    "shade": "#5b6478"
   },
   {
    "name": "copper",
    "bg": "#1a1210",
    "cord": "#e0a060",
    "shade": "#7a4426"
   },
   {
    "name": "moss",
    "bg": "#101a14",
    "cord": "#9fd8a8",
    "shade": "#2f5c3f"
   },
   {
    "name": "ash",
    "bg": "#e8e6e1",
    "cord": "#22242c",
    "shade": "#9a9891"
   },
   {
    "name": "ultramarine",
    "bg": "#0e1430",
    "cord": "#d8dcf0",
    "shade": "#3a4a8c"
   },
   {
    "name": "rust",
    "bg": "#f0e8dc",
    "cord": "#8c3a20",
    "shade": "#c8a882"
   },
   {
    "name": "salt",
    "bg": "#f4f4f2",
    "cord": "#3a4450",
    "shade": "#b8bcc4"
   },
   {
    "name": "tar",
    "bg": "#08080a",
    "cord": "#c8c4bc",
    "shade": "#3a3a40"
   },
   {
    "name": "plum",
    "bg": "#1c1020",
    "cord": "#e6c8f0",
    "shade": "#6a3c7a"
   },
   {
    "name": "bone",
    "bg": "#efe9dc",
    "cord": "#4a3a2a",
    "shade": "#c2b49c"
   },
   {
    "name": "pine",
    "bg": "#0c1a1a",
    "cord": "#b8e0d0",
    "shade": "#2a5a52"
   },
   {
    "name": "brick",
    "bg": "#2a1412",
    "cord": "#f0b8a8",
    "shade": "#8a3a2c"
   },
   {
    "name": "fog",
    "bg": "#d8dde2",
    "cord": "#2a3038",
    "shade": "#9aa4ae"
   },
   {
    "name": "ochre",
    "bg": "#1c1806",
    "cord": "#f0d060",
    "shade": "#7a6420"
   },
   {
    "name": "wine",
    "bg": "#f2e4e6",
    "cord": "#5a1a2c",
    "shade": "#c89aa4"
   },
   {
    "name": "slate",
    "bg": "#242a32",
    "cord": "#e0e6ec",
    "shade": "#6a7684"
   }
  ],
  "ACCENTS": [
   {
    "name": "flame",
    "color": "#e04040"
   },
   {
    "name": "gold",
    "color": "#f0c040"
   },
   {
    "name": "sky",
    "color": "#40c0e0"
   },
   {
    "name": "rose",
    "color": "#e060b0"
   }
  ]
 },
 "v2": {
  "note": "day 1 only: 8 palettes (the first eight), grid 8, weave passes (2 bits per cell), no symmetry, regular, round",
  "source": "src/knot_v2.ts"
 }
}