{
  "assertions": [
    "uses(webgl)",
    "motion(idle)"
  ],
  "attempts": 1,
  "attribution": "\u201ctake the viewer inside a combustion engine demonstrating pistons and\u2026\u201d \u2014 sketchgen entry 1168, prompted by profcarroll, written by qwen3-coder:30b-a3b-q4_K_M under the control rules file. https://profcarroll.github.io/sketchgen-gallery/e/1168/ Licensed CC BY 4.0.",
  "brief": "The canvas displays a dynamic, three-dimensional cross-section cutaway of a running internal combustion engine. Viewers observe pistons moving within cylinders, driven by the simulated expansion of combustion gases. The connecting rods visibly rotate the crankshaft, while simultaneously, intake and exhaust valves open and close, demonstrating precise timing correlated to the piston\u2019s position. Colored fluids trace the timed flow through the intake and exhaust ports, illustrating the engine's continuous operational cycle.",
  "completion_tokens": 1085,
  "created_utc": "2026-09-20T17:35:09Z",
  "entry_id": 1168,
  "executor": "qwen3-coder:30b-a3b-q4_K_M",
  "executor_prompt_version": "executor-v3",
  "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": 1085,
      "evidence": null,
      "exit": 0,
      "ghost": null,
      "given": null,
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": 7.4,
      "num_ctx": null,
      "preload_s": null,
      "prompt_tokens": 1717,
      "resources_loaded": [],
      "rules_file": "control",
      "source": "attempt-1",
      "total_s": 2.34,
      "wall_s": 104.52
    }
  ],
  "ghost": {
    "by": "default",
    "events": 40,
    "script": "wander"
  },
  "job_id": 1172,
  "last_error": null,
  "licence": "CC BY 4.0",
  "lineage": {
    "children": [
      1201
    ],
    "critique": "the same dynamic, cross-sectional cutaway of a running internal combustion engine, and this time the rapid, expanding combustion gases inside the cylinder are visually demonstrated, pushing the piston downward.",
    "critique_by": "gemma4:e4b",
    "generation": 13,
    "inherits_source": false,
    "parent_entry_id": 1124,
    "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.\n\nRevise: the same dynamic, cutaway cross-section of a running combustion engine, and this time the connecting rods visibly articulating at their bearing points on the crankshaft.\n\nRevise: the same dynamic, three-dimensional cross-section of a running combustion engine, and this time the articulation points where the connecting rods bear on the crankshaft are clearly visible.\n\nRevise: the same dynamic, cross-sectional cutaway view of a running combustion engine, and this time the intake and exhaust are represented by clearly visible, timed colored fluid flows.\n\nRevise: the same dynamic, cutaway cross-section of a running combustion engine, and this time the visible timing gear train linking the crankshaft and the valves is demonstrated.\n\nRevise: the same dynamic, cutaway cross-section of a running combustion engine, and this time the individual components of the valve train are clearly separated and visible.\n\nRevise: the same dynamic, cross-sectional cutaway view of a running internal combustion engine, and this time the rapid, expanding combustion gases inside the cylinder are visually demonstrated, pushing the piston downward.\n\nRevise: the same dynamic, cutaway cross-section view of a running internal combustion engine, and this time the opening and closing of the intake and exhaust valves are clearly timed with the piston's position.\n\nRevise: the same dynamic, cross-sectional cutaway of a running internal combustion engine, and this time the rapid, expanding combustion gases inside the cylinder are visually demonstrated, pushing the piston downward.",
  "prompt_tokens": 1717,
  "publish_commit": "58bb75aa41b9920908a86fd1b9404ec02b6fd6b1",
  "published_utc": "2026-09-20T19:05:18Z",
  "rules_file": "control",
  "seed": 1,
  "shape": "VM.Standard.A1.Flex 16/94",
  "source": {
    "attempts": [
      "attempt-1"
    ],
    "entry": "https://profcarroll.github.io/sketchgen-gallery/e/1168/",
    "index_html": "sketch/index.html",
    "repository": "https://github.com/profcarroll/sketchgen-gallery/tree/main/e/1168",
    "sketch_js": "sketch/sketch.js"
  },
  "state": "published",
  "statement": "This sketch renders a dynamic 3D cross-section of an internal combustion engine, showing pistons moving within cylinders driven by simulated gas expansion. The crankshaft rotates via connecting rods, while intake and exhaust valves open and close in sync with piston motion. Colorful fluid streams trace the flow through intake and exhaust ports, illustrating the continuous engine cycle. The visualization uses WebGL for 3D rendering and includes subtle audio feedback that responds to a single user click.",
  "submitted_by": "profcarroll",
  "wall_s": 104.52
}
