Search found 6 matches

by Fencient
March 22nd, 2021, 11:13 pm
Forum: Other Cellular Automata
Topic: World's Most Robust Automata
Replies: 0
Views: 2652

World's Most Robust Automata

I've been playing around with random inputs and found a few automata that can handle some random input.

robustBarbellr.png

It can handle two random CENTER cells with the help of a nearby always-on cell. Here's the full python code to load and run this automata: robustBarbell.py.txt

And here's ...
by Fencient
August 9th, 2020, 11:08 am
Forum: General Discussion
Topic: Add Periodic Random Noise Input
Replies: 8
Views: 4006

Re: Add Periodic Random Noise Input

PushDecimal wrote: August 9th, 2020, 4:11 am As in, it's not even running the game?
Yes. I even tried changing it to 1000 by 1000, but still nothing.
by Fencient
August 8th, 2020, 3:45 pm
Forum: General Discussion
Topic: Add Periodic Random Noise Input
Replies: 8
Views: 4006

Re: Add Periodic Random Noise Input

Here's what works but is really slow:

# Randomly fill cells in the current selection.
# Author: Andrew Trevorrow (andrew@trevorrow.com), March 2011.

import golly as g
from glife import rect, validint
from time import time
from random import randint

g.autoupdate(True)
r = rect( g.getselrect ...
by Fencient
August 8th, 2020, 1:37 pm
Forum: General Discussion
Topic: Add Periodic Random Noise Input
Replies: 8
Views: 4006

Re: Add Periodic Random Noise Input


Python makes it possible.
import random, golly as g

g.setrule("Life:P1000000,1000000")
try:
probability = 100/float(g.getstring("Probability (%): "))
except ZeroDivisionError:
g.exit("No cells will be set.")
except ValueError:
g.exit("Invalid percentage.")
while True:
g.step()
g.update ...
by Fencient
August 8th, 2020, 11:51 am
Forum: General Discussion
Topic: Add Periodic Random Noise Input
Replies: 8
Views: 4006

Re: Add Periodic Random Noise Input


Nicky Case's emoji simulator seems to be the perfect tool for the first example:
http://ncase.me/sim/?lz=N4IgtgpgLghiBcoAmEDOBjATgSwA5WwHsA7BEAFQAsIACAd0MwBskbVZMpV7spKbKMMOwiZuAMhphs6WphjEkhMEwCeU7AA8ISAHQAdYoYCiMdP0yEUxKDT7ZiAa1Twa+kAEkAZjSZpufAoCMEw ...
by Fencient
August 8th, 2020, 12:12 am
Forum: General Discussion
Topic: Add Periodic Random Noise Input
Replies: 8
Views: 4006

Add Periodic Random Noise Input

I need a way to add random noise into the sim every generation, or so. The probability of a pixel getting a "bit flip" should also be controllable.

So for ex: the entire map, a 10% chance that a pixel will flip every generation.

Another ex: the outer 50% edge of the map is noise-free, but as you ...