Introduction

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

Its source code is here: github.com/l2wilson94/SpaceTode

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 downloading the SandPond engine, and then writing your code in the CustomElements.js file.

Last updated