{
  "Uuid": "33967ca5-9318-432c-8b26-81d65bf7e87d",
  "IsCustomNode": false,
  "Description": "",
  "Name": "Untitled",
  "ElementResolver": {
    "ResolutionMap": {}
  },
  "Inputs": [],
  "Outputs": [],
  "Nodes": [
    {
      "ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels",
      "Code": "import clr\nclr.AddReference('ProtoGeometry')\nfrom Autodesk.DesignScript.Geometry import (\n    Point, Vector, Sphere, Cylinder, Cone, Cuboid,\n    Surface, Circle, Polygon, NurbsCurve, PolyCurve, Plane\n)\nclr.AddReference('DSCoreNodes')\nfrom DSCore import Color\nclr.AddReference('GeometryColor')\nfrom Modifiers import GeometryColor\n\nresult = []\n\ndef pt(x, y, z=0):\n    return Point.ByCoordinates(x, y, z)\n\ndef col(r, g, b, a=255):\n    return Color.ByARGB(a, r, g, b)\n\ndef gc(geom, r, g, b, a=255):\n    return GeometryColor.ByGeometryColor(geom, col(r, g, b, a))\n\ndef surf(pts):\n    return Surface.ByPerimeterPoints(pts)\n\n# ═══════════════════════════════════════════════════════════\n# GROUND PLANE  (flat XY slab, thin in Z)\n# ═══════════════════════════════════════════════════════════\nground = Cuboid.ByLengths(pt(0, 0, -0.5), 200, 100, 1)\nresult.append(gc(ground, 10, 25, 10))   # dark green\n\n# ═══════════════════════════════════════════════════════════\n# LAKE  (flat surface, slightly recessed)\n# ═══════════════════════════════════════════════════════════\nlake_pts = [pt(-45, -10, 0.05), pt(45, -10, 0.05),\n            pt(40, 20, 0.05),  pt(-40, 20, 0.05)]\nresult.append(gc(surf(lake_pts), 5, 15, 40))   # dark murky water\n\n# ═══════════════════════════════════════════════════════════\n# MOON REFLECTION on lake\n# ═══════════════════════════════════════════════════════════\nrefl_pts = [pt(-6, 2, 0.06), pt(6, 2, 0.06),\n            pt(4, 12, 0.06), pt(-4, 12, 0.06)]\nresult.append(gc(surf(refl_pts), 180, 170, 90, 100))\n\n# ═══════════════════════════════════════════════════════════\n# FULL MOON  — solid sphere high in sky\n# ═══════════════════════════════════════════════════════════\nmoon = Sphere.ByCenterPointRadius(pt(10, 60, 55), 9)\nresult.append(gc(moon, 220, 220, 180))   # pale ivory\n\n# moon glow halo (larger semi-transparent sphere)\nhalo = Sphere.ByCenterPointRadius(pt(10, 60, 55), 11)\nresult.append(gc(halo, 200, 200, 140, 50))\n\n# ═══════════════════════════════════════════════════════════\n# DARK CLOUDS  — clusters of overlapping spheres\n# ═══════════════════════════════════════════════════════════\ncloud_data = [\n    # (cx, cy, cz, r, R, G, B)\n    (-55, 50, 50, 8),  (-47, 50, 54, 7),  (-62, 50, 52, 7),  # cloud left\n    (50,  50, 46, 7),  (58,  50, 50, 6),  (43,  50, 48, 6),  # cloud right\n    (15,  50, 58, 6),  (22,  50, 55, 5),  (8,   50, 56, 5),  # cloud near moon\n]\nfor cx, cy, cz, r in cloud_data:\n    c = Sphere.ByCenterPointRadius(pt(cx, cy, cz), r)\n    result.append(gc(c, 28, 28, 35))\n\n# ═══════════════════════════════════════════════════════════\n# HAUNTED HOUSE\n# ═══════════════════════════════════════════════════════════\n# Main walls — single cuboid\nwalls = Cuboid.ByLengths(pt(0, 10, 11), 30, 20, 22)\nresult.append(gc(walls, 15, 10, 15))   # dark purple-black\n\n# Roof — cone (wide base = house top, apex = spire tip)\nroof = Cone.ByPointsRadius(pt(0, 10, 22), pt(0, 10, 40), 17)\nresult.append(gc(roof, 10, 5, 10))     # near-black\n\n# Chimney\nchimney = Cylinder.ByPointsRadius(pt(5, 5, 30), pt(5, 5, 50), 1.5)\nresult.append(gc(chimney, 20, 15, 20))\n\n# Door (thin extruded cuboid, slightly proud of wall)\ndoor = Cuboid.ByLengths(pt(0, 0.6, 5), 6, 1, 10)\nresult.append(gc(door, 5, 3, 5))       # near-black door\n\n# Windows — 4 glowing yellow cuboids proud of wall\nfor wx, wz in [(-8, 14), (8, 14), (-8, 6), (8, 6)]:\n    win = Cuboid.ByLengths(pt(wx, 0.6, wz), 5, 1, 5)\n    result.append(gc(win, 200, 170, 20))   # eerie yellow\n\n# ═══════════════════════════════════════════════════════════\n# BARE DEAD TREES  (trunk cylinder + branch cylinders)\n# ═══════════════════════════════════════════════════════════\ntree_configs = [\n    # (base_x, base_y, trunk_h, branches)\n    (-40, 5,  25, [\n        ((-40,5,20), (-54,10,30), 0.4),\n        ((-40,5,18), (-52,5,25),  0.3),\n        ((-40,5,22), (-28,8,30),  0.4),\n        ((-40,5,16), (-55,3,22),  0.3),\n        ((-40,5,14), (-26,6,20),  0.3),\n    ]),\n    (55, 5, 28, [\n        ((55,5,22), (42,10,32),  0.4),\n        ((55,5,20), (40,5,27),   0.3),\n        ((55,5,24), (68,8,33),   0.4),\n        ((55,5,18), (38,3,24),   0.3),\n        ((55,5,16), (70,6,22),   0.3),\n    ]),\n]\nfor bx, by, th, branches in tree_configs:\n    trunk = Cylinder.ByPointsRadius(pt(bx,by,0), pt(bx,by,th), 1.0)\n    result.append(gc(trunk, 25, 15, 10))   # dark bark\n    for (x1,y1,z1), (x2,y2,z2), r in branches:\n        br = Cylinder.ByPointsRadius(pt(x1,y1,z1), pt(x2,y2,z2), r)\n        result.append(gc(br, 20, 12, 8))\n\n# ═══════════════════════════════════════════════════════════\n# TOMBSTONES  — cuboid body + cone arch top\n# ═══════════════════════════════════════════════════════════\ntombs = [\n    (-70, 15, 6, 3, 10),\n    (-58, 12, 5, 3, 9),\n    (65,  15, 6, 3, 10),\n    (75,  12, 5, 3, 8),\n    (-80, 10, 4, 3, 7),\n]\nfor tx, ty, tw, td, th in tombs:\n    body = Cuboid.ByLengths(pt(tx + tw/2, ty + td/2, th*0.4),\n                            tw, td, th*0.8)\n    result.append(gc(body, 50, 45, 55))\n    # rounded/arched top as a small sphere\n    arch = Sphere.ByCenterPointRadius(pt(tx + tw/2, ty + td/2, th*0.8 + th*0.15), th*0.2)\n    result.append(gc(arch, 60, 55, 65))\n\n# ═══════════════════════════════════════════════════════════\n# BATS  — ellipsoid body sphere + two wing surfaces\n# ═══════════════════════════════════════════════════════════\nbat_positions = [\n    (-30, 40, 42),\n    (35,  35, 38),\n    (-10, 55, 60),\n    (60,  40, 45),\n    (-65, 45, 48),\n]\nfor bx, by, bz in bat_positions:\n    # body\n    body = Sphere.ByCenterPointRadius(pt(bx, by, bz), 1.2)\n    result.append(gc(body, 5, 5, 5))\n    # left wing (triangle surface)\n    lw = surf([pt(bx,by,bz+0.5), pt(bx-5,by+1,bz+3), pt(bx-4,by,bz-1)])\n    result.append(gc(lw, 10, 5, 10))\n    # right wing\n    rw = surf([pt(bx,by,bz+0.5), pt(bx+5,by+1,bz+3), pt(bx+4,by,bz-1)])\n    result.append(gc(rw, 10, 5, 10))\n\n# ═══════════════════════════════════════════════════════════\n# SPOOKY FENCE  — posts (cylinders) + spiked tops (cones) + rail\n# ═══════════════════════════════════════════════════════════\nfor fx in range(-95, 96, 8):\n    # post\n    post = Cylinder.ByPointsRadius(pt(fx, -5, 0), pt(fx, -5, 6), 0.4)\n    result.append(gc(post, 22, 17, 20))\n    # spike top\n    spike = Cone.ByPointsRadius(pt(fx, -5, 6), pt(fx, -5, 9), 0.5)\n    result.append(gc(spike, 30, 22, 28))\n\n# horizontal rails\nfor rz in [3.0, 5.0]:\n    rail = Cuboid.ByLengths(pt(0, -5, rz), 190, 0.6, 0.5)\n    result.append(gc(rail, 22, 17, 20))\n\n# ═══════════════════════════════════════════════════════════\n# \"13\" SYMBOL — two tall blood-red slabs near the moon\n# ═══════════════════════════════════════════════════════════\nslab1 = Cuboid.ByLengths(pt(-3, 55, 48), 2.5, 2, 12)\nresult.append(gc(slab1, 180, 0, 0, 220))\nslab2 = Cuboid.ByLengths(pt(3, 55, 48), 2.5, 2, 12)  \nresult.append(gc(slab2, 180, 0, 0, 220))\ncross = Cuboid.ByLengths(pt(0, 55, 54), 8, 2, 2)\nresult.append(gc(cross, 160, 0, 0, 220))\n\nOUT = result\n",
      "Engine": "PythonNet3",
      "VariableInputPorts": true,
      "Id": "a6f45bce6ce942febdfc347f2cc6c3c2",
      "NodeType": "PythonScriptNode",
      "Inputs": [],
      "Outputs": [
        {
          "Id": "0bca0c5119e6493a84b698e6c874427c",
          "Name": "OUT",
          "Description": "Result of the python script",
          "UsingDefaultValue": false,
          "Level": 2,
          "UseLevels": false,
          "KeepListStructure": false
        }
      ],
      "Replication": "Disabled",
      "Description": "Runs an embedded Python script."
    }
  ],
  "Connectors": [],
  "Dependencies": [],
  "NodeLibraryDependencies": [],
  "Thumbnail": "",
  "GraphDocumentationURL": null,
  "ExtensionWorkspaceData": [
    {
      "ExtensionGuid": "5b1f6c8e-7f2a-4d4e-9c1b-726f746f7201",
      "Name": "DynamoNext",
      "Version": "1.0",
      "Data": {
        "dynamonext": "{\"grafts\":{\"a6f45bce6ce942febdfc347f2cc6c3c2\":{\"prompt\":\"Rebuild the Friday the 13th scene entirely in 3D using the Z axis for height and depth. All elements should be 3D solids/geometry: a full moon sphere, 3D dark cloud blobs, a haunted house with walls/roof as 3D extruded solids, bare dead trees as 3D cylinders/cones branching upward, a flat lake surface, 3D tombstones as extruded shapes, 3D bats with wing surfaces, a 3D spiked fence with posts, all with colored display using GeometryColor. Use Z axis for vertical height so the scene has real depth and dimension. (Friday the 13th — 3D Scene)\",\"model\":\"autodesk-assistant\",\"codeHash\":\"7561a469da411dcc55e21e697b26224b15a23ea880f9b2193e270c41dc3ad9fd\",\"host\":\"Sandbox\",\"hostVersion\":\"4.2.1.5887\",\"dynamoVersion\":\"4.2.1.5887\",\"createdAt\":\"2026-11-13T16:17:55.318Z\",\"pythonEngine\":\"PythonNet3\",\"mode\":\"agent\",\"graphId\":\"11b6ce7f1a124de1a42345e88d58f70d\",\"dryRun\":{\"status\":\"succeeded\",\"diff\":{\"created\":0,\"modified\":0,\"deleted\":0}},\"acceptedAt\":\"2026-11-13T16:18:33.616Z\"}},\"graftGraphs\":{\"a5ab981dd000419bba0b8ce06682e612\":{\"prompt\":\"Build an entire 2D scene for Friday the 13th — a spooky horror scene featuring: a full moon, dark clouds, a haunted house/cabin silhouette, bare/dead trees, a lake/water reflection, tombstones, bats flying, and an eerie atmosphere using 2D geometry (rectangles, circles, polygons, lines) with dark and spooky colors.\",\"model\":\"autodesk-assistant\",\"planHash\":\"e2c010422c27e31d01886ff822389d3fce75f4e2e0271a97657c9f41a4e4f0dd\",\"host\":\"Sandbox\",\"hostVersion\":\"4.2.1.5887\",\"dynamoVersion\":\"4.2.1.5887\",\"createdAt\":\"2026-11-13T16:16:05.903Z\",\"note\":\"Friday the 13th 2D scene: moon, clouds, haunted house, trees, lake, tombstones, bats — all colored geometry.\",\"pythonEngine\":\"PythonNet3\",\"mode\":\"agent\",\"attempts\":1,\"nodeIds\":[\"950916ffe9f747bea2cff98bdb7020ba\"],\"dryRun\":{\"status\":\"succeeded\",\"diff\":{\"created\":0,\"modified\":0,\"deleted\":0}},\"acceptedAt\":\"2026-11-13T16:16:22.623Z\"},\"11b6ce7f1a124de1a42345e88d58f70d\":{\"prompt\":\"Rebuild the Friday the 13th scene entirely in 3D using the Z axis for height and depth. All elements should be 3D solids/geometry: a full moon sphere, 3D dark cloud blobs, a haunted house with walls/roof as 3D extruded solids, bare dead trees as 3D cylinders/cones branching upward, a flat lake surface, 3D tombstones as extruded shapes, 3D bats with wing surfaces, a 3D spiked fence with posts, all with colored display using GeometryColor. Use Z axis for vertical height so the scene has real depth and dimension.\",\"model\":\"autodesk-assistant\",\"planHash\":\"113f50daefffe1f6f629e0cc8737518f717d50f94afccde48eaafa908f598e7f\",\"host\":\"Sandbox\",\"hostVersion\":\"4.2.1.5887\",\"dynamoVersion\":\"4.2.1.5887\",\"createdAt\":\"2026-11-13T16:17:55.318Z\",\"note\":\"Friday the 13th — full 3D scene with moon sphere, cloud blobs, haunted house, trees, tombstones, bats, fence, all in Z-up space.\",\"pythonEngine\":\"PythonNet3\",\"mode\":\"agent\",\"attempts\":1,\"nodeIds\":[\"a6f45bce6ce942febdfc347f2cc6c3c2\"],\"dryRun\":{\"status\":\"succeeded\",\"diff\":{\"created\":0,\"modified\":0,\"deleted\":0}},\"acceptedAt\":\"2026-11-13T16:18:33.616Z\"}},\"preview\":{\"camera\":{\"position\":[-101.299,-179.928,31.777],\"target\":[-5.035,-1.01,-11.305]}}}"
      }
    }
  ],
  "Author": "",
  "Linting": {
    "activeLinter": "None",
    "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a",
    "warningCount": 0,
    "errorCount": 0
  },
  "Bindings": [],
  "View": {
    "Dynamo": {
      "ScaleFactor": 1.0,
      "HasRunWithoutCrash": false,
      "IsVisibleInDynamoLibrary": true,
      "Version": "3.3.0.6523",
      "RunType": "Manual",
      "RunPeriod": "1000"
    },
    "Camera": {
      "Name": "_Background Preview",
      "EyeX": -17.0,
      "EyeY": 24.0,
      "EyeZ": 50.0,
      "LookX": 12.0,
      "LookY": -13.0,
      "LookZ": -58.0,
      "UpX": 0.0,
      "UpY": 1.0,
      "UpZ": 0.0
    },
    "ConnectorPins": [],
    "NodeViews": [
      {
        "Id": "a6f45bce6ce942febdfc347f2cc6c3c2",
        "Name": "Friday the 13th — 3D Scene",
        "IsSetAsInput": false,
        "IsSetAsOutput": false,
        "Excluded": false,
        "ShowGeometry": true,
        "X": 141.0,
        "Y": -158.0
      }
    ],
    "Annotations": [
      {
        "Id": "11b6ce7f1a124de1a42345e88d58f70d",
        "Title": "Friday the 13th — full 3D scene with moon sphere, cloud blobs, haunted house, trees, tombstones, bats, fence, all in Z-up space.",
        "DescriptionText": "<Double click here to edit group description>",
        "IsExpanded": true,
        "WidthAdjustment": 0.0,
        "HeightAdjustment": 0.0,
        "Nodes": [
          "a6f45bce6ce942febdfc347f2cc6c3c2"
        ],
        "HasNestedGroups": false,
        "Left": 323.0,
        "Top": -184.0,
        "Width": 240.0,
        "Height": 220.0,
        "FontSize": 36.0,
        "GroupStyleId": "00000000-0000-0000-0000-000000000000",
        "InitialTop": -124.0,
        "InitialHeight": 100.0,
        "TextblockHeight": 50.0,
        "Background": "#FFFFB8D8"
      }
    ],
    "X": 0.0,
    "Y": 0.0,
    "Zoom": 1.0
  }
}