GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dcts/langtonsAnt-processing: Langton's Ant (cellular automata) implemented in processing

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
langtonsAnt
langtonsAnt
 
 
README.md
README.md
 
 

Repository files navigation

langtonsAnt-processing

Langton's Ant implemented in processing. Coded at Processing Community Day (09.02.2019 @ HeK Basel). To start just run the scetch langtonsAnt.pde. You can change some parameters if you like:

  • nbrOfCols: determines the nbr of cells on the x-axis
  • nbrOfRows: determines the nbr of cells on the y-axis
  • pxPerCell: how big is each cell? (min value allowed is 2)
  • renderSpeed: set between 1 (slow) and 5000 (fast)

The size of the window is determined by these parameters (windowWidth = nbrOfCols*pxPerCell and windowHeight = nbrOfRows*pxPerCell). If the windowsize is higher than your screensize the algorithm will not start and a message is displayed to the console. Have fun!

Demo

// parameters used for demo
int nbrOfCols   = 210;
int nbrOfRows   = 150;
int pxPerCell   = 3;
int renderSpeed = 1500;

langtonsant

Red Rendering (coming soon)

This rendering option is currently in development (see branch "RedRendering") langtonsantred

About

Langton's Ant (cellular automata) implemented in processing

Topics

cellularautomatalangtonsantprocessing

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.