Library Moduleheckj.casimengine 0.1.0CASimEngine

CASimEngine

An engine to run cellular automata simulations over a collection of voxels.

import CASimEngine

Module information

Declarations
30
Symbols
31

Coverage

96.7 percent of the declarations in CASimEngine are fully documented3.3 percent of the declarations in CASimEngine are indirectly documented

Declarations

20.0 percent of the declarations in CASimEngine are initializers, type members, or enum cases46.7 percent of the declarations in CASimEngine are instance members3.3 percent of the declarations in CASimEngine are protocols13.3 percent of the declarations in CASimEngine are protocol requirements13.3 percent of the declarations in CASimEngine are structures3.3 percent of the declarations in CASimEngine are classes

Interfaces

100.0 percent of the declarations in CASimEngine are unrestricted
Module stats and coverage details

Overview

The library provides the structure drive a cellular automata simulation in 3-dimensions using voxels. The library provides a structure for rules, which you add to a simulation to run. The engine provides a computed property, voxels, to access the results as you increment the simulation. Call tick(deltaTime:) to increment the simulation.

Creating a Simulation Engine

Writing Simulation Rules

Receiving Diagnostics from Rules