Script: Chair 3DGS Scan

Chair 3DGS Scan picture
Type
Rete logo indicatorrete
Date Created
Dec 13, 2024, 2:36:54 PM
Last Edit Date
Jan 8, 2026, 6:36:11 PM

Project Information

Chair Gaussian splat 3D scan that was imported to bitbybit.dev and made interactive

View Full Project

Script Code

{
  "id": "rete-v2-json",
  "nodes": {
    "054d47da55d9340d": {
      "id": "054d47da55d9340d",
      "name": "bitbybit.babylon.gaussianSplatting.create",
      "customName": "gaussian splatting",
      "async": true,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "url": "https://ik.imagekit.io/bitbybit/prod/ik-seo/o/users%2FyVqNAFXmieX0iAkdP6wAz5BJ4X82%2Fprojects%2FuAUkJNijep41r5S4XVTa%2Fassets%2Fchair-sun/chair-in-the-sun.splat?alt=media&token=6c97636e-4b44-4532-b4b7-077d8bb9558a"
      },
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "755735e855b8f3e9",
              "output": "exec",
              "data": {}
            },
            {
              "node": "f6a87f4680ce2b85",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        936.643682727077,
        447.3447230264515
      ]
    },
    "297d5f736f85fb72": {
      "id": "297d5f736f85fb72",
      "name": "bitbybit.flow.babylon.render",
      "customName": "render",
      "data": {},
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "054d47da55d9340d",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1602.028426787641,
        514.5216296900884
      ]
    },
    "f6a87f4680ce2b85": {
      "id": "f6a87f4680ce2b85",
      "name": "bitbybit.flow.actions.trigger",
      "customName": "trigger",
      "data": {},
      "inputs": {},
      "position": [
        470.6313889626893,
        598.4839116679622
      ]
    },
    "810b8ff2cc0695e0": {
      "id": "810b8ff2cc0695e0",
      "name": "bitbybit.flow.counters.counterMinMax",
      "customName": "counter min max",
      "data": {
        "count": 0,
        "min": 0,
        "max": 360,
        "step": 0.1,
        "pulse": false,
        "end": false
      },
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "297d5f736f85fb72",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1976.5597389265918,
        327.4547567022118
      ]
    },
    "b871a59d21635301": {
      "id": "b871a59d21635301",
      "name": "bitbybit.babylon.mesh.setRotation",
      "customName": "set rotation",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": true
        }
      },
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "f9e77c83f03dbe14",
              "output": "exec",
              "data": {}
            }
          ]
        },
        "rotation": {
          "connections": [
            {
              "node": "f9e77c83f03dbe14",
              "output": "result",
              "data": {}
            }
          ]
        },
        "babylonMesh": {
          "connections": [
            {
              "node": "054d47da55d9340d",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        3152.1985712438213,
        -185.72461460889178
      ]
    },
    "f9e77c83f03dbe14": {
      "id": "f9e77c83f03dbe14",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": 0,
        "y": 0,
        "z": 0
      },
      "inputs": {
        "y": {
          "connections": [
            {
              "node": "184ab4301fd9fa88",
              "output": "result",
              "data": {}
            }
          ]
        },
        "exec": {
          "connections": [
            {
              "node": "184ab4301fd9fa88",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        2737.1632901227763,
        234.24746550864035
      ]
    },
    "755735e855b8f3e9": {
      "id": "755735e855b8f3e9",
      "name": "bitbybit.flow.actions.start",
      "customName": "start",
      "data": {},
      "inputs": {},
      "position": [
        488.41142401884144,
        468.78419661084405
      ]
    },
    "d3eb76b907425d92": {
      "id": "d3eb76b907425d92",
      "name": "bitbybit.babylon.scene.adjustActiveArcRotateCamera",
      "customName": "adjust active arc rotate camera",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "position": [
          10,
          10,
          10
        ],
        "lookAt": [
          0,
          0,
          0
        ],
        "lowerBetaLimit": 50,
        "upperBetaLimit": 110,
        "angularSensibilityX": 3000,
        "angularSensibilityY": 3000,
        "maxZ": 100,
        "panningSensibility": 0,
        "wheelPrecision": 100
      },
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "755735e855b8f3e9",
              "output": "exec",
              "data": {}
            },
            {
              "node": "f6a87f4680ce2b85",
              "output": "exec",
              "data": {}
            }
          ]
        },
        "position": {
          "connections": [
            {
              "node": "45532fedcfd268fa",
              "output": "result",
              "data": {}
            }
          ]
        },
        "lowerRadiusLimit": {
          "connections": [
            {
              "node": "5b056dc81aac0edb",
              "output": "result",
              "data": {}
            }
          ]
        },
        "upperRadiusLimit": {
          "connections": [
            {
              "node": "8dc0f1a23e2bde79",
              "output": "result",
              "data": {}
            }
          ]
        },
        "lookAt": {
          "connections": [
            {
              "node": "6aeeee0d98c70ecc",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1144.974311523778,
        -759.9025288141097
      ]
    },
    "45532fedcfd268fa": {
      "id": "45532fedcfd268fa",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": 1.5,
        "y": 2.5,
        "z": 1.7
      },
      "inputs": {},
      "position": [
        295.72030999328365,
        -1281.5720852830145
      ]
    },
    "5b056dc81aac0edb": {
      "id": "5b056dc81aac0edb",
      "name": "bitbybit.math.number",
      "customName": "number",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "number": 2.5
      },
      "inputs": {},
      "position": [
        325.83214588211206,
        -604.315148410802
      ]
    },
    "8dc0f1a23e2bde79": {
      "id": "8dc0f1a23e2bde79",
      "name": "bitbybit.math.number",
      "customName": "number",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "number": 6
      },
      "inputs": {},
      "position": [
        323.6886919231582,
        -339.2538000159623
      ]
    },
    "6aeeee0d98c70ecc": {
      "id": "6aeeee0d98c70ecc",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": 0,
        "y": 0.7,
        "z": 0
      },
      "inputs": {},
      "position": [
        298.8377969463567,
        -942.2062418714778
      ]
    },
    "09dba9736acc9e01": {
      "id": "09dba9736acc9e01",
      "name": "bitbybit.occt.shapes.face.createCircleFace",
      "customName": "circle face",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "radius": 30,
        "center": [
          0,
          0,
          0
        ],
        "direction": [
          0,
          1,
          0
        ]
      },
      "inputs": {},
      "position": [
        485.5869624629682,
        1935.2848523128998
      ]
    },
    "2491aa62937c0e4b": {
      "id": "2491aa62937c0e4b",
      "name": "bitbybit.draw.drawAnyAsync",
      "customName": "draw any async",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        }
      },
      "inputs": {
        "options": {
          "connections": [
            {
              "node": "e5f956bd6779f003",
              "output": "result",
              "data": {}
            }
          ]
        },
        "entity": {
          "connections": [
            {
              "node": "09dba9736acc9e01",
              "output": "result",
              "data": {}
            }
          ]
        },
        "exec": {
          "connections": [
            {
              "node": "755735e855b8f3e9",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1051.216885085338,
        1936.619923777263
      ]
    },
    "e5f956bd6779f003": {
      "id": "e5f956bd6779f003",
      "name": "bitbybit.draw.optionsOcctShapeSimple",
      "customName": "options occt shape simple",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "precision": 0.003,
        "drawFaces": true,
        "faceColour": "#ffffff",
        "drawEdges": false,
        "edgeColour": "#ffffff",
        "edgeWidth": 2,
        "drawTwoSided": true,
        "backFaceColour": "#0000ff",
        "backFaceOpacity": 1
      },
      "inputs": {},
      "position": [
        380.70634665574687,
        2293.7687137567855
      ]
    },
    "0f3bdaa1c2111dcc": {
      "id": "0f3bdaa1c2111dcc",
      "name": "bitbybit.babylon.mesh.setPosition",
      "customName": "set position",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        }
      },
      "inputs": {
        "position": {
          "connections": [
            {
              "node": "8bc57e9cca650fd4",
              "output": "result",
              "data": {}
            }
          ]
        },
        "babylonMesh": {
          "connections": [
            {
              "node": "054d47da55d9340d",
              "output": "result",
              "data": {}
            }
          ]
        },
        "exec": {
          "connections": [
            {
              "node": "054d47da55d9340d",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        2052.487433809545,
        757.3635530283575
      ]
    },
    "8bc57e9cca650fd4": {
      "id": "8bc57e9cca650fd4",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": 0,
        "y": -0.1,
        "z": 0
      },
      "inputs": {},
      "position": [
        1574.5238628361294,
        976.6126639929265
      ]
    },
    "184ab4301fd9fa88": {
      "id": "184ab4301fd9fa88",
      "name": "bitbybit.math.negate",
      "customName": "negate",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "number": 1
      },
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "810b8ff2cc0695e0",
              "output": "exec",
              "data": {}
            }
          ]
        },
        "number": {
          "connections": [
            {
              "node": "810b8ff2cc0695e0",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        2404.2435987838385,
        288.7806618897293
      ]
    },
    "1f0781b67bd35084": {
      "id": "1f0781b67bd35084",
      "name": "bitbybit.color.hexColor",
      "customName": "hex color",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "color": "#545454"
      },
      "inputs": {},
      "position": [
        483.5178374292993,
        1549.9229323057616
      ]
    },
    "f35d039b2fbe25cb": {
      "id": "f35d039b2fbe25cb",
      "name": "bitbybit.babylon.scene.fog",
      "customName": "fog",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "mode": "linear",
        "color": "#ffffff",
        "density": 0.1,
        "start": 2,
        "end": 10
      },
      "inputs": {
        "color": {
          "connections": [
            {
              "node": "1f0781b67bd35084",
              "output": "result",
              "data": {}
            }
          ]
        },
        "exec": {
          "connections": [
            {
              "node": "755735e855b8f3e9",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1059.2845403443716,
        1511.3139312219032
      ]
    },
    "c34909ad7b7af23e": {
      "id": "c34909ad7b7af23e",
      "name": "bitbybit.babylon.scene.backgroundColour",
      "customName": "background colour",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "colour": "#ffffff"
      },
      "inputs": {
        "colour": {
          "connections": [
            {
              "node": "1f0781b67bd35084",
              "output": "result",
              "data": {}
            }
          ]
        },
        "exec": {
          "connections": [
            {
              "node": "755735e855b8f3e9",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1065.6192064320426,
        1236.7221259373766
      ]
    },
    "c48d2ffaa775563f": {
      "id": "c48d2ffaa775563f",
      "name": "bitbybit.babylon.mesh.setLocalScale",
      "customName": "set local scale",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "scale": 1.8
      },
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "054d47da55d9340d",
              "output": "exec",
              "data": {}
            }
          ]
        },
        "babylonMesh": {
          "connections": [
            {
              "node": "054d47da55d9340d",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        2041.9534074407468,
        1094.7902278661259
      ]
    }
  }
}