Difference between revisions of "LifeViewer"

From LifeWiki
Jump to navigation Jump to search
m
m
(21 intermediate revisions by 4 users not shown)
Line 6: Line 6:
|platform        = HTML5 / Javascript
|platform        = HTML5 / Javascript
}}
}}
'''LifeViewer''' is used to simulate [[Life]] and other [[Life-like cellular automata]], including [[non-totalistic Life-like cellular automata]]. It also supports hexagonal neighbourhoods.
'''LifeViewer''' is a scriptable pattern viewer and editor used to simulate [[Life]] and other [[Life-like cellular automata]], including [[non-totalistic Life-like cellular automata]], [[1D totalistic]] cellular automata, [[Larger than Life|Larger than Life (LtL)]] rules, [[Higher-range outer-totalistic]] (HROT) rules, [[Generations]] rules, [[Alternating rule|Alternating]] rules, [[MAP]] rules and [[LifeHistory|[R]History]] rules. It also supports 2-state [[Margolus]] rules and [[Partitioned cellular automata]] (PCA) rules. Depending on the rule family it supports [[Moore neighbourhood|Moore]], [[hexagonal]], [[von Neumann neighbourhood|von Neumann]], [[triangular neighbourhood|triangular]] and [[Circular]] neighbourhoods and also [[Bounded grids|bounded grids]].


<center>{{LV:Viewer|x = 59, y = 7, rule = B3/S23
<center>{{LV:Viewer|x = 59, y = 7, rule = B3/S23
Line 14: Line 14:
o5bobobobo5bo3bo$5ob5obo5b5o3bo3b5ob5o2bobo2b5obo3bo!
o5bobobobo5bo3bo$5ob5obo5b5o3bo3b5ob5o2bobo2b5obo3bo!
#C [[ COLOUR DEAD 0 0 0 COLOUR ALIVE 0 0 0 ]]
#C [[ COLOUR DEAD 0 0 0 COLOUR ALIVE 0 0 0 ]]
#C [[ LOOP 1101 STARS NOSTEPBACK ]]
#C [[ AUTOSTART X -90 Y 60 LAYERS 6 ZOOM 4 DEPTH 3 ]]
#C [[ AUTOSTART X -90 Y 60 LAYERS 6 ZOOM 4 DEPTH 3 ]]
#C [[ PAUSE 3 X 90 Y -60 ANGLE 20 THEME 0 ]]
#C [[ PAUSE 3 X 90 Y -60 ANGLE 20 THEME 0 ]]
Line 25: Line 26:
#C [[ T 950 X -242 Y 214 ANGLE 20 ]]
#C [[ T 950 X -242 Y 214 ANGLE 20 ]]
#C [[ T 1050 DEPTH 0 ANGLE 0 AUTOFIT "#T" ]]
#C [[ T 1050 DEPTH 0 ANGLE 0 AUTOFIT "#T" ]]
#C [[ T 1100 X 0 Y 0 ZOOM 0.25 THEME CUSTOM ]]
#C [[ T 1100 X 0 Y 0 ZOOM 0.25 THEME CUSTOM ]]}}</center>
#C [[ LOOP 1101 STARS ]]
#C [[ NOSTEPBACK ]]}}</center>


LifeViewer features:
* Smooth non-integer zoom and rotation.
* Colour themes with cell history and longevity.
* Square, hexagonal and triangular grid displays.
* Pseudo 3D layers and stars.
* Multiple ways to automatically track patterns with the camera as they evolve.
* Script language that allows many features to be customized including Waypoint animations.
* Support for multiple embedded LifeViewers and/or a single popup LifeViewer.
* Ability to step back to earlier generations for all patterns and reverse playback for reversible Margolus and PCA patterns.
* Random pattern and rule generation.
* Pattern annotation with Labels, Arrows, Lines and Polygons.
* Programatically pasting cells onto the grid at defined intervals (for example: glider injection).
* Automatic scaling for high DPI displays including smartphones and tablets.
* Editor with unlimitied undo/redo and multiple clipboards.
The keyboard shortcuts are shown below:
[[File:hotkeys.png|1024px]]
==External links==
==External links==
* [http://lazyslug.no-ip.biz/lifeview/plugin/version.txt Release notes]
* [https://lazyslug.com/lifeview/plugin/version.txt Release notes]
* [http://lazyslug.no-ip.biz/lifeview/ LifeViewer homepage]
* [https://lazyslug.com/lifeview/ LifeViewer homepage]
* [http://lazyslug.no-ip.biz/lifeview/plugin/ LifeViewer files]
* [https://lazyslug.com/lifeview/plugin/ LifeViewer files]
{{LinkLexicon|lex_l.htm#lifeviewer}}
 
===Forum threads===
{{LinkForumThread|f=7|t=1026|title=LifeViewer - Life simulator in HTML5}}
{{LinkForumThread|f=7|t=1026|title=LifeViewer - Life simulator in HTML5}}
{{LinkForumThread|f=3|t=1622|title=Pattern viewer for forum threads}}
{{LinkForumThread|f=3|t=1622|title=Pattern viewer for forum threads}}

Revision as of 06:40, 10 October 2019

LifeViewer
Homepage Click here
Purpose Life simulation
Created by Chris Rowett
Platform HTML5 / Javascript

LifeViewer is a scriptable pattern viewer and editor used to simulate Life and other Life-like cellular automata, including non-totalistic Life-like cellular automata, 1D totalistic cellular automata, Larger than Life (LtL) rules, Higher-range outer-totalistic (HROT) rules, Generations rules, Alternating rules, MAP rules and [R]History rules. It also supports 2-state Margolus rules and Partitioned cellular automata (PCA) rules. Depending on the rule family it supports Moore, hexagonal, von Neumann, triangular and Circular neighbourhoods and also bounded grids.

x=59, y = 7, rule = B3/S23 o5b5ob5ob5obo3bob5ob5obobobob5ob4o$o7bo3bo5bo5bo3bo3bo3bo5bobobobo5bo 3bo$o7bo3bo5bo5bo3bo3bo3bo5bobobobo5bo3bo$o7bo3b3o3b3o3bo3bo3bo3b3o3bo bobob3o3b4o$o7bo3bo5bo5bo3bo3bo3bo5bobobobo5bo3bo$o7bo3bo5bo6bobo4bo3b o5bobobobo5bo3bo$5ob5obo5b5o3bo3b5ob5o2bobo2b5obo3bo! #C [[ COLOUR DEAD 0 0 0 COLOUR ALIVE 0 0 0 ]] #C [[ LOOP 1101 STARS NOSTEPBACK ]] #C [[ AUTOSTART X -90 Y 60 LAYERS 6 ZOOM 4 DEPTH 3 ]] #C [[ PAUSE 3 X 90 Y -60 ANGLE 20 THEME 0 ]] #C [[ PAUSE 1.5 X 90 Y 60 ANGLE 340 ZOOM 6 ]] #C [[ PAUSE 1.5 X 0 Y 0 ANGLE 0 THEME 3 ZOOM 4 ]] #C [[ PAUSE 1 X 0 DEPTH 0.2 ZOOM 6 THEME 4 ]] #C [[ T 1 THEME 7 ]] #C [[ T 400 ZOOM 5 X 5 Y -10 THEME 2 ]] #C [[ T 450 DEPTH 5 ]] #C [[ T 560 X -155 Y 127 DEPTH 0.5 ]] #C [[ T 950 X -242 Y 214 ANGLE 20 ]] #C [[ T 1050 DEPTH 0 ANGLE 0 AUTOFIT "#T" ]] #C [[ T 1100 X 0 Y 0 ZOOM 0.25 THEME CUSTOM ]]

LifeViewer features:

  • Smooth non-integer zoom and rotation.
  • Colour themes with cell history and longevity.
  • Square, hexagonal and triangular grid displays.
  • Pseudo 3D layers and stars.
  • Multiple ways to automatically track patterns with the camera as they evolve.
  • Script language that allows many features to be customized including Waypoint animations.
  • Support for multiple embedded LifeViewers and/or a single popup LifeViewer.
  • Ability to step back to earlier generations for all patterns and reverse playback for reversible Margolus and PCA patterns.
  • Random pattern and rule generation.
  • Pattern annotation with Labels, Arrows, Lines and Polygons.
  • Programatically pasting cells onto the grid at defined intervals (for example: glider injection).
  • Automatic scaling for high DPI displays including smartphones and tablets.
  • Editor with unlimitied undo/redo and multiple clipboards.

The keyboard shortcuts are shown below:

Hotkeys.png

External links

Forum threads