Skip to content
/ lipir Public

2D cellular automaton where each cell has its own state transition rules defined by 9+9 randomly chosen cells.

License

Notifications You must be signed in to change notification settings

serhon/lipir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Life-Including-Positioned-Individual-Rules

2D cellular automaton where each cell has its own state transition rules defined by 9+9 randomly chosen cells.

Actipaper (draft): https://serhon.github.io/lipir/ See also less heterogeneous https://serhon.github.io/lir

Embedding

Versions of the script are accumulated in garette. While you could embed it like this:

<head>
	...
	<script type="text/javascript">LIPIR = {fieldSizeLog: 7, framerate: 20, showAgecolors: true}</script>
	...
</head>
<body>
	...
	<script src="https://github.com/serhon/lipir/garette/life_inc_pos_ind_rules-0.2.1.js"> type="text/javascript"></script>
	...
</body>

(see index.html for an example of setting all parameters that can be set with LIPIR object), it is unsafe to embed scripts from untrusted sources. Thus the better way is to copy .js to your server, read it thoroughly to be sure there are no nasty things, and only then embed it like this:

<script src="/scripts/life_inc_pos_ind_rules-0.2.1.js"> type="text/javascript"></script>

If you modify the script, please rename it or keep the link to origin.

About

2D cellular automaton where each cell has its own state transition rules defined by 9+9 randomly chosen cells.

Topics

Resources

License

Stars

Watchers

Forks