Cellular Automata program on Khan Academy

For general discussion about Conway's Game of Life.
Post Reply
User avatar
praosylen
Posts: 2443
Joined: September 13th, 2014, 5:36 pm
Location: Pembina University, Home of the Gliders
Contact:

Cellular Automata program on Khan Academy

Post by praosylen » April 7th, 2015, 8:35 pm

I have made a cellular automaton program on Khan Academy. It uses JavaScript, and can run all life-like cellular automata, as well as all non-generations members of MCell's Weighted Life family (but you have to change the code to get the weighted rules). Here is the URL: https://www.khanacademy.org/computer-pr ... 4667187200
former username: A for Awesome
praosylen#5847 (Discord)

The only decision I made was made
of flowers, to jump universes to one of springtime in
a land of former winter, where no invisible walls stood,
or could stand for more than a few hours at most...

wwei23

Re: Cellular Automata program on Khan Academy

Post by wwei23 » July 13th, 2017, 2:50 pm

I use vectors. That way, the pattern can grow unbounded and any neighborhood can be specified, but the code has to be changed to specify a rule (especially non-totalistic(especially non-isotropic)), and the time needed is approximately proportional to the cube of the population. Despite this, it seems to be the first one of its kind:

Code: Select all

https://www.khanacademy.org/computer-programming/game-of-life-in-infinite-grid/5515821780369408

Post Reply