{
  "assertions": [
    "motion(idle)",
    "uses(webgl)"
  ],
  "attempts": 1,
  "attribution": "\u201ca 3D marble rolls around and down a funnel, implementing collision de\u2026\u201d \u2014 sketchgen entry 231, prompted by profcarroll, written by qwen3-coder:30b-a3b-q4_K_M under the control rules file. https://profcarroll.github.io/sketchgen-gallery/e/231/ Licensed CC BY 4.0.",
  "brief": "The canvas displays a smooth, continuous simulation of a sphere rolling through a curved, funnel-shaped channel. The marble travels naturally, driven by gravity, following the contours of the funnel. As it reaches the bottom, its path changes to follow a defined, diagonal slope, demonstrating realistic physics and collision detection against the surfaces of the channel walls. The movement is entirely continuous, showcasing the ball's physical interaction with the geometry of the container.",
  "completion_tokens": 768,
  "created_utc": "2026-09-15T05:36:03Z",
  "entry_id": 231,
  "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,
        "is_looping": true,
        "sound_lib_ok": null
      },
      "completion_tokens": 768,
      "evidence": null,
      "exit": 0,
      "ghost": null,
      "given": null,
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": null,
      "num_ctx": null,
      "preload_s": null,
      "prompt_tokens": 1535,
      "resources_loaded": [],
      "rules_file": "control",
      "source": "attempt-1",
      "total_s": 1.877,
      "wall_s": 79.914
    }
  ],
  "ghost": {
    "by": "default",
    "events": 40,
    "script": "wander"
  },
  "job_id": 232,
  "last_error": null,
  "licence": "CC BY 4.0",
  "lineage": {
    "children": [
      278
    ],
    "critique": "the same funnel-shaped channel, and this time the marble rolls along a diagonal slope at the base",
    "critique_by": "gemma4:e4b",
    "generation": 3,
    "inherits_source": false,
    "parent_entry_id": 179,
    "root_entry_id": 127
  },
  "loads": [],
  "note": null,
  "off_node": [],
  "planner": "gemma4:e4b",
  "planner_prompt_version": "planner-v1",
  "process": null,
  "prompt": "a 3D marble rolls around and down a funnel, implementing collision detection, so it rolls naturally along sufaces\n\nRevise: the same funnel-shaped container, and this time the marble rolls along a tilted, non-vertical slope at the base.\n\nRevise: improve the camera perspective and collision detection\n\nRevise: the same funnel-shaped channel, and this time the marble rolls along a diagonal slope at the base",
  "prompt_tokens": 1535,
  "publish_commit": "69e712c6e550f7d17ee93260f7a5a15af534ce6f",
  "published_utc": "2026-09-15T13:37:25Z",
  "rules_file": "control",
  "seed": 1,
  "shape": "VM.Standard.A1.Flex 16/94",
  "source": {
    "attempts": [
      "attempt-1"
    ],
    "entry": "https://profcarroll.github.io/sketchgen-gallery/e/231/",
    "index_html": "sketch/index.html",
    "repository": "https://github.com/profcarroll/sketchgen-gallery/tree/main/e/231",
    "sketch_js": "sketch/sketch.js"
  },
  "state": "published",
  "statement": "This sketch simulates a marble rolling through a funnel-shaped channel using physics-based motion and collision detection. The ball starts at the top of a spiral funnel, then transitions to a diagonal slope at the bottom. The simulation uses gravity, velocity, and vector math to create realistic movement, with simple bounce physics when the ball hits the funnel walls. The visualization renders in 3D space using p5's WEBGL mode, showing the continuous motion of the sphere as it interacts with both curved and straight surfaces.",
  "submitted_by": "profcarroll",
  "wall_s": 79.914
}
