-
0
1
1
- 634009978490625000
-
0
6
59
- true
- true
- 596712c9-3e0f-4bed-a6fc-4e07b7f0df73
- Shaded
- CAheights2.ghx
- 633673695118437500
- 0
-
44
193
- 0.918518543
- 0
- 14
- 3e8ca6be-fda8-4aaf-b5c0-3c54c8bb7312
- Number
- size
- 2843a0d7-95db-483c-8576-a709f0a67ef1
- true
- true
- true
- 0
- 1
-
223
191
60
20
-
223
191
60
20
-
252.9219
200.5563
- false
- 2
- e64c5fb1-845c-4ab1-8911-5f338516ba67
- Series
- Series
- fa365c63-aebb-45e8-adb5-cb07b49cfd4f
- true
- true
- true
- longest_list
-
343
183
63
64
-
363
185
24
60
-
375
215
- false
- S
- ef916b4a-5c7d-4777-b048-91b1a70f3342
- true
- true
- true
- 0
- 1
-
345
185
18
20
-
345
185
18
20
-
354
195
- false
- 0
- N
- db9f4f4a-879b-407b-95e2-5d6ae6ccfcc8
- true
- true
- true
- 1
- 2843a0d7-95db-483c-8576-a709f0a67ef1
- 1
-
345
205
18
20
-
345
205
18
20
-
354
215
- false
- 1
- C
- 0e8055d4-4914-4ebb-8fb3-770eaf7c210c
- true
- true
- true
- 1
- 0b2f71bb-6b89-4152-990a-24478d037fea
- 1
-
345
225
18
20
-
345
225
18
20
-
354
235
- false
- 10
- S
- cded507c-7a28-4190-bc4f-7d519a64cba8
- true
- true
- true
- 0
- 0
-
387
185
17
60
-
387
185
17
60
-
395.5
215
- false
- 57da07bd-ecab-415d-9d86-af36d7073abc
- Number Slider
- gridsize
- 0b2f71bb-6b89-4152-990a-24478d037fea
- true
- true
- true
- 0
-
179
300
151
20
-
179
300
51
20
-
178.75
299.6367
- false
- 27
- 0
- 60
- 4
- 1
- b7e4e0ef-a01d-48c4-93be-2a12d4417e22
- Random
- Random
- 12e20b94-758a-455a-a272-9d949f207157
- true
- true
- true
- longest_list
-
703
93
64
84
-
723
95
24
80
-
735
135
- false
- R
- ce4c9893-8391-4e88-b7b3-070a55763477
- true
- true
- true
- 0
- 1
-
705
95
18
20
-
705
95
18
20
-
714
105
- false
-
0
100
- N
- b87d141d-ef6c-44c3-ad5f-268f5785ebd1
- true
- true
- true
- 1
- 6e69769a-dd11-4023-b168-c6fad94c9d59
- 1
-
705
115
18
20
-
705
115
18
20
-
714
125
- false
- 1
- S
- 3740a54c-a83b-4afd-8fbe-98bc0333267c
- true
- true
- true
- 1
- 30909b37-19c4-4c93-8606-3adacc46eb3c
- 1
-
705
135
18
20
-
705
135
18
20
-
714
145
- false
- 2
- I
- be7a9a8c-bb31-4e81-b32c-cc1231bda56e
- true
- true
- true
- 0
- 1
- false
-
705
155
18
20
-
705
155
18
20
-
714
165
- false
- false
- R
- 07ec11a0-b078-4a93-9ff4-1291cac14e5e
- true
- true
- true
- 0
- 0
-
747
95
18
80
-
747
95
18
80
-
756
135
- false
- fb6aba99-fead-4e42-b5d8-c6de5ff90ea6
- DotNET VB Script
-
'Adapted from Baldino's Game of Life code by Dan
Dim Height As Integer
Height = 140 'This controls the maximum height any cell can reach
Dim i As Integer
Dim cellIndex As Integer
Dim below As Integer
Dim above As Integer
Dim left As Integer
Dim right As Integer
Dim belowleft As Integer
Dim belowright As Integer
Dim aboveleft As Integer
Dim aboveright As Integer
Dim gridsquare As Integer
gridsquare = (gridsize * gridsize) - 1
Dim outputList(gridsquare) As Double
Dim NeighbourMix As Double
For i = 0 To generations
For cellIndex = 0 To gridsquare
below = (cellIndex + 1) Mod gridsquare
above = (cellIndex + gridsquare - 1) Mod gridsquare
left = (cellIndex + gridsquare - gridsize) Mod gridsquare
right = (cellIndex + gridsize) Mod gridsquare
aboveright = ((cellIndex - 1) + gridsize + gridsquare) Mod gridsquare
aboveleft = ((cellIndex - 1) - gridsize + gridsquare) Mod gridsquare
belowright = ((cellIndex + 1) + gridsize + gridsquare) Mod gridsquare
belowleft = ((cellIndex + 1) - gridsize + gridsquare) Mod gridsquare
'Now calculate a new height for each cell based on a function of its neighbours' heights
NeighbourMix = Math.Pow((cellStateList(left) * cellStateList(right) * cellStateList(above) * cellStateList(below) * cellStateList(belowleft) * cellStateList(belowright) * cellStateList(aboveleft) * cellStateList(aboveright)), 0.125)
cellStateList(cellIndex) = (Math.sqrt(cellStateList(cellIndex)) * (Math.sqrt(NeighbourMix)) + 0.5) Mod Height
Next
Next
For cellIndex = 0 To gridsquare
outputList(cellIndex) = cellStateList(cellIndex)
Next
A = outputList
-
- 0
- VB
- deb5d9b6-2105-4c91-bc27-ece39e5918ff
- true
- true
- true
- longest_list
-
843
240
122
64
-
914
242
24
60
-
926
272
- false
- 3
- 84fa917c-1ed8-4db3-8be1-7bdc4a6495a2
- Variable x
- Script Variable x
- 1
- true
- true
- 84fa917c-1ed8-4db3-8be1-7bdc4a6495a2
- Variable y
- Script Variable y
- true
- true
- 84fa917c-1ed8-4db3-8be1-7bdc4a6495a2
- Variable var
- Script Variable var
- true
- true
- 2
- 3ede854e-c753-40eb-84cb-b48008f14fd4
- Output
- Print, Reflect and Error streams
- true
- false
- 8ec86459-bf01-4409-baee-174d0d2b13d0
- Result A
- Output parameter A
- true
- false
- cellStateList
- 22037464-d4f9-4e18-b8e9-96f25e96fda1
- true
- true
- true
- 1
- 1
- 07ec11a0-b078-4a93-9ff4-1291cac14e5e
- 8e991e99-5fb8-41e1-928d-1bba8fb9f7d7
- true
-
845
242
69
20
-
845
242
69
20
-
879.5
252
- false
- generations
- da388653-42d2-4e8e-beb4-995172d524b4
- true
- true
- true
- 1
- 0cf26b6f-141e-48d4-b9d9-5dbc98aae193
- efe48ae7-2987-421b-a33a-1f7be1c3f050
- true
-
845
262
69
20
-
845
262
69
20
-
879.5
272
- false
- gridSize
- 2c7bb95a-1f82-466a-902a-740581bb1b8c
- true
- true
- true
- 1
- 0b2f71bb-6b89-4152-990a-24478d037fea
- efe48ae7-2987-421b-a33a-1f7be1c3f050
- true
-
845
282
69
20
-
845
282
69
20
-
879.5
292
- false
- out
- e15bacd3-d0cc-473b-9fc7-94bbd72256c0
- true
- true
- true
- 0
- 0
-
938
242
25
30
-
938
242
25
30
-
950.5
257
- false
- A
- e54c1732-1e49-4a5e-99a8-0262b01a19ea
- true
- true
- true
- 0
-
938
272
25
30
-
938
272
25
30
-
950.5
287
- false
- 57da07bd-ecab-415d-9d86-af36d7073abc
- Number Slider
- generations
- 0cf26b6f-141e-48d4-b9d9-5dbc98aae193
- true
- true
- true
- 0
-
381
347
407
20
-
381
347
71
20
-
381.1614
347.4365
- false
- 816
- 0
- 1000
- 4
- 1
- 57da07bd-ecab-415d-9d86-af36d7073abc
- Number Slider
- Slider
- 30909b37-19c4-4c93-8606-3adacc46eb3c
- true
- true
- true
- 0
-
531
149
142
20
-
531
149
42
20
-
531.4999
149
- false
- 5
- 0
- 15
- 4
- 1
- 3581f42a-9592-4549-bd6b-1c0fc39d067b
- Point XYZ
- Pt
- 81356118-be87-43bd-843f-368a06bdb47f
- false
- true
- true
- cross_reference
-
447
198
65
64
-
466
200
24
60
-
478
230
- false
- X
- d9420de2-c956-4d5e-a507-c9ffc364de27
- true
- true
- true
- 1
- cded507c-7a28-4190-bc4f-7d519a64cba8
- 1
-
449
200
17
20
-
449
200
17
20
-
457.5
210
- false
- 0
- Y
- 7a427d8c-d9bb-4ebe-b3b2-e5299007e052
- true
- true
- true
- 1
- cded507c-7a28-4190-bc4f-7d519a64cba8
- 1
-
449
220
17
20
-
449
220
17
20
-
457.5
230
- false
- 0
- Z
- 4e687535-3a0c-436a-a1c1-ffc9dd8a86b7
- true
- true
- true
- 0
- 1
-
449
240
17
20
-
449
240
17
20
-
457.5
250
- false
- 0
- Pt
- 3eda42c9-5f6c-48ec-8ec0-9907b98b5d68
- true
- true
- true
- 0
- 0
-
490
200
20
60
-
490
200
20
60
-
500
230
- false
- 1817fd29-20ae-4503-b542-f0fb651e67d7
- List Length
- Lng
- e88b3dfb-0743-44ff-85b9-fb9cc62f8ce7
- true
- true
- true
- longest_list
-
559
181
60
40
-
577
183
24
36
-
589
201
- false
- L
- d282436f-6618-4943-9e02-5d0ff6789540
- true
- true
- true
- 1
- 1
- 3eda42c9-5f6c-48ec-8ec0-9907b98b5d68
-
561
183
16
36
-
561
183
16
36
-
569
201
- false
- L
- 6e69769a-dd11-4023-b168-c6fad94c9d59
- true
- true
- true
- 0
- 0
-
601
183
16
36
-
601
183
16
36
-
609
201
- false
- 9abae6b7-fa1d-448c-9209-4a8155345841
- Decompose
- pComp
- f04d89b8-ccb9-420f-b63d-921f988ffcd2
- false
- true
- true
- longest_list
-
847
160
62
64
-
866
162
24
60
-
878
192
- false
- P
- 3c90f058-156d-4001-bfee-27c341577621
- true
- true
- true
- 1
- 3eda42c9-5f6c-48ec-8ec0-9907b98b5d68
- 0
-
849
162
17
60
-
849
162
17
60
-
857.5
192
- false
- X
- 5eb87a81-03c4-4764-9099-15bd526411bd
- true
- true
- true
- 0
- 0
-
890
162
17
20
-
890
162
17
20
-
898.5
172
- false
- Y
- 335e5b0b-43b7-4ead-963a-8918ff91bd4b
- true
- true
- true
- 0
- 0
-
890
182
17
20
-
890
182
17
20
-
898.5
192
- false
- Z
- 15bb4f94-8de0-42b1-aaf8-f01da6b52fa3
- true
- true
- true
- 0
- 0
-
890
202
17
20
-
890
202
17
20
-
898.5
212
- false
- 3581f42a-9592-4549-bd6b-1c0fc39d067b
- Point XYZ
- Pt
- b0ec16f8-64c5-4aff-b2c6-7b9bf465c594
- true
- true
- true
- longest_list
-
1105
154
65
64
-
1124
156
24
60
-
1136
186
- false
- X
- 6062bb6a-528a-4943-a0d6-3d142118bbb4
- true
- true
- true
- 1
- 5eb87a81-03c4-4764-9099-15bd526411bd
- 1
-
1107
156
17
20
-
1107
156
17
20
-
1115.5
166
- false
- 0
- Y
- 1610cef7-84c0-400b-ad04-1d62123950bd
- true
- true
- true
- 1
- 335e5b0b-43b7-4ead-963a-8918ff91bd4b
- 1
-
1107
176
17
20
-
1107
176
17
20
-
1115.5
186
- false
- 0
- Z
- bc227c59-a414-43d5-924c-c519f68449ea
- true
- true
- true
- 1
- 4fbc6f83-0125-46ab-8041-5dec02cd99dd
- 1
-
1107
196
17
20
-
1107
196
17
20
-
1115.5
206
- false
- 0
- Pt
- 49aa1e20-f0ee-44f6-8c72-8b70847c6055
- true
- true
- true
- 0
- 0
-
1148
156
20
60
-
1148
156
20
60
-
1158
186
- false
- 3e6383e9-af39-427b-801a-19ca916160fa
- Multiplication
- Mult
- 2bf08738-fc99-4b73-898b-fed20ef862e0
- true
- true
- true
- longest_list
-
1004
241
63
44
-
1023
243
24
40
-
1035
263
- false
- A
- 3e01c572-57da-45f7-b207-1ac2c1cc5440
- true
- true
- true
- 1
- e54c1732-1e49-4a5e-99a8-0262b01a19ea
- 0
-
1006
243
17
20
-
1006
243
17
20
-
1014.5
253
- false
- B
- a2208f40-2d56-425d-8720-10d0eb3f7222
- true
- true
- true
- 0
- 1
-
1006
263
17
20
-
1006
263
17
20
-
1014.5
273
- false
- 0.3
- R
- 4fbc6f83-0125-46ab-8041-5dec02cd99dd
- true
- true
- true
- 0
- 0
-
1047
243
18
40
-
1047
243
18
40
-
1056
263
- false
- 59e0b89a-e487-49f8-bab8-b5bab16be14c
- Panel
- fc659243-48f5-4237-ad0f-7efe4f015450
- true
- true
- true
- 0
- Continuous Cellular Automata heightfield Dan Piker 26/02/09
I started with Baldino's implementation of Conways Game Of Life, and replaced his VB component with my own different CA.
Now, instead of being just on or off, each cell has a scalar value.
The original code for this came from one of my old sketches in processing, copy-pasted in with minimal changes.
www.spacesymmetrystructure.wordpress.com
- true
- true
- true
- 0
- false
-
255;0;0;0
-
255;255;250;90
-
-37
-36
464
191
-
-37
-36
464
191
-
-37
-36
- false
- 59e0b89a-e487-49f8-bab8-b5bab16be14c
- Panel
- d8b9abca-c6cc-48f1-af52-4e6034c07511
- true
- true
- true
- 0
- Random seed value
- true
- true
- true
- 0
- false
-
255;0;0;0
-
255;255;250;90
-
499
111
165
39
-
499
111
165
39
-
499
111
- false