Documentation

A Brief Introduction To Cafun

This is a brief introduction to Cafun intended to help people understand Cafun's motivation and function. It outlines the basic properties of complex systems and why their tendency towards self-organization makes them worth studying. It introduces cellular automata as an ideal tool for simulating complex systems and sets Cafun in relation to their concept. Thereby, it tries to be accessible for both people with prior knowledge as well as absolute beginners.

Cafun Simulation File Format Specification

This document describes the formal requirements any valid Cafun Simulation file has to comply with. It introduces Cafun Simulations as an application of the Extensible Markup Language, or XML for short, and explains the roles and constraints of the individual elements and attributes. It is intended to support the understanding of existing simulations or to serve as a reference for writing custom simulations. Basic knowledge of cellular automata and the Extensible Markup Language is assumed.

Cafun Simulation Document Type Definition

This Document Type Definition describes basic structural constraints of Cafun Simulations. It is intended for validating custom simulations or to enable XML editor programs to assist with the creation of simulations. However, since the expressive power of Document Type Definitions is limited, it does not cover all constraints that apply to Cafun Simulations. Please consult the Cafun Simulation File Format Specification for an exhaustive overview.

Cafun Simulation Color Table

Creating Cafun Simulations involves defining cell types. In Cafun Simulations cell types are identified by means of colors, so each cell type in a Cafun Simulation is required to have a unique color. Color values are specified as RGB color codes which consist of three integers representing the proportion of the red, green or blue component, respectively. This table is intended to ease the choice of color codes by showing a selection of distinct colors and their respective RGB color codes. Hopefully it'll help you create both interesting and visually appealing simulations.

Copyright © 2007 by André Homeyer