File size: 4,056 Bytes
3bb804c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
{
  "global_settings": {
    "coupling": 100
  },
  "nodes": [
    {
      "id": 0,
      "class_name": "CirculatorSwarmNode",
      "pos_x": -529.0,
      "pos_y": 82.0,
      "width": 200.0,
      "height": 180.0,
      "config": {
        "inputs": {
          "vector_field_in": "image",
          "repulsion": "signal",
          "damping": "signal"
        },
        "outputs": {
          "image": "image"
        },
        "input_data": {
          "vector_field_in": [],
          "repulsion": [],
          "damping": []
        },
        "node_title": "Circulator Swarm",
        "size": 256,
        "particle_count": 300
      }
    },
    {
      "id": 1,
      "class_name": "DistanceFieldNode",
      "pos_x": -277.0,
      "pos_y": 78.0,
      "width": 200.0,
      "height": 180.0,
      "config": {
        "inputs": {
          "image_in": "image",
          "threshold": "signal",
          "invert": "signal"
        },
        "outputs": {
          "image": "image"
        },
        "node_title": "Distance Field",
        "size": 256
      }
    },
    {
      "id": 2,
      "class_name": "GlobeProjectorNode",
      "pos_x": -53.0,
      "pos_y": 51.0,
      "width": 201.0,
      "height": 199.0,
      "config": {
        "inputs": {
          "image_in": "image"
        },
        "outputs": {
          "image_out": "image"
        },
        "node_title": "Globe Projector",
        "zoom": 1.0,
        "spin_x": 0.0,
        "spin_y": 0.0,
        "lighting": true,
        "output_size": 256
      }
    },
    {
      "id": 3,
      "class_name": "SpaceScreensaverNode",
      "pos_x": -276.0,
      "pos_y": -143.0,
      "width": 200.0,
      "height": 180.0,
      "config": {
        "inputs": {
          "reset": "signal"
        },
        "outputs": {
          "image": "image",
          "total_mass": "signal"
        },
        "input_data": {
          "reset": []
        },
        "node_title": "Space Screensaver",
        "universe_size": 48,
        "num_singularities": 100,
        "color_scheme": "plasma",
        "device": "cuda",
        "total_mass": 3269.58740234375
      }
    },
    {
      "id": 4,
      "class_name": "GlobeProjectorNode",
      "pos_x": -51.0,
      "pos_y": -145.0,
      "width": 200.0,
      "height": 180.0,
      "config": {
        "inputs": {
          "image_in": "image"
        },
        "outputs": {
          "image_out": "image"
        },
        "node_title": "Globe Projector",
        "zoom": 1.0,
        "spin_x": 0.0,
        "spin_y": 0.0,
        "lighting": true,
        "output_size": 256
      }
    },
    {
      "id": 5,
      "class_name": "ImageCombineNode",
      "pos_x": 191.0,
      "pos_y": -371.0,
      "width": 644.0,
      "height": 626.0,
      "config": {
        "inputs": {
          "image_in_a": "image",
          "image_in_b": "image"
        },
        "outputs": {
          "image_out": "image"
        },
        "node_title": "Image Combiner",
        "modes": [
          "Average",
          "Add",
          "Subtract",
          "Multiply",
          "Screen",
          "HStack",
          "VStack"
        ],
        "mode": "Average",
        "config": {
          "mode": 0
        }
      }
    }
  ],
  "edges": [
    {
      "from_node_id": 0,
      "from_port": "image",
      "to_node_id": 1,
      "to_port": "image_in"
    },
    {
      "from_node_id": 1,
      "from_port": "image",
      "to_node_id": 2,
      "to_port": "image_in"
    },
    {
      "from_node_id": 3,
      "from_port": "image",
      "to_node_id": 4,
      "to_port": "image_in"
    },
    {
      "from_node_id": 4,
      "from_port": "image_out",
      "to_node_id": 5,
      "to_port": "image_in_a"
    },
    {
      "from_node_id": 2,
      "from_port": "image_out",
      "to_node_id": 5,
      "to_port": "image_in_b"
    }
  ]
}