{
  "assertions": [
    "responds(click)",
    "uses(webgl)",
    "motion(idle)"
  ],
  "attempts": 2,
  "attribution": "\u201ca 3D model of the solar system that animates when the mouse is presse\u2026\u201d \u2014 sketchgen entry 611, prompted by profcarroll, written by qwen3-coder:30b-a3b-q4_K_M under the control rules file. https://profcarroll.github.io/sketchgen-gallery/e/611/ Licensed CC BY 4.0.",
  "brief": "The canvas displays a detailed, three-dimensional model of the solar system. Celestial bodies, including planets and the sun, are suspended in space, following visible, glowing paths that trace their elliptical orbits. When the mouse is pressed down, the entire system animates, allowing the observer to view the constantly shifting alignment and relative positions of the planets and glowing orbital tracks.",
  "completion_tokens": 2143,
  "created_utc": "2026-09-17T06:35:57Z",
  "entry_id": 611,
  "executor": "qwen3-coder:30b-a3b-q4_K_M",
  "executor_prompt_version": "executor-v2",
  "gate": [
    {
      "assertions": {
        "motion(idle)": false,
        "responds(click)": 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": 949,
      "evidence": "Names this sketch shadows (checked before the gate ran):\npreflight: `sphere()` is called inside a loop inside `draw()`, so this sketch builds one lit mesh per item per frame; draw the items as one `beginShape(POINTS)` or build the mesh once in `setup()` with `buildGeometry()` (sketch.js line 72)\n\ngate exit 1: assertions failed: motion(idle)\n\nAssertions that failed:\n- motion(idle): idle 0->120 frames: mean abs diff 0.0000/255, 0 of 480000 pixels changed\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": null,
      "given": null,
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": 9.6,
      "num_ctx": null,
      "preload_s": null,
      "prompt_tokens": 1543,
      "resources_loaded": [],
      "rules_file": "control",
      "source": "attempt-1",
      "total_s": 3.203,
      "wall_s": 91.098
    },
    {
      "assertions": {
        "motion(idle)": true,
        "responds(click)": true,
        "uses(webgl)": true
      },
      "attempt": 2,
      "checks": {
        "audio_context_running": null,
        "console_clean": true,
        "frame_advancing": true,
        "frame_budget": true,
        "is_looping": true,
        "sound_lib_ok": null
      },
      "completion_tokens": 1194,
      "evidence": null,
      "exit": 0,
      "ghost": null,
      "given": null,
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": 68.2,
      "num_ctx": null,
      "preload_s": null,
      "prompt_tokens": 1732,
      "resources_loaded": [],
      "rules_file": "control",
      "source": "attempt-2",
      "total_s": 13.001,
      "wall_s": 104.924
    }
  ],
  "ghost": {
    "by": "default",
    "events": 16,
    "script": "click"
  },
  "job_id": 612,
  "last_error": null,
  "licence": "CC BY 4.0",
  "lineage": {
    "children": [
      693
    ],
    "critique": "the same detailed, three-dimensional representation of the solar system, and this time include visible, glowing paths tracing the elliptical routes of each body.",
    "critique_by": "gemma4:e4b",
    "generation": 3,
    "inherits_source": false,
    "parent_entry_id": 504,
    "root_entry_id": 95
  },
  "loads": [],
  "note": null,
  "off_node": [],
  "planner": "gemma4:e4b",
  "planner_prompt_version": "planner-v1",
  "process": null,
  "prompt": "a 3D model of the solar system that animates when the mouse is pressed down\n\nRevise: attempt again with the 3D lighting effect this time\n\nRevise: the same three-dimensional representation of the solar system, and this time include glowing orbital paths connecting all the celestial bodies.\n\nRevise: the same detailed, three-dimensional representation of the solar system, and this time include visible, glowing paths tracing the elliptical routes of each body.",
  "prompt_tokens": 3275,
  "publish_commit": "27bf4c6b3060be747e0ccb765d73dd87f0adb94b",
  "published_utc": "2026-09-17T13:57:55Z",
  "rules_file": "control",
  "seed": 1,
  "shape": "VM.Standard.A1.Flex 16/94",
  "source": {
    "attempts": [
      "attempt-1",
      "attempt-2"
    ],
    "entry": "https://profcarroll.github.io/sketchgen-gallery/e/611/",
    "index_html": "sketch/index.html",
    "repository": "https://github.com/profcarroll/sketchgen-gallery/tree/main/e/611",
    "sketch_js": "sketch/sketch.js"
  },
  "state": "published",
  "statement": "This sketch presents a dynamically animated 3D model of our solar system rendered using p5.js's WEBGL mode. The scene features the Sun at the center, surrounded by eight planets orbiting along elliptical paths defined by their unique orbital speeds and distances. Each celestial body is rendered with distinct colors and sizes to reflect its real-world characteristics. As the system evolves over time, glowing orbital trails trace the paths of each planet, creating an immersive visualization of cosmic motion. The animation begins automatically but pauses when the user interacts with the canvas by clicking, allowing for a closer inspection of planetary alignments or individual orbits. The implementation uses efficient rendering techniques to maintain performance while providing a visually rich experience of our solar system's grandeur and complexity.",
  "submitted_by": "profcarroll",
  "wall_s": 196.022
}
