Convex Hull

Download Model
Download the .scn, .sel and .lse files by clicking on the following link:

Model Code Exploration
In the following sections we will examine all of the model files for this model. Note that instead of downloading the zip file above, you could just copy the text in the boxes below into a text editor and save it with the appropriate name (Section title). Opening the resulting .scn file in the SELES simulator would run this model.

BaseScenario.scn
SELES Scenario $gisData$ = ..\gisData\cell Ecoregion = $gisData$\ecoregion initialAge = $gisData$\StandAgeEst Spp = $gisData$\DomSpecies Model Dimensions: Ecoregion Model.sel SimPriority Low Priority // Set low priority for simulation engine // Set up display Minimize Static Minimize Initial State Tile // Move to output folder cwd output //SimStart 300 1

ModelResize.sel
Seles Model Landscape Events: Mask.lse Variable-Input View Maps: baseLayer alignedoldLayer Global Constants: minX = MIN(alignedoldLayer)

Mask.lse
LSEVENT: Mask DEFINITIONS LAYER: baseLayer, alignedoldLayer GLOBAL CONSTANT: minX ENDDEF RETURNTIME RETURNTIME = 0 //  alignedoldLayer = IF baseLayer > 0 THEN  alignedoldLayer ELSE minX ENDRT

Suggested Experiments
To explore this cellular automata model further, try the following: