Easter Egg Script

Easter Egg Script script details
Type
Rete logo image
rete
App Version
0.13.0
Visibility
public
Date Created
Apr 8, 2023, 9:31:35 PM
Last Edit Date
Dec 5, 2023, 5:11:13 PM

Script Details

The Code
{ "id": "bitbybit-dev@0.0.1", "nodes": { "1": { "id": 1, "data": { "hide": true, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "points": { "connections": [ { "node": 6, "output": "list", "data": {} } ] } }, "outputs": { "result": { "connections": [ { "node": 7, "input": "shape", "data": {} } ] } }, "position": [ 41.23360818170735, 184.43683750271268 ], "name": "bitbybit.occt.shapes.wire.createPolylineWire" }, "2": { "id": 2, "data": { "hide": true, "simpleOutput": true, "x": 0, "y": -2, "z": 0, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "x": { "connections": [] }, "y": { "connections": [] }, "z": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 6, "input": "listElements", "data": {} } ] } }, "position": [ -591.0197523842238, -189.10591880552136 ], "name": "bitbybit.point.pointXYZ" }, "3": { "id": 3, "data": { "hide": true, "simpleOutput": true, "x": 1.5, "y": -2, "z": 0, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "x": { "connections": [ { "node": 9, "output": "result", "data": {} } ] }, "y": { "connections": [] }, "z": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 6, "input": "listElements", "data": {} } ] } }, "position": [ -588.3903346436285, 91.38397794472372 ], "name": "bitbybit.point.pointXYZ" }, "4": { "id": 4, "data": { "hide": true, "simpleOutput": true, "x": 1, "y": 2, "z": 0, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "x": { "connections": [ { "node": 8, "output": "result", "data": {} } ] }, "y": { "connections": [] }, "z": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 6, "input": "listElements", "data": {} } ] } }, "position": [ -583.6616674900118, 555.6581213615926 ], "name": "bitbybit.point.pointXYZ" }, "5": { "id": 5, "data": { "hide": true, "simpleOutput": true, "x": 0, "y": 2, "z": 0, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "x": { "connections": [] }, "y": { "connections": [] }, "z": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 6, "input": "listElements", "data": {} } ] } }, "position": [ -599.3071025002089, 851.5442889846996 ], "name": "bitbybit.point.pointXYZ" }, "6": { "id": 6, "data": {}, "inputs": { "listElements": { "connections": [ { "node": 2, "output": "result", "data": {} }, { "node": 3, "output": "result", "data": {} }, { "node": 4, "output": "result", "data": {} }, { "node": 5, "output": "result", "data": {} } ] } }, "outputs": { "list": { "connections": [ { "node": 1, "input": "points", "data": {} } ] } }, "position": [ -192.49362292545516, 234.68663655823178 ], "name": "createList" }, "7": { "id": 7, "data": { "hide": true, "simpleOutput": true, "radius": 0.9, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": 1, "output": "result", "data": {} } ] }, "radius": { "connections": [] }, "radiusList": { "connections": [ { "node": 12, "output": "list", "data": {} } ] }, "indexes": { "connections": [ { "node": 13, "output": "list", "data": {} } ] } }, "outputs": { "result": { "connections": [ { "node": 19, "input": "shape", "data": {} } ] } }, "position": [ 484.8238004400832, 185.465753177958 ], "name": "bitbybit.occt.fillets.fillet2d" }, "8": { "id": 8, "data": { "number": 0.7 }, "inputs": { "number": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 4, "input": "x", "data": {} }, { "node": 14, "input": "first", "data": {} } ] } }, "position": [ -1808.756842910118, 430.53584333685274 ], "name": "bitbybit.math.number" }, "9": { "id": 9, "data": { "number": 2 }, "inputs": { "number": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 3, "input": "x", "data": {} }, { "node": 15, "input": "first", "data": {} } ] } }, "position": [ -1806.727199487539, 93.98008136686882 ], "name": "bitbybit.math.number" }, "10": { "id": 10, "data": { "number": 1 }, "inputs": { "number": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 13, "input": "listElements", "data": {} } ] } }, "position": [ -233.65336296381278, 538.6922173217191 ], "name": "bitbybit.math.number" }, "11": { "id": 11, "data": { "number": 2 }, "inputs": { "number": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 13, "input": "listElements", "data": {} } ] } }, "position": [ -233.0333874566215, 699.4908325053727 ], "name": "bitbybit.math.number" }, "12": { "id": 12, "data": {}, "inputs": { "listElements": { "connections": [ { "node": 14, "output": "result", "data": {} }, { "node": 15, "output": "result", "data": {} } ] } }, "outputs": { "list": { "connections": [ { "node": 7, "input": "radiusList", "data": {} } ] } }, "position": [ -785.2437919372774, 337.5372406582827 ], "name": "createList" }, "13": { "id": 13, "data": {}, "inputs": { "listElements": { "connections": [ { "node": 10, "output": "result", "data": {} }, { "node": 11, "output": "result", "data": {} } ] } }, "outputs": { "list": { "connections": [ { "node": 7, "input": "indexes", "data": {} } ] } }, "position": [ 105.30461144103404, 638.4912361778602 ], "name": "createList" }, "14": { "id": 14, "data": { "simpleOutput": true, "first": 1, "second": -0.7, "operation": "subtract" }, "inputs": { "first": { "connections": [ { "node": 8, "output": "result", "data": {} } ] }, "second": { "connections": [] }, "operation": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 12, "input": "listElements", "data": {} } ] } }, "position": [ -1171.5158266148044, 422.0272732289166 ], "name": "bitbybit.math.twoNrOperation" }, "15": { "id": 15, "data": { "simpleOutput": true, "first": 1, "second": 1.1, "operation": "subtract" }, "inputs": { "first": { "connections": [ { "node": 9, "output": "result", "data": {} } ] }, "second": { "connections": [] }, "operation": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 12, "input": "listElements", "data": {} } ] } }, "position": [ -1192.5779837453522, -49.65937593514879 ], "name": "bitbybit.math.twoNrOperation" }, "17": { "id": 17, "data": { "copy": false, "hide": true, "simpleOutput": true, "angle": 360, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": 21, "output": "result", "data": {} } ] }, "angle": { "connections": [] }, "direction": { "connections": [] }, "copy": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 28, "input": "shape", "data": {} } ] } }, "position": [ 1503.6634906727122, 423.2186817817476 ], "name": "bitbybit.occt.operations.revolve" }, "19": { "id": 19, "data": { "removeStartPoint": false, "removeEndPoint": false, "hide": true, "simpleOutput": true, "nrOfDivisions": 20, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": 7, "output": "result", "data": {} } ] }, "nrOfDivisions": { "connections": [] }, "removeStartPoint": { "connections": [] }, "removeEndPoint": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 21, "input": "points", "data": {} } ] } }, "position": [ 860.608201034237, 422.16696988470835 ], "name": "bitbybit.occt.shapes.wire.divideWireByEqualDistanceToPoints" }, "21": { "id": 21, "data": { "closed": false, "hide": true, "simpleOutput": true, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "points": { "connections": [ { "node": 19, "output": "result", "data": {} } ] }, "closed": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 17, "input": "shape", "data": {} } ] } }, "position": [ 1235.07589789957, 420.087529769691 ], "name": "bitbybit.occt.shapes.wire.createBSpline" }, "25": { "id": 25, "data": { "hide": true, "simpleOutput": true, "x": 3, "y": 3, "z": 0, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "x": { "connections": [] }, "y": { "connections": [] }, "z": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 51, "input": "position", "data": {} } ] } }, "position": [ -2132.7942585632454, 1440.0670944419471 ], "name": "bitbybit.point.pointXYZ" }, "28": { "id": 28, "data": { "hide": true, "simpleOutput": true, "index": 0, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": 17, "output": "result", "data": {} } ] }, "index": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 36, "input": "shape", "data": {} }, { "node": 54, "input": "entity", "data": {} }, { "node": 47, "input": "face", "data": {} } ] } }, "position": [ 1893.5749468705937, 189.3434623981319 ], "name": "bitbybit.occt.shapes.face.getFace" }, "33": { "id": 33, "data": { "nrLevels": 1 }, "inputs": { "list": { "connections": [ { "node": 36, "output": "result", "data": {} } ] }, "nrLevels": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 43, "input": "list", "data": {} } ] } }, "position": [ 2589.5306666602946, -211.26009325199777 ], "name": "flatten" }, "36": { "id": 36, "data": { "shiftHalfStepU": true, "removeStartEdgeU": false, "removeEndEdgeU": true, "shiftHalfStepV": false, "removeStartEdgeV": true, "removeEndEdgeV": true, "hide": true, "simpleOutput": true, "nrDivisionsU": 30, "nrDivisionsV": 10, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": 28, "output": "result", "data": {} } ] }, "nrDivisionsU": { "connections": [] }, "nrDivisionsV": { "connections": [] }, "shiftHalfStepU": { "connections": [] }, "removeStartEdgeU": { "connections": [] }, "removeEndEdgeU": { "connections": [] }, "shiftHalfStepV": { "connections": [] }, "removeStartEdgeV": { "connections": [] }, "removeEndEdgeV": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 33, "input": "list", "data": {} } ] } }, "position": [ 2213.13640126749, -249.426407671468 ], "name": "bitbybit.occt.shapes.face.subdivideToUV" }, "38": { "id": 38, "data": { "number": 0 }, "inputs": { "number": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 39, "input": "item", "data": {} } ] } }, "position": [ 2585.0278036324753, -54.3421643709886 ], "name": "bitbybit.math.number" }, "39": { "id": 39, "data": { "simpleOutput": true, "index": 1 }, "inputs": { "list": { "connections": [ { "node": 43, "output": "result", "data": {} } ] }, "item": { "connections": [ { "node": 38, "output": "result", "data": {} } ] }, "index": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 58, "input": "item", "data": {} } ] } }, "position": [ 3348.833114242645, -382.66349603255543 ], "name": "bitbybit.lists.addItemAtIndex" }, "41": { "id": 41, "data": { "hide": true, "simpleOutput": true, "radius": 0.1, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "radius": { "connections": [] }, "center": { "connections": [ { "node": 58, "output": "item", "data": {} } ] }, "direction": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 48, "input": "listElements", "data": {} } ] } }, "position": [ 4130.441110869289, -81.35388604586508 ], "name": "bitbybit.occt.shapes.wire.createCircleWire" }, "43": { "id": 43, "data": {}, "inputs": { "list": { "connections": [ { "node": 33, "output": "result", "data": {} } ] } }, "outputs": { "result": { "connections": [ { "node": 39, "input": "list", "data": {} } ] } }, "position": [ 3010.871276979322, -140.89215182137886 ], "name": "bitbybit.lists.reverse" }, "47": { "id": 47, "data": { "hide": true, "simpleOutput": true, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "wires": { "connections": [ { "node": 48, "output": "list", "data": {} } ] }, "face": { "connections": [ { "node": 28, "output": "result", "data": {} } ] } }, "outputs": { "result": { "connections": [ { "node": 49, "input": "shapes", "data": {} } ] } }, "position": [ 4843.513246171967, 164.84151688354825 ], "name": "bitbybit.occt.shapes.wire.placeWiresOnFace" }, "48": { "id": 48, "data": {}, "inputs": { "listElements": { "connections": [ { "node": 41, "output": "result", "data": {} } ] } }, "outputs": { "list": { "connections": [ { "node": 47, "input": "wires", "data": {} } ] } }, "position": [ 4499.2257011549555, 91.01936216682813 ], "name": "createList" }, "49": { "id": 49, "data": { "hide": true, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shapes": { "connections": [ { "node": 47, "output": "result", "data": {} } ] } }, "outputs": { "result": { "connections": [ { "node": 52, "input": "entity", "data": {} } ] } }, "position": [ 5230.3001683163675, 303.6193715425848 ], "name": "bitbybit.occt.shapes.compound.makeCompound" }, "51": { "id": 51, "data": { "enableShadows": true, "simpleOutput": true, "intensity": 500, "diffuse": "#ffffff", "specular": "#ffffff", "radius": 0, "shadowGeneratorMapSize": 1024, "shadowDarkness": 0 }, "inputs": { "position": { "connections": [ { "node": 25, "output": "result", "data": {} } ] }, "intensity": { "connections": [] }, "diffuse": { "connections": [] }, "specular": { "connections": [] }, "radius": { "connections": [] }, "shadowGeneratorMapSize": { "connections": [] }, "enableShadows": { "connections": [] }, "shadowDarkness": { "connections": [] } }, "outputs": { "result": { "connections": [] } }, "position": [ -1800.6864531051342, 1443.7117808017274 ], "name": "bitbybit.babylon.scene.drawPointLight" }, "52": { "id": 52, "data": { "simpleOutput": true }, "inputs": { "entity": { "connections": [ { "node": 49, "output": "result", "data": {} } ] }, "options": { "connections": [ { "node": 53, "output": "result", "data": {} } ] }, "babylonMesh": { "connections": [] } }, "outputs": { "result": { "connections": [] } }, "position": [ 5594.614287981151, 384.7647872907607 ], "name": "bitbybit.draw.drawAnyAsync" }, "53": { "id": 53, "data": { "drawEdges": true, "drawFaces": false, "drawEdgeIndexes": false, "drawFaceIndexes": false, "simpleOutput": true, "faceOpacity": 1, "edgeOpacity": 1, "edgeColour": "#ffffff", "faceColour": "#ff0000", "edgeWidth": 1, "precision": 0.02, "edgeIndexHeight": 0.06, "edgeIndexColour": "ff00ff", "faceIndexHeight": 0.06, "faceIndexColour": "#0000ff" }, "inputs": { "faceOpacity": { "connections": [] }, "edgeOpacity": { "connections": [] }, "edgeColour": { "connections": [] }, "faceColour": { "connections": [] }, "faceMaterial": { "connections": [] }, "edgeWidth": { "connections": [] }, "drawEdges": { "connections": [] }, "drawFaces": { "connections": [] }, "precision": { "connections": [] }, "drawEdgeIndexes": { "connections": [] }, "edgeIndexHeight": { "connections": [] }, "edgeIndexColour": { "connections": [] }, "drawFaceIndexes": { "connections": [] }, "faceIndexHeight": { "connections": [] }, "faceIndexColour": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 52, "input": "options", "data": {} } ] } }, "position": [ 5155.838712690412, 578.5631520960529 ], "name": "bitbybit.draw.optionsOcctShape" }, "54": { "id": 54, "data": { "simpleOutput": true }, "inputs": { "entity": { "connections": [ { "node": 28, "output": "result", "data": {} } ] }, "options": { "connections": [ { "node": 55, "output": "result", "data": {} } ] }, "babylonMesh": { "connections": [] } }, "outputs": { "result": { "connections": [] } }, "position": [ 3166.6365793240375, 330.7386472667539 ], "name": "bitbybit.draw.drawAnyAsync" }, "55": { "id": 55, "data": { "drawEdges": false, "drawFaces": true, "drawEdgeIndexes": false, "drawFaceIndexes": false, "simpleOutput": true, "faceOpacity": 1, "edgeOpacity": 1, "edgeColour": "#ffffff", "faceColour": "#ff0000", "edgeWidth": 2, "precision": 0.03, "edgeIndexHeight": 0.06, "edgeIndexColour": "ff00ff", "faceIndexHeight": 0.06, "faceIndexColour": "#0000ff" }, "inputs": { "faceOpacity": { "connections": [] }, "edgeOpacity": { "connections": [] }, "edgeColour": { "connections": [] }, "faceColour": { "connections": [] }, "faceMaterial": { "connections": [ { "node": 56, "output": "result", "data": {} } ] }, "edgeWidth": { "connections": [] }, "drawEdges": { "connections": [] }, "drawFaces": { "connections": [] }, "precision": { "connections": [] }, "drawEdgeIndexes": { "connections": [] }, "edgeIndexHeight": { "connections": [] }, "edgeIndexColour": { "connections": [] }, "drawFaceIndexes": { "connections": [] }, "faceIndexHeight": { "connections": [] }, "faceIndexColour": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 54, "input": "options", "data": {} } ] } }, "position": [ 2751.292142147886, 603.3640759065433 ], "name": "bitbybit.draw.optionsOcctShape" }, "56": { "id": 56, "data": { "backFaceCulling": false, "simpleOutput": true, "name": "Custom Material", "baseColor": "#e100ff", "metallic": 0.7, "roughness": 0.3, "alpha": 1, "zOffset": 5 }, "inputs": { "name": { "connections": [] }, "baseColor": { "connections": [] }, "metallic": { "connections": [] }, "roughness": { "connections": [] }, "alpha": { "connections": [] }, "backFaceCulling": { "connections": [] }, "zOffset": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 55, "input": "faceMaterial", "data": {} } ] } }, "position": [ 2264.413813471076, 694.5845854056628 ], "name": "bitbybit.babylon.material.pbrMetallicRoughness.create" }, "57": { "id": 57, "data": { "simpleOutput": true, "skybox": "clearSky", "size": 1000, "blur": 0.3, "environmentIntensity": 0.7 }, "inputs": { "skybox": { "connections": [] }, "size": { "connections": [] }, "blur": { "connections": [] }, "environmentIntensity": { "connections": [] } }, "outputs": {}, "position": [ -1798.8233985011334, 1113.2094209924142 ], "name": "bitbybit.babylon.scene.enableSkybox" }, "58": { "id": 58, "data": {}, "inputs": { "item": { "connections": [ { "node": 39, "output": "result", "data": {} } ] } }, "outputs": { "item": { "connections": [ { "node": 41, "input": "center", "data": {} } ] } }, "position": [ 3799.288275985294, -148.30136152148947 ], "name": "passThrough" } } }