Search found 674 matches

by bprentice
May 13th, 2020, 11:16 am
Forum: Other Cellular Automata
Topic: Miscellaneous Discoveries in Other Cellular Automata
Replies: 1754
Views: 341120

Re: Miscellaneous Discoveries in Other Cellular Automata

A simple ship:

Code: Select all

x = 2, y = 2, rule = 2a3c4cjnqrz5aejq6k/2a3nr4cjnqrz5acjq/3
BA$BA!
Try to make some guns with this rule.

Brian Prentice
by bprentice
May 11th, 2020, 12:19 pm
Forum: Other Cellular Automata
Topic: Bipolar rule family, with code for Golly, LifeViewer, SquareCell and CAViewer
Replies: 8
Views: 425

Re: Bipolar rule family, with code for Golly, LifeViewer, SquareCell and CAViewer

bubblegum, Please read this: https://www.conwaylife.com/forums/viewtopic.php?f=11&t=3479&p=62281#p62281 Here are some recent examples that use Square Cell's 'Rule Table' : New Rules.zip Rules 002, 132, 136, 140 and 141 also contain Golly patterns. Rule 002 is an omniperiodic variant of 'Wire World'....
by bprentice
May 10th, 2020, 10:37 pm
Forum: Other Cellular Automata
Topic: Bipolar rule family, with code for Golly, LifeViewer, SquareCell and CAViewer
Replies: 8
Views: 425

Re: Bipolar rules ... a new(?) rule family, with natural spaceships, with code for SquareCell and CAViewer

Martin, Your 3 state square cell rule specified in this dialog: rd.png generates patterns with interesting behavior. If a pattern is modified by changing all state 2 cells to state 3 and all state 3 cells to state 2, the resulting pattern will behave the same as the original pattern. For example thi...
by bprentice
May 9th, 2020, 5:42 pm
Forum: The Sandbox
Topic: An Study, or an exercise, o a new way of art ?
Replies: 40
Views: 1477

Re: An Study, or an exercise, o a new way of art ?

Some of these posts portray exhibits that are both interesting and beautiful.

A related thread:

viewtopic.php?f=12&t=2853&p=44192&#p43283

Brian Prentice
by bprentice
May 9th, 2020, 9:08 am
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

bprentice wrote:
May 8th, 2020, 8:24 am
I will probably just write a python script to convert Animals.js to Square Cell pattern files
This has been done. All the patterns in Animals.js have been converted, tested and work correctly. They are included in this update:

Primordia.zip
(298.67 KiB) Downloaded 12 times

at ../Patterns

Brian Prentice
by bprentice
May 8th, 2020, 11:19 am
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

martin.novy wrote:
May 8th, 2020, 8:34 am
would you mind, if I upload it to Github
Yes. First it is not a finished product and second I don't like Github.

Brian Prentice
by bprentice
May 8th, 2020, 8:24 am
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

martin.novy wrote:
May 8th, 2020, 7:50 am
do you plan to put it to github ?
No. I will probably just write a python script to convert Animals.js to Square Cell pattern files and be done with it unless you can improve my new rule code.

Brian Prentice
by bprentice
May 7th, 2020, 8:14 pm
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

Martin, Here is an implementation of Primordia: Primordia.zip Other than run Life it doesn't seem to do much. The step code is in Primordia.java lines 114 thru 135 and the new rule code is also in Primordia.java lines 25 thru 44. Please check the first code section and improve the second. Brian Pren...
by bprentice
May 6th, 2020, 11:33 am
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

(BTW, is the SquareCell rule_table rule family well documented or discussed in the wiki or in forums ?) No, but there have been several hints posted. An example: https://www.conwaylife.com/forums/viewtopic.php?f=11&t=3479&p=62281#p62281 I wrote Square Cell, Hexagonal Cell and Triangular Cell for my...
by bprentice
May 3rd, 2020, 10:46 pm
Forum: Other Cellular Automata
Topic: Miscellaneous Discoveries in Other Cellular Automata
Replies: 1754
Views: 341120

Re: Miscellaneous Discoveries in Other Cellular Automata

A gun: import java.util.*; public class RuleTreeGen { final static int numStates = 4; final static int numNeighbors = 8; final static int numCounts = 20; private int stateWeights[] = {0,2,-1,-1}; private int neighborWeights[][] = { {1,2,1}, {2,3,2}, {1,2,1} }; private int ruleTable[][] = { {0,0,0,0,...
by bprentice
April 26th, 2020, 11:22 am
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

The load rule design is clumsy! This is a direct result of pattern files not including a rule family name together with parameters defining the specific rule within the family. If this design were implemented, there would be no need for a load rule command since the load pattern command can select t...
by bprentice
April 26th, 2020, 10:14 am
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

How are rules GenerationsBokaBB_Rule_1 and GenerationsBokaBB_Rule_2 loaded?

The expected transFunc.py file has been replaced by a rule.ca_rule file in their directories.


Brian Prentice
by bprentice
April 24th, 2020, 3:33 pm
Forum: Bugs & Errors
Topic: Mcell "Error accessing the OLE regristry"
Replies: 4
Views: 416

Re: Mcell "Error accessing the OLE regristry"

LuxiusGOL, I have Windows XP and Windows 7 installed under Parallels on my IMac. MCell runs correctly on Windows XP but not on Windows 7. If you have the Java Runtime installed try Square Cell here: http://bprentice.webenet.net/Square%20Cell/Square%20Cell.zip It is essentially a rewrite of MCell in ...
by bprentice
April 22nd, 2020, 3:44 pm
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

To simplify and reduce the number of your transition functions consider a design that uses python classes to implement rule families. An object created from the base rule class reads and writes the pattern specification which is common to all rules. Objects created from inherited rule classes implem...
by bprentice
April 17th, 2020, 10:43 pm
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

Big improvement, well done! One button is for a Single State Random Soup and the other is for a Multi State Random Soup. You could add a widget to the 'random soup settings' dialog which displays the current rule's state colors and allows the user to select which ones should be included in the soup....
by bprentice
April 17th, 2020, 1:34 pm
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

Requiring the user to close the cmd window, execute RunMain.bat, reposition and resize the cmd and application windows in order to successfully change rules is a serious inconvenience. Your software should do all the required initializing. The 'load rule' command is not even necessary. The 'load pat...
by bprentice
April 17th, 2020, 6:40 am
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

Tried the new version. Loading rule ../Others/Rule_4 and then loading pattern Oscillator produced the same error dialog as shown above. Here is log.log: INFO:root:==========APPLICATION STARTING========== INFO:root:Changed Mode to Selecting INFO:root:Start selecting at (34, 41) INFO:root:Stopped sele...
by bprentice
April 16th, 2020, 11:49 pm
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

An important fact that I have not mentioned is that the behavior of a rule seems to depend on prior activity. All of the example problems that are documented above are intermittent. Sometimes the rules work correctly and sometimes they don't.

I will try your new version tomorrow.

Brian Prentice
by bprentice
April 16th, 2020, 11:16 pm
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

Copy of file transFunc.py from ../Others/Rule_1: rule_table_string = """ 0,0,0,0,0,3,1,0,0,0,3,0,0,2,0,0,0,2,0,0,0,0,0,0,0,3,1,0,1,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0 2,2,2,2,2,2,2,2,1,2,2,1,2,2,1,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2...
by bprentice
April 16th, 2020, 10:35 pm
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

Here is screen shot after loading rule ../Others/Rule_1 and then loading pattern Gun:

Error2.png
Error2.png (1.22 MiB) Viewed 778 times

Notice that the shape of the gun is correct but the state colors are incorrect.

Brian Prentice
by bprentice
April 16th, 2020, 10:09 pm
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

Here is a screen shot after loading rule ../Others/Rule_4 and then loading pattern Oscillator:

Error.png
Error.png (1.29 MiB) Viewed 786 times

If you had done what I suggested rather than change your error dialog we would have got more useful information.

Brian Prentice
by bprentice
April 16th, 2020, 1:14 pm
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

Your 'number of states is incorrect' error message is displayed by simply loading rule '../Others/Rule_4' and then loading a pattern from that rule. To determine what is happening do the following: After a request is made to load a rule, write the name of the requested rule together with its number ...
by bprentice
April 16th, 2020, 12:27 am
Forum: Other Cellular Automata
Topic: Gaussian-weighted rules
Replies: 29
Views: 1904

Re: Gaussian-weighted rules

A nice 8 barrel gun: #Rule = Rule Table #States = 10 #Counts = 82 #SW 0,2,-1,0,0,0,0,0,-1,2 #NW 1,2,2,2,1 #NW 2,5,6,5,2 #NW 2,6,9,6,2 #NW 2,5,6,5,2 #NW 1,2,2,2,1 #RT 0,5,0,0,0,0,0,2,0,0,0,0,0,2,0,7,1,4,0,0,0,0,0,4,0,0,0,0,1,0,0,0,0,9,0,0,0,0,0,6,0,0,0,0,0,6,7,7,0,0,0,0,3,0,0,6,0,1,1,0,0,0,0,0,0,0,0,...
by bprentice
April 15th, 2020, 2:06 pm
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

I tried your simulator again as you suggested and had some success. Yesterday I made the incorrect assumption that loading a pattern would first select the correct rule. This lead to many error messages. Today I first cleared the display, then loaded a rule and then loaded a pattern. I tried most of...
by bprentice
April 15th, 2020, 10:25 am
Forum: Scripts
Topic: CAViewer - A Cellular Automaton Simulator written in Python
Replies: 123
Views: 4150

Re: CAViewer - A Cellular Automaton Simulator written in Python

Since your software runs on Python 3.6 as stated here: https://www.conwaylife.com/forums/posting.php?f=9&mode=reply&t=4391&sid=ee4a9570e6579255f2d3f81f90369691#pr93310 and Python 3.6 runs on Windows 7, please provide a Python 3.6 version of Wpy64-3770. Then both Windows 7 and Windows 10 will be conv...