{
  "assertions": [
    "motion(idle)",
    "responds(audio)"
  ],
  "attempts": 3,
  "attribution": "\u201cA cloud of dots that scatters when the microphone gets loud and regat\u2026\u201d \u2014 sketchgen entry 919, prompted by profcarroll, written by qwen3-coder:30b-a3b-q4_K_M under the control rules file. https://profcarroll.github.io/sketchgen-gallery/e/919/ Licensed CC BY 4.0.",
  "brief": "The canvas displays numerous small, glowing dots that form a diffuse, cohesive cloud. This cloud maintains a gentle, constant drifting motion. When sound is detected from the microphone, the entire cloud instantly scatters, causing the dots to rapidly move outwards. As the ambient noise level drops back down, the dots gradually and gracefully drift back together, regenerating their dense, cloud-like structure until the next fluctuation in sound occurs.",
  "completion_tokens": 2407,
  "created_utc": "2026-09-18T20:41:25Z",
  "entry_id": 919,
  "executor": "qwen3-coder:30b-a3b-q4_K_M",
  "executor_prompt_version": "executor-v3",
  "gate": [
    {
      "assertions": {
        "motion(idle)": false,
        "responds(audio)": false
      },
      "attempt": 1,
      "checks": {
        "audio_context_running": true,
        "console_clean": true,
        "frame_advancing": true,
        "frame_budget": true,
        "is_looping": true,
        "sound_lib_ok": true
      },
      "completion_tokens": 713,
      "evidence": "gate exit 1: assertions failed: motion(idle), responds(audio)\n\nAssertions that failed:\n- motion(idle): idle 0->120 frames: mean abs diff 0.0000/255, 0 of 160000 pixels changed\n- responds(audio): vs the silent reference run: mean abs pixel diff 0.0000/255 (threshold 1.0), 0 of 160000 pixels changed = 0.00% (threshold 2%); mean canvas brightness 0.790 under 440 Hz vs 0.790 under silence\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- AudioContext state after the click probe: running\n",
      "exit": 1,
      "ghost": null,
      "given": null,
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": 0.8,
      "num_ctx": null,
      "preload_s": null,
      "prompt_tokens": 1720,
      "resources_loaded": [],
      "rules_file": "control",
      "source": "attempt-1",
      "total_s": 5.422,
      "wall_s": 47.425
    },
    {
      "assertions": {
        "motion(idle)": false,
        "responds(audio)": false
      },
      "attempt": 2,
      "checks": {
        "audio_context_running": true,
        "console_clean": true,
        "frame_advancing": null,
        "frame_budget": true,
        "is_looping": false,
        "sound_lib_ok": true
      },
      "completion_tokens": 1028,
      "evidence": "gate exit 1: assertions failed: motion(idle), responds(audio)\n\nAssertions that failed:\n- motion(idle): idle 0->120 frames: mean abs diff 0.0000/255, 0 of 160000 pixels changed\n- responds(audio): vs the silent reference run: mean abs pixel diff 0.0000/255 (threshold 1.0), 0 of 160000 pixels changed = 0.00% (threshold 2%); mean canvas brightness 10.109 under 440 Hz vs 10.109 under silence\n\nRuntime state the gate read:\n- AudioContext state after the click probe: running\n",
      "exit": 1,
      "ghost": null,
      "given": null,
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": 0.1,
      "num_ctx": null,
      "preload_s": null,
      "prompt_tokens": 1932,
      "resources_loaded": [],
      "rules_file": "control",
      "source": "attempt-2",
      "total_s": 5.534,
      "wall_s": 66.636
    },
    {
      "assertions": {
        "motion(idle)": true,
        "responds(audio)": true
      },
      "attempt": 3,
      "checks": {
        "audio_context_running": true,
        "console_clean": true,
        "frame_advancing": true,
        "frame_budget": true,
        "is_looping": true,
        "sound_lib_ok": true
      },
      "completion_tokens": 666,
      "evidence": null,
      "exit": 0,
      "ghost": null,
      "given": null,
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": 6.5,
      "num_ctx": null,
      "preload_s": null,
      "prompt_tokens": 1892,
      "resources_loaded": [],
      "rules_file": "control",
      "source": "attempt-3",
      "total_s": 7.991,
      "wall_s": 45.139
    }
  ],
  "ghost": {
    "by": "default",
    "events": 40,
    "script": "wander"
  },
  "job_id": 921,
  "last_error": null,
  "licence": "CC BY 4.0",
  "lineage": {
    "children": [],
    "critique": null,
    "critique_by": null,
    "generation": 1,
    "inherits_source": false,
    "parent_entry_id": null,
    "root_entry_id": 919
  },
  "loads": [],
  "note": null,
  "off_node": [],
  "planner": "gemma4:e4b",
  "planner_prompt_version": "planner-v1",
  "process": null,
  "prompt": "A cloud of dots that scatters when the microphone gets loud and regathers in quiet.",
  "prompt_tokens": 5544,
  "publish_commit": "2f62fb0bec4bcf102730fcf0c6a3ee78bb9dfe9b",
  "published_utc": "2026-09-19T14:21:18Z",
  "rules_file": "control",
  "seed": 1,
  "shape": "VM.Standard.A1.Flex 16/94",
  "source": {
    "attempts": [
      "attempt-1",
      "attempt-2",
      "attempt-3"
    ],
    "entry": "https://profcarroll.github.io/sketchgen-gallery/e/919/",
    "index_html": "sketch/index.html",
    "repository": "https://github.com/profcarroll/sketchgen-gallery/tree/main/e/919",
    "sketch_js": "sketch/sketch.js"
  },
  "state": "published",
  "statement": "This sketch creates a dynamic field of glowing particles that form a cohesive cloud. The particles drift gently with Perlin noise-based motion, maintaining a soft, organic flow. When sound is detected, the entire cloud scatters outward in a dramatic burst, then slowly reforms as the audio fades. The visual effect uses alpha blending for smooth fading and color variations to enhance the ethereal quality of the particle field. The system responds to audio input through p5.sound's amplitude detection, triggering the scattering behavior while maintaining the idle state when no sound is present.",
  "submitted_by": "profcarroll",
  "wall_s": 159.2
}
