Posts: 361
Threads: 40
Joined: Nov 2023
Reputation:
3
I came across an old 2D burning forest simulation. Figured, due to the change in the environmental outlook over the years, that I would change it to Steel Wool... it reminded me of a time when I shoved a 9 volt battery into a ball of steel wool (brillo pad)... A completely useless piece of code... Spent mere minutes converting it... lol
steelwool.n7 (Size: 1.32 KB / Downloads: 8)
Logic is the beginning of wisdom.
Posts: 7
Threads: 1
Joined: Dec 2023
Reputation:
0
Good code and great effect.
Posts: 361
Threads: 40
Joined: Nov 2023
Reputation:
3
Thank you. I had a little spare time and an even rarer moment of creativity... lol
The original listing used a 150x150 pixel display... Not much bigger than a postage stamp... Don't know about you, but 'my' eyesight almost struggles, when its that small... lol
Logic is the beginning of wisdom.
Posts: 361
Threads: 40
Joined: Nov 2023
Reputation:
3
12-06-2024, 03:31 AM
(This post was last modified: 12-06-2024, 03:34 AM by johnno56.)
No sir. Conway uses "Cellular Automation". The "life" of two or three "cells" is based on 4 basic rules. Those rules will determine the life or death of the cells. Steel Wool uses a simple random method. If the cell is grey, burn it (yellow/orange) then make it black. If black make it grey... and round and round it goes. With Conway, there was always a concept of "total" death of all cells...
Conway's rules: 1. Any live cell with fewer than two live neighbours dies, as if by under population. 2. Any live cell with two or three live neighbours lives on to the next generation. 3. Any live cell with more than three live neighbours dies, as if by overpopulation. 4. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.
Logic is the beginning of wisdom.
Posts: 361
Threads: 40
Joined: Nov 2023
Reputation:
3
Cool... Nice variation!
Logic is the beginning of wisdom.