LifeViewer/User Interface: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 623: Line 623:
</div>
</div>
[[Category:Software]]
[[Category:Software]]
[[Category:Everything else]]

Latest revision as of 09:15, 28 February 2026

LifeViewer has a set of mouse controls and keyboard commands.

Mouse Controls

In Pan mode click and drag with the mouse to pan the view. The mouse wheel can be used to zoom in or out of the pattern. The zoom will be centered on the mouse pointer.

In Draw mode click and drag with the mouse to draw cells.

In Select mode click and drag with the mouse to make a selection.

Top Row

Click on "Expand" to the right to see the menu functions.

Going from left to right the controls perform the following functions:

NameTypeFunction
AutoToggletoggles AutoFit mode
FitButtonfits the pattern to the window
DrawOptionswitches to Draw mode for drawing cells
SelectOptionswitches to Select mode for copy/paste
PanOptionswitches to Pan mode for viewing patterns
ZoomSliderchanges the camera zoom
STARTToggletoggles AUTOSTART mode (if defined)
STOPToggletoggles STOP mode (if defined)
WAYPTToggletoggles Waypoint mode (if defined)
LOOPToggletoggles LOOP mode (if defined)
IconToggletoggles icon display
GridToggletoggles grid line display
HelpToggletoggles Help display

Bottom Row

Click on "Expand" to the right to see the menu functions.

Going from left to right the controls perform the following functions:

NameTypeFunction
T 0Toggletoggles generation statistics display
UndoButtonundo the last edit
RedoButtonredo the last undone action
1xButtonsets playback speed to 1x
1xSlidersets playback speed
ReverseButtonreverse playback direction
ResetOptionreset to T=0 and if at T=0 also reset camera
Step BackOptionstep back step size generations
Step ForwardOptionstep forward step size generations
PlayOptionstart playback
SettingsToggletoggles the settings menu

Draw Mode

Click on "Expand" to the right to see the menu functions.

Going from left to right the controls perform the following functions:

NameTypeFunction
PickToggleclick on a cell to set drawing state
State DisplayToggletoggle state display
Draw PauseToggletoggle pause playback while drawing
Smart DrawToggletoggle smart drawing
0-6Sliderchange the displayed states
State ListOptionselect the current drawing state

Select Mode

Click on "Expand" to the right to see the menu functions.

Going from left to right the controls perform the following functions:

NameTypeFunction
AllButtonselect all cells
Auto ShrinkToggleauto shrink selection to pattern
ShrinkButtonshrink selection to pattern
ClipboardsToggletoggle clipboard libary to select active clipboard
CutButtoncut cells in selection to current clipboard
CopyButtoncopy cells in selection to current clipboard
PasteButtonpaste cells from current clipboard
Top LeftSliderset paste location
AND/CPY/OR/XOROptionset paste mode

Selection Menu

The Selection Menu appears when there is an active Selection in Select Mode.

Click on "Expand" to the right to see the menu functions.

Going from top to bottom and left to right the controls perform the following functions:

NameTypeFunction
CancelButtoncancel selection
LeftButtonnudge selection left 1 cell
RightButtonnudge selection right 1 cell
UpButtonnudge selection up 1 cell
DownButtonnudge selection down 1 cell
50%Sliderset random fill percentage
RandomButtonrandom fill selection using all states
Random 2Buttonrandom fill selection 2 states
InvertButtoninvert cells in selection
Clear History/SuperButtonclear [R]History/[R]Super cells
Flip XButtonflip selection horizontally
Flip YButtonflip selection vertically
Rotate CWButtonrotate selection clockwise
Rotate CCWButtonrotate selection counter-clockwise
Clear InsideButtonclear cells inside selection
Clear OutsideButtonclear cells outside selection

Settings Menu

The Settings Menu can be opened by clicking on the Settings button. Note the Settings button will not function if the Viewer window is less than 480 pixels high. The menu contains four sliders and a set of topic buttons. Topics can contain settings and actions.

Sliders

Click on "Expand" to the right to see the slider functions.

NameTypeFunction
AngleSliderset camera angle (square grid only)
TiltSliderset camera tilt (square grid only)
LayersSliderset number of cell layers
DepthSliderset depth between each cell layer

The Layers setting creates a pseudo-3D effect where cells are drawn in higher layers the longer they live, and appear to fall through lower layers the longer it has been since they died.

Pattern

Click on "Expand" to the right to see the Pattern options.

NameTypeFunction
Change RuleButtonprompts for a new Rule and then switches to it
New PatternButtoncreates a new blank Pattern with the current Rule
Load PatternButtonloads the last saved Pattern
Save PatternButtonsaves the current Pattern to the text box
Rand AllButtoncreates a new random Pattern with a random Rule (based on the current rule family)
Rand PatternButtoncreates a new random Pattern with the existing Rule
IdentifyButtonidentify whether the current Pattern is a still life, oscillator or spaceship
Last IdentifyButtonshow last Identify results
Save ImageButtonsave an image of the current pattern
Save GraphButtonsave an image of the Population Graph

Clipboard

Click on "Expand" to the right to see the Clipboard options.

NameTypeFunction
Open ClipboardButtonopens the clipboard as a pattern
Copy OriginalButtoncopy original pattern
Copy RuleButtoncopies the current Rule definition to the clikpboard
Copy NHoodButtoncopy CoordCA neighbourhood definition
Copy AllButtoncopy the current selection with comments
Paste To SelnButtonpaste clipboard to selection and tile if selection larger than clipboard
External SyncTogglesync with external clipboard

Display

Click on "Expand" to the right to see the Display options.

NameTypeFunction
Use RectanglesToggletoggle use of rectangular cells for Hexagonal and Triangular grids
Cell BordersToggletoggles drawing of cell borders
Major GridLinesToggletoggle drawing major GridLines
StarfieldToggletoggle drawing starfield in background
AnnotationsToggletoggle annotation display (if specified)
RainbowToggletoggle using Rainbow cell colours (for 2-state patterns)
Auto GridLinesToggletoggle automatically switching GridLines on for Draw and Select modes, and off for Pan mode
Alt GridLinesToggletoggle alternating GridLines (for Margolus patterns)
Integer ZoomButtonset Zoom to nearest integer
Render QualityToggletoggles anti-aliased cell display

Playback

Click on "Expand" to the right to see the Playback options.

NameTypeFunction
Go To GenButtonprompts for a generation and then moves to that generation
AutoFit HistoryToggletoggle using history states for AutoFit bounding box
ThrottleToggletoggle playback throttling
Perf. WarningToggletoggle performance warning display
Kill GlidersToggletoggle killing escaping gliders
AutoHide UIToggletoggle hiding UI during playback

General

Click on "Expand" to the right to see the General options.

NameTypeFunction
Fit SelectionButtonfit selection to display
Center PatternButtoncenter pattern on display
Clear DrawingButtonclear drawing state cells in pattern
Snap AngleButtonsnap camera angle to nearest 45 degrees
Save ViewButtonsave camera view
Restore ViewButtonrestore saved camera view

Advanced

Click on "Expand" to the right to see the Advanced options.

NameTypeFunction
Frame TimesToggletoggles display of the frames per second and CPU load %
Timing DetailsToggletoggles extended timing information display
Relative GenToggletoggles absolute or relative generation display (when #CXRLE Gen specified)
Reset AllButtonreset all Viewers
Stop AllButtonstop all Viewers
Stop OthersButtonstop other Viewers
Info BarToggletoggles the Info Bar display which shows camera location, angle, and bounding box velocity

Theme

Allows selection from a list of available colour Themes.

Graph

Toggles the Population Graph.

Population Graph

LifeViewer can show a real time auto-scaling population graph. It is toggled on or off with Settings→Graph. At each generation it shows total population, births and deaths. Note that the graph will only capture data for the first 219 (524288) generations.

o3b3o$3o2bo$bo! [[ ZOOM 4 GRAPH LOOP 1000 HEIGHT 400 AUTOSTART ]]

Graph controls:

NameTypeFunction
OpacitySliderset the graph opacity %
PopToggletoggle drawing population
BthToggletoggle drawing births
DthToggletoggle drawing deaths
LinesToggletoggle between drawing lines or points
XButtonclose the graph

Keyboard commands

A visual map of keyboard shortcuts is shown below:

Below is a list of keyboard commands by category:

Playback controls

Click on "Expand" to the right to view Playback controls.

KeyDescription
Entertoggle play / pause
Spacepause / next generation
Bpause / previous generation
Backspacepause / previous generation
Backslashpause / next step
Shift Backslashpause / previous step
Escpause if playing
Rreset to generation 0
Shift Ngo to generation
-decrease playback speed
+increase playback speed
Shift -minimum playback speed
Shift +maximum playback speed speed
0reset playback speed
Ctrl Ptoggle pause playback while drawing
Shift F7toggle fast lookup
Alt Ttoggle throttling
Wtoggle waypoint playback and loop
Shift Ptoggle just loop
Alt Otoggle autostart
Alt Ptoggle stop

Multi-Viewer controls

Click on "Expand" to the right to view Multi-viewer controls.

KeyDescription
Shift Rreset all LifeViewers to generation 0
Zstop playback in all other LifeViewers
Shift Zstop playback in all LifeViewers

Camera controls

Click on "Expand" to the right to view Camera controls.

KeyDescription
Vrestore saved camera position
Shift Vsave current camera position
Ffit pattern to display
Shift Ftoggle autofit
Shift Htoggle autofit history mode
Ctrl Ffit selection to display
Ctrl Mcenter pattern on display
[zoom out
]zoom in
Shift [halve zoom
Shift ]double zoom
11x zoom
22x zoom
44x zoom
88x zoom
616x zoom
332x zoom
Shift 364x zoom
Shift 1integer zoom
Shift 2-2x zoom
Shift 4-4x zoom
Shift 8-8x zoom
Shift 6-16x zoom
Leftpan left
Rightpan right
Uppan up
Downpan down
Shift Leftpan north west
Shift Rightpan south east
Shift Uppan north east
Shift Downpan south west
<rotate left
>rotate right
Shift <rotate left 90 degrees
Shift >rotate right 90 degrees
Alt <rotate left 45 degrees
Alt >rotate right 45 degrees
5reset angle
Alt /snap angle to nearest 45 degrees
'tilt down
/tilt up
@reset tilt

View controls

Click on "Expand" to the right to view View controls.

KeyDescription
Qincrease number of layers
Adecrease number of layers
Pincrease layer depth
Ldecrease layer depth
Cnext colour theme
Shift Cprevious colour theme
Alt Cdefault theme

Display controls

Click on "Expand" to the right to view Display controls.

KeyDescription
Gtoggle generation statistics
Shift Gtoggle generation display mode
Ytoggle population graph
Shift Ytoggle graph lines
7decrease graph opacity
9increase graph opacity
Shift F3toggle population plot
Shift F4toggle births plot
Shift F5toggle deaths plot
Shift Wtoggle performance warning
?toggle cell type for hexagonal and triangular grids
Ttoggle timing information
Shift Ttoggle extended timing information
Itoggle pattern and engine information
Shift Itoggle information bar
Ctrl Qtoggle cell anti-aliasing
Alt Btoggle cell borders
Alt Itoggle icons
Xtoggle gridlines
Shift Xtoggle major gridlines
Ctrl Gtoggle auto gridlines
Alt Gconvert pattern to [Rule]Super
Alt Hconvert pattern to [Rule]History
Alt Jconvert pattern to [Rule] (from either [Rule]History or [Rule]Super)
Ctrl Ltoggle kill escaping gliders
Stoggle stars
Osave screenshot
Shift Osave population graph screenshot
;save black and white screenshot
Shift Utoggle UI
Alt Utoggle autohide UI during playback
Alt Wcycle cell shader
Ddownload cell map
Ecycle identify results display
Etoggle cell period table
F8toggle cell state display
Shift F8toggle y coordinate direction
F9toggle popup window maximize

Pattern controls

Click on "Expand" to the right to view Pattern controls.

KeyDescription
Alt Nnew pattern
Alt Rchange rule
Ctrl Oopen original or last saved pattern
Ctrl+Shift Oopen clipboard as pattern
Ctrl Ssave pattern
Alt Zrandomize pattern and rule
Ctrl+Alt Zrandomize pattern only
F6toggle oscillator and spaceship identification
Shift+F6display last identification result
Shift+F9toggle safe mode

External clipboard controls

Click on "Expand" to the right to view External clipboard controls.

KeyDescription
Alt Stoggle sync cut and copy with external clipboard
Ctrl+Shift Ccopy original pattern
Ctrl Ccopy current selection
Ctrl+Alt Ccopy current selection with comments
F7copy selection headerless including blanks
Ctrl F7copy selection headerless including blanks (1 line)
Ctrl+Shift Xcut original pattern
Ctrl Xcut current selection
Ctrl+Alt Xcut current selection with comments
Ctrl Jcopy rule definition
Kcopy camera position
Shift Kcopy camera position and view

Edit controls

Click on "Expand" to the right to view Edit controls.

KeyDescription
F1toggle draw/pan mode
F2draw mode
Shift F2toggle smart drawing
F3pick mode
F4select mode
F5pan mode
Ctrl Aselect all
Shift Ashrink selection
Alt Atoggle auto-shrink selection
Ctrl Ccopy
Ctrl Dtoggle states display
Ctrl Iinvert selection
Ctrl Kremove selection
Ctrl Vpaste
Ctrl+Shift Vpaste to selection
Ctrl Xcut
Ctrl Yredo edit
Ctrl Zundo edit
Ctrl+Shift Zredo edit
Ctrl Spaceadvance selection
Shift Spaceadvance outside
Shift Lcycle paste location
Shift Mcycle paste mode
Shift 5random fill
Alt Kpick cell state to replace with drawing state
Ctrl+Alt Kclear current drawing state cells
Delclear cells in selection
Shift Delclear outside selection
>rotate selection clockwise
<rotate selection counter-clockwise
Alt Xflip selection horizontally
Alt Yflip selection vertically
Alt Leftnudge selection 1 cell left
Alt Rightnudge selection 1 cell right
Alt Upnudge selection 1 cell up
Alt Downnudge selection 1 cell down
Eschide paste
Enterperform paste
Ctrl 0select state 0 for drawing
Ctrl 1select state 1 for drawing
Shift Btoggles clipboard library
Alt 0make clipboard 0 active
Alt 1make clipboard 1 active
Alt 2make clipboard 2 active
Alt 3make clipboard 3 active
Alt 4make clipboard 4 active
Alt 5make clipboard 5 active
Alt 6make clipboard 6 active
Alt 7make clipboard 7 active
Alt 8make clipboard 8 active
Alt 9make clipboard 9 active

Help controls

Click on "Expand" to the right to view Help controls.

KeyDescription
Upscroll up one line
Downscroll down one line
Page Upscroll up one page
Page Downscroll down one page
Shift Page Upscroll up one section
Shift Page Downscroll down one section
Homego to first help page
Endgo to last help page

Controls without keyboard shortcuts

Click on "Expand" to the right to view functions that do not currently have keyboard shortcuts.

Command Button location
Random Fill Density Select; a selection is present
individual Themes Settings --> Theme
Draw/2-state Fill with states 10-255 Draw

Keyboard shortcuts without controls

Click on "Expand" to the right to view functions with keyboard shortcuts but no UI controls.

Command Shortcut
[R]Super Alt + G
[R]History Alt + H
[R]Standard Alt + J