3 ms·
You could compute the value of adjacent cells and use it in your formula.
by jstanley 3y ago
You could compute the value of adjacent cells and use it in your formula.
- denton-scratch 3y agoI don't see how. There's no notation for addressing cells, and every cell runs the same formula. It's a bit like a spreadsheet, but with every cell running the same function. But with notation for addressing cells, you could make Conway's Game Of Life with a program just a dozen characters in length. With a z dimension and cell-addressing, you could probably create something like a weather model. But to be useful, you'd need a bigger canvas than 256x256. You could probably do some interesting things if the language allowed an arbitrary number of dimensions.
- jstanley 3y ago> There's no notation for addressing cells, and every cell runs the same formula. The adjacent cells are (X,Y-1), (X,Y+1), (X-1,Y), and (X+1,Y), you can use those values in your formula.
- denton-scratch 3y agoThanks! I didn't see that in the docs. That immediately makes it more interesting.