staff project download information miscellaneous
Trend Download   One Dimensional Cellular Automata
  Download

Trend Tutorials
Trend Basics
Game of Life
One Dimensional CA
Mouse Maze
1-D Bubble Sort
Animation


More Trend Examples

 
MangoVect DownloadPicky DownloadLucy2 DownloadGRAMAUBViz DownloadgeneDBN Download

1. Loading an existing rule

The second example project to examine is the One Dimensional Cellular Automata. This project is also available with the download of TREND. Once the project has been downloaded, select the File option from the .CA screen and select Get template... Navigate to the local directory in which the project has been saved. Next, find and select the project named model.tmpl. TREND will open the .rule and .ca screens as well. This is the case only as long as they all exist in the same directory. Click and drag the screens to the empty portions of the desktop so all three screens are visible as they are below (click on the figure to see a larger one).



In this example, the coding window has been enlarged a bit in order for the whole rule to be shown. It is recommended to include comments within the code. As was stated in the first example for The Game of Life, comments can be initiated with a double slash (//) as well as slash asterick (/*)...(*/) for block comments extending more than one line.


Last modified June 13, 2008 . All rights reserved.

Contact Webmaster

lab