{
  "assertions": [
    "no_motion",
    "responds(drag)"
  ],
  "attempts": 1,
  "attribution": "\u201ca sewing machine stitching a seam that follows your cursor\u201d \u2014 sketchgen entry 1474, prompted by profcarroll, written by qwen3-coder:30b-a3b-q4_K_M under the treatment rules file. https://profcarroll.github.io/sketchgen-gallery/e/1474/ Licensed CC BY 4.0.",
  "brief": "The canvas displays a simple representation of a sewing machine mechanism. The primary visual element is a seam, which appears as a continuous, thick line of stitches. When the user moves the cursor across the canvas, the seam dynamically follows the path of the cursor, simulating the action of stitching. The stitching trail is drawn in a single color that adheres precisely to the movement of the input pointer.",
  "completion_tokens": 408,
  "created_utc": "2026-09-23T15:41:22Z",
  "entry_id": 1474,
  "executor": "qwen3-coder:30b-a3b-q4_K_M",
  "executor_prompt_version": "executor-v3",
  "gate": [
    {
      "assertions": {
        "no_motion": true,
        "responds(drag)": true
      },
      "attempt": 1,
      "checks": {
        "audio_context_running": null,
        "console_clean": true,
        "frame_advancing": true,
        "frame_budget": true,
        "is_looping": true,
        "sound_lib_ok": null
      },
      "completion_tokens": 408,
      "evidence": null,
      "exit": 0,
      "ghost": {
        "events": 30,
        "ms": 2920,
        "played": 30,
        "script": "drag",
        "source": "default"
      },
      "given": null,
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": 0.1,
      "num_ctx": 16384,
      "preload_s": 0.026,
      "prompt_tokens": 2375,
      "resources_loaded": [],
      "rules_file": "treatment",
      "source": "attempt-1",
      "total_s": 2.496,
      "wall_s": 33.481
    }
  ],
  "ghost": {
    "by": "default",
    "events": 30,
    "script": "drag"
  },
  "job_id": 1485,
  "last_error": null,
  "licence": "CC BY 4.0",
  "lineage": {
    "children": [
      1610
    ],
    "critique": null,
    "critique_by": null,
    "generation": 1,
    "inherits_source": false,
    "parent_entry_id": null,
    "root_entry_id": 1474
  },
  "loads": [],
  "note": null,
  "off_node": [],
  "planner": "gemma4:e4b",
  "planner_prompt_version": "planner-v2",
  "process": null,
  "prompt": "a sewing machine stitching a seam that follows your cursor",
  "prompt_tokens": 2375,
  "publish_commit": "27823809d9d7519d17ddd023562de85f384a9af1",
  "published_utc": "2026-09-24T01:15:28Z",
  "rules_file": "treatment",
  "seed": 1,
  "shape": "VM.Standard.A1.Flex 16/96",
  "source": {
    "attempts": [
      "attempt-1"
    ],
    "entry": "https://profcarroll.github.io/sketchgen-gallery/e/1474/",
    "index_html": "sketch/index.html",
    "repository": "https://github.com/profcarroll/sketchgen-gallery/tree/main/e/1474",
    "sketch_js": "sketch/sketch.js"
  },
  "state": "published",
  "statement": "This sketch simulates a sewing machine mechanism by creating a dynamic seam that follows the user's cursor movement. The visualization represents a continuous line of stitches that forms as the pointer drags across the canvas. The gold-colored seam traces the exact path of the mouse, with each position recorded as a stitch point. The system maintains only the most recent 200 stitch points to ensure smooth performance while still providing a visible trail. When no motion occurs, the seam remains static, but upon cursor movement, a new dynamic trail forms that responds precisely to user input. The technique uses a simple array to store stitch positions and draws them as a continuous shape, creating an effect that mimics the action of stitching through fabric.",
  "submitted_by": "profcarroll",
  "wall_s": 33.481
}
