Script: Hello World Demo

Hello World Demo picture
Type
Rete logo indicatorrete
Author
matas
Date Created
Jan 21, 2024, 5:06:20 PM
Last Edit Date
Feb 27, 2024, 2:04:38 PM

Project Information

This project contains demo scripts for Rete editor that are used as examples in the "Getting Started" section of the documentation.

View Full Project

Script Code

{
  "id": "rete-v2-json",
  "nodes": {
    "12cab9d89a5c3f8e": {
      "id": "12cab9d89a5c3f8e",
      "name": "bitbybit.advanced.text3d.create",
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "text": "Hello World!",
        "fontType": "Roboto",
        "fontVariant": "BoldItalic",
        "fontSize": 1.5,
        "height": 0.2,
        "rotation": -90,
        "originAlignment": "centerBottom"
      },
      "inputs": {
        "direction": {
          "connections": [
            {
              "node": "216fbf247683d006",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -118.32328092665267,
        512.2891804137076
      ]
    },
    "216fbf247683d006": {
      "id": "216fbf247683d006",
      "name": "bitbybit.vector.vectorXYZ",
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "x": 0,
        "y": 0,
        "z": -1
      },
      "inputs": {},
      "position": [
        -528.9235197482346,
        740.9153014587314
      ]
    },
    "ea5f89eacd1330cb": {
      "id": "ea5f89eacd1330cb",
      "name": "bitbybit.draw.drawGridMesh",
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "width": 400,
        "height": 400,
        "subdivisions": 10,
        "majorUnitFrequency": 10,
        "minorUnitVisibility": 0.45,
        "gridRatio": 0.5,
        "opacity": 0.5,
        "backFaceCulling": false,
        "mainColor": "#ffffff",
        "secondaryColor": "#ffffff"
      },
      "inputs": {},
      "position": [
        -904.865004838753,
        469.7241906728417
      ]
    }
  }
}