Skip to content

forsythe/langton-turmite-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summary

I remade my processing version of langton's turmite in C++ with SDL. This version only lets you spawn one ant at a time in the center of the screen. However, it is much faster than the processing version. Video animation here

How it works

The program will ask you for a movement pattern when you first run it. See explanation given in the processing version above.

Controls

SPACEBAR: Toggle pause

Gallery

Movement pattern: LLRRRLRRRRR
demo

Movement pattern: LRRL
demo

Movement pattern: RRRLRLLLLLLRRRRL
demo

Movement pattern: RLLLLLLLRRRRRLRLLRL
demo

Movement pattern: RRRLRLLLLLLRRRRL
demo

Customizable options under defs.h

WIDTH: Window width
HEIGHT: Window height
CELLSIZE: Pixel size of each grid
STEPSPERFRAME: How many steps to evaluate before animating a frame

About

a remake of my processing version of turmite with c++ & sdl (a whole lot faster)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors