CPSC 335-05 PROJECT 1 - CELLA ANT #12 Joshua Ungheanu, Raul Garcia TEAM: JRP INTRO: For this project, we had to use the cella ant #12 algorithm and create a display using Javascript on an HTML webpage. Cella ant #12 function is determined by the number 1100 inbinary--where 1 means turn left, and 0 means turn right. For visuals, each bit is assigned a color: 0 = black, 1 = red, 2 = yellow, 3 = blue. The algorithm is displayed using these colors. The Cella Ant #12 will move 1000 moves before ending, thus letting use see how the algorithm works. CONTENTS: CellAnt.html README.txt assets { js_ants.js style.css } EXTERNAL REQUIREMENTS: None SETUP AND INSTALLATION: Atom - for editing HTML, CSS & JS files. FEATURES: - The colors of the grid box changes depending on what move the Cella Ant makes. - It also moves depending on the color of the previous square. - You can customize the position of the Cella Ant and the amount of moves it can make. - You can customize the speed of each move by 1/10 second to 1/1000 of a second. BUGS: None
joshungh/cella-ant-12
A program that displays the generational progress of Turk & Propp's Ant #12, a cellular automaton (Cella).
JavaScript