Quick Start Guide

Welcome to the Quick Start Guide! The aim is to help you get a grip on FrOG.

Before you start...

Informations

This software was developed in about 2 weeks, the purpose is to implements cellular automata ; it implements various rules (Conway, Day & Night, HighLife, Fredkin, Immigration, QuadLife) and different types of grids (Square, Hexagon, Triangles (not available in GUI mode)). It uses text file to save/load data, and allows to export as .png file.

Launch the application

Use .jar

If you want to run the .jar, use following command:

java -jar FrOG.jar


Compile from sources

If you want to compile the sources : (in the root 'Makefile' directory)

make

Then run the main class :

java FrOG

Grid manipulations

New grid

File > New (Ctrl + N)

new grid

Options :

Clear/Clean

Use Grid>Clear/Clean to clear the grid (and reset the generation counter)

Draw

Use the mouse (click or drag) to draw on the grid ; it draws (i+1) state (if ordinal(currentState) = i).

Save/Load/Export

Text file
core.grid.DefaultGrid
10 10
Conway
. . . O . . O . . . 
. . . O . O O . . O 
O O O O . . . O O . 
. O . . . O O O . . 
O . O . . O . O . . 
. O O O O . . . . O 
O . O . . . . O . . 
. O O O O O O O . O 
. O . . O O . O O . 
O . . O . O . O O . 

Grid are saved in text files, with grid type, size, and rules informations.

PNG

To export as .png file : File > Export (Ctrl+E)

Running

Run (Ctrl + R)

Delay (Ctrl + R)

delay

Pause (Ctrl + R)

Examples

Download