{
  "assertions": [
    "uses(webgl)",
    "motion(idle)"
  ],
  "attempts": 1,
  "attribution": "\u201ctake the viewer inside a combustion engine demonstrating pistons and\u2026\u201d \u2014 sketchgen entry 727, prompted by profcarroll, written by qwen3-coder:30b-a3b-q4_K_M under the control rules file. https://profcarroll.github.io/sketchgen-gallery/e/727/ Licensed CC BY 4.0.",
  "brief": "The viewer sees a dynamic, cutaway cross-section of a running combustion engine. Within the central cylinders, pistons rise and fall within their bores, connecting through visibly rotating rods to a central crankshaft. The key action is the precise, cyclical actuation and timing of the intake and exhaust valves, which open and close in synchronization with the pistons\u2019 movement. Colored fluids flow through the open valves, illustrating the intake and exhaust cycles, demonstrating the continuous, automatic process of power generation.",
  "completion_tokens": 1564,
  "created_utc": "2026-09-17T19:48:16Z",
  "entry_id": 727,
  "executor": "qwen3-coder:30b-a3b-q4_K_M",
  "executor_prompt_version": "executor-v2",
  "gate": [
    {
      "assertions": {
        "motion(idle)": true,
        "uses(webgl)": 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": 1564,
      "evidence": null,
      "exit": 0,
      "ghost": null,
      "given": null,
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": 1.2,
      "num_ctx": null,
      "preload_s": null,
      "prompt_tokens": 1550,
      "resources_loaded": [],
      "rules_file": "control",
      "source": "attempt-1",
      "total_s": 1.737,
      "wall_s": 122.939
    }
  ],
  "ghost": {
    "by": "default",
    "events": 40,
    "script": "wander"
  },
  "job_id": 728,
  "last_error": null,
  "licence": "CC BY 4.0",
  "lineage": {
    "children": [
      795
    ],
    "critique": "the same dynamic, cross-sectional view of a combustion engine's core mechanisms, and this time the connecting rods visibly rotating a crankshaft.",
    "critique_by": "gemma4:e4b",
    "generation": 5,
    "inherits_source": false,
    "parent_entry_id": 669,
    "root_entry_id": 422
  },
  "loads": [],
  "note": null,
  "off_node": [],
  "planner": "gemma4:e4b",
  "planner_prompt_version": "planner-v1",
  "process": null,
  "prompt": "take the viewer inside a combustion engine demonstrating pistons and gearing\n\nRevise: we should see pistons moving up and down inside a cylinder and a spark explosion pushes the piston down which turns a transaxle connected to a gear\n\nRevise: the same cross-section of a combustion engine's core mechanisms, and this time the connection between the pistons and the rods is more visible\n\nRevise: the same dynamic, cross-sectional view of a combustion engine's core mechanisms, and this time the intake and exhaust of the cylinders are visually represented with colored fluid flow.\n\nRevise: the same dynamic, cross-sectional cutaway of a running combustion engine, and this time the intake and exhaust valves are visibly actuated and timed with the movement of the connecting rods.\n\nRevise: the same dynamic, cross-sectional view of a combustion engine's core mechanisms, and this time the connecting rods visibly rotating a crankshaft.",
  "prompt_tokens": 1550,
  "publish_commit": "82ee97df2495edacdf625753488273616f9c0e30",
  "published_utc": "2026-09-17T19:50:51Z",
  "rules_file": "control",
  "seed": 1,
  "shape": "VM.Standard.A1.Flex 16/94",
  "source": {
    "attempts": [
      "attempt-1"
    ],
    "entry": "https://profcarroll.github.io/sketchgen-gallery/e/727/",
    "index_html": "sketch/index.html",
    "repository": "https://github.com/profcarroll/sketchgen-gallery/tree/main/e/727",
    "sketch_js": "sketch/sketch.js"
  },
  "state": "published",
  "statement": "This sketch presents a dynamic, cutaway view of a two-cylinder combustion engine running in real-time. Using the WEBGL renderer, it visualizes the core mechanics: pistons moving up and down within their cylinders, connected to a rotating crankshaft through connecting rods. The engine's timing is illustrated by synchronized intake and exhaust valves that open and close as pistons move, with colored fluid flows showing the direction of air/fuel mixture and exhaust gases. The motion is entirely self-contained, driven by mathematical calculations without any user input or external triggers. The visualization emphasizes the cyclical nature of engine operation through continuous animation and precise mechanical relationships.",
  "submitted_by": "profcarroll",
  "wall_s": 122.939
}
