☄️
SpaceTode
  • Introduction
  • Element
  • Properties
  • Data
  • Arguments
  • Rules
  • Diagrams
  • Inputs
  • Outputs
  • Transformations
  • Symmetries
  • Symbols
  • Event Arguments
  • Maybe
  • Point of View
  • Actions
  • Mimic
  • Sub-Elements
  • Blocks
  • Scoping
  • JavaScript
  • Behave
  • Tabs and Spaces
Powered by GitBook
On this page
  • What does it look like?
  • Try it out

Was this helpful?

Introduction

NextElement

Last updated 4 years ago

Was this helpful?

SpaceTode is a spatial programming language. I use it to make new elements in the . It is heavily inspired by .

Its source code is here:

What does it look like?

You draw spatial rules for atoms to follow, like this one:

element Sand {
    @ => _
    _    @
}

In this example... The @ represents the sand atom. The _ represents an empty space. So... the rule makes the sand atom fall down into any empty space.

Try it out

The easiest way to try writing SpaceTode is by , and then writing your code in the CustomElements.js file.

downloading the SandPond engine
SandPond engine
SPLAT
github.com/l2wilson94/SpaceTode