{
  "assertions": [
    "motion(idle)"
  ],
  "attempts": 3,
  "attribution": "\u201ca stained-glass window as the light moves through a whole day\u201d \u2014 sketchgen entry 1496, prompted by profcarroll, written by qwen3-coder:30b-a3b-q4_K_M under the treatment rules file. https://profcarroll.github.io/sketchgen-gallery/e/1496/ Licensed CC BY 4.0.",
  "brief": "The canvas displays a complex, colorful pattern composed of geometric shapes reminiscent of stained glass. As the passage of time progresses through a day, the light sources cast shifting, translucent beams through the glass. These beams project changing colors and varying intensities onto the surface, making the stationary patterns appear to gently animate. The viewer observes the spectrum of color shift, witnessing the cool tones of dawn transition into the vibrant saturation of midday, and finally settling into the warm hues of twilight.",
  "completion_tokens": 4164,
  "created_utc": "2026-09-23T16:58:08Z",
  "entry_id": 1496,
  "executor": "qwen3-coder:30b-a3b-q4_K_M",
  "executor_prompt_version": "executor-v3",
  "gate": [
    {
      "assertions": {
        "motion(idle)": true
      },
      "attempt": 1,
      "checks": {
        "audio_context_running": null,
        "console_clean": true,
        "frame_advancing": true,
        "frame_budget": false,
        "is_looping": true,
        "sound_lib_ok": null
      },
      "completion_tokens": 1492,
      "evidence": "gate exit 1: checks failed: frame_budget\n\nFixed checks that failed:\n- frame_budget = false\n    frame_budget: 148.5 ms per frame over the 120-frame idle window, budget 100 ms \u2014 batch points and lines into one shape, no sphere() per particle, no all-pairs loop\n\nRuntime state the gate read:\n- frame_advancing compares frameCount at frame 84 of the 120-frame idle window (86) with the end of it (122); at load it was 0\n",
      "exit": 1,
      "ghost": {
        "events": 40,
        "ms": 4000,
        "played": 40,
        "script": "wander",
        "source": "default"
      },
      "given": null,
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": 148.5,
      "num_ctx": 16384,
      "preload_s": 0.027,
      "prompt_tokens": 2375,
      "resources_loaded": [],
      "rules_file": "treatment",
      "source": "attempt-1",
      "total_s": 79.974,
      "wall_s": 90.856
    },
    {
      "assertions": {
        "motion(idle)": true
      },
      "attempt": 2,
      "checks": {
        "audio_context_running": null,
        "console_clean": true,
        "frame_advancing": true,
        "frame_budget": false,
        "is_looping": true,
        "sound_lib_ok": null
      },
      "completion_tokens": 1384,
      "evidence": "gate exit 1: checks failed: frame_budget\n\nFixed checks that failed:\n- frame_budget = false\n    frame_budget: 149 ms per frame over the 120-frame idle window, budget 100 ms \u2014 batch points and lines into one shape, no sphere() per particle, no all-pairs loop\n\nRuntime state the gate read:\n- frame_advancing compares frameCount at frame 84 of the 120-frame idle window (86) with the end of it (122); at load it was 0\n",
      "exit": 1,
      "ghost": {
        "events": 40,
        "ms": 4000,
        "played": 40,
        "script": "wander",
        "source": "default"
      },
      "given": {
        "kind": "previous",
        "lines": 127,
        "sha256": "17b5ff3e3cad255287c446ea09f100d0185c25173a654dd963d764ebccb8e1d8",
        "shown": true
      },
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": 149.0,
      "num_ctx": 16384,
      "preload_s": 0.027,
      "prompt_tokens": 3825,
      "resources_loaded": [],
      "rules_file": "treatment",
      "source": "attempt-2",
      "total_s": 80.258,
      "wall_s": 121.418
    },
    {
      "assertions": {
        "motion(idle)": true
      },
      "attempt": 3,
      "checks": {
        "audio_context_running": null,
        "console_clean": true,
        "frame_advancing": true,
        "frame_budget": true,
        "is_looping": true,
        "sound_lib_ok": null
      },
      "completion_tokens": 1288,
      "evidence": null,
      "exit": 0,
      "ghost": {
        "events": 40,
        "ms": 4000,
        "played": 40,
        "script": "wander",
        "source": "default"
      },
      "given": {
        "kind": "previous",
        "lines": 127,
        "sha256": "17b5ff3e3cad255287c446ea09f100d0185c25173a654dd963d764ebccb8e1d8",
        "shown": true
      },
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": 18.1,
      "num_ctx": 16384,
      "preload_s": 0.027,
      "prompt_tokens": 3823,
      "resources_loaded": [],
      "rules_file": "treatment",
      "source": "attempt-3",
      "total_s": 10.701,
      "wall_s": 96.179
    }
  ],
  "ghost": {
    "by": "default",
    "events": 40,
    "script": "wander"
  },
  "job_id": 1507,
  "last_error": null,
  "licence": "CC BY 4.0",
  "lineage": {
    "children": [
      1627
    ],
    "critique": null,
    "critique_by": null,
    "generation": 1,
    "inherits_source": false,
    "parent_entry_id": null,
    "root_entry_id": 1496
  },
  "loads": [],
  "note": null,
  "off_node": [],
  "planner": "gemma4:e4b",
  "planner_prompt_version": "planner-v2",
  "process": null,
  "prompt": "a stained-glass window as the light moves through a whole day",
  "prompt_tokens": 10023,
  "publish_commit": "883b0d6168f1d6077a3f341a6c5c3b1acc33ae82",
  "published_utc": "2026-09-24T01:15:28Z",
  "rules_file": "treatment",
  "seed": 1,
  "shape": "VM.Standard.A1.Flex 16/96",
  "source": {
    "attempts": [
      "attempt-1",
      "attempt-2",
      "attempt-3"
    ],
    "entry": "https://profcarroll.github.io/sketchgen-gallery/e/1496/",
    "index_html": "sketch/index.html",
    "repository": "https://github.com/profcarroll/sketchgen-gallery/tree/main/e/1496",
    "sketch_js": "sketch/sketch.js"
  },
  "state": "published",
  "statement": "This sketch creates an animated stained glass pattern that evolves through a simulated day-night cycle. The composition features hundreds of geometric glass pieces arranged in random polygons, each with subtle highlights and translucent fills. As time progresses, luminous beams emanate from the center of the canvas, casting shifting light patterns across the glass. The color palette transitions smoothly from cool dawn tones through warm midday hues to deep twilight purples, creating a sense of temporal passage within a static composition. The animation is entirely self-contained, requiring no user interaction beyond the initial load, and uses only basic p5.js drawing functions to create its atmospheric effect.",
  "submitted_by": "profcarroll",
  "wall_s": 308.453
}
