- [84+CE] Calcular Automation: Cellular Automation Simulator
- 03 Oct 2015 05:40:01 pm
- Last edited by Hactar on 21 Dec 2015 08:00:06 pm; edited 12 times in total
Hello there!
I would like to introduce to you Calcular Automation, a multi-state cellular automation simulator written in assembly for the TI-84+ CE. It supports nearly any fully symmetrical 2-state, 3-state, or 4-state rule, including Conway's Game of Life (AKA Life), Wireworld, Brian's Brain, Star Wars, Day and Night, and many more. Here's the progress so far:
Completed:
☑ Simulation, editor, zoom in/out
☑ Multiple rules (temporary implementation)
Plans:
☐ Disable extra cell states for 2-state and 3-state rules
☑ Help screen
☐ Configurable grid (width, height, edges loop on/off)
☐ Configurable rules
☐ Configurable colors
☐ Saving grid in appvar
☐ Saving favorite rules
Tentative Plans:
☐ FPS counter?
☐ Different control scheme?
☐ Support for elementary (1D) cellular automata?
☐ More optimizations? (Please give suggestions!)
The current controls are as follows:
• Arrow keys - Move cursor
• 2nd/Comma - Toggle 1st cell state
• Left Parenthesis - Toggle 2nd cell state
• Right Parenthesis - Toggle 3rd cell state
• 0/1/2/3 - Set to cell state n
• Alpha - Simulate one generation
• Math - Quick simulation (press any key to stop)
• Del - Reset world
• Mode/Clear - Exit
• F1 - Use rule "Life"
• F2 - Open help
• F3 - Use rule "Wireworld"
• F4 - Use rule "Brian's Brain"
• F5 - Use rule "Star Wars"
The source code is a bit of a mess, but I'll throw it in there anyway if you want to mess with the settings. (To add you own rules, modify the Rule_Name and EndCell_Data in Conway.asm and the colors at the end of routines/gfx.asm. Have fun!)
> Download <
Changelog:
v2.01
* Optimized the code a bit
* Reorganized the file structure
* F2 now opens the help screen
v2.00
* ~90% of code rewritten
* Status bar displays cursor position, generation/population counts, zooming/scrolling
* Support for up to 4-state cellular automata
v1.00
* Initial release (supports Conway's Life on a fixed grid size)
I would like to introduce to you Calcular Automation, a multi-state cellular automation simulator written in assembly for the TI-84+ CE. It supports nearly any fully symmetrical 2-state, 3-state, or 4-state rule, including Conway's Game of Life (AKA Life), Wireworld, Brian's Brain, Star Wars, Day and Night, and many more. Here's the progress so far:
Completed:
☑ Simulation, editor, zoom in/out
☑ Multiple rules (temporary implementation)
Plans:
☐ Disable extra cell states for 2-state and 3-state rules
☑ Help screen
☐ Configurable grid (width, height, edges loop on/off)
☐ Configurable rules
☐ Configurable colors
☐ Saving grid in appvar
☐ Saving favorite rules
Tentative Plans:
☐ FPS counter?
☐ Different control scheme?
☐ Support for elementary (1D) cellular automata?
☐ More optimizations? (Please give suggestions!)
The current controls are as follows:
• Arrow keys - Move cursor
• 2nd/Comma - Toggle 1st cell state
• Left Parenthesis - Toggle 2nd cell state
• Right Parenthesis - Toggle 3rd cell state
• 0/1/2/3 - Set to cell state n
• Alpha - Simulate one generation
• Math - Quick simulation (press any key to stop)
• Del - Reset world
• Mode/Clear - Exit
• F1 - Use rule "Life"
• F2 - Open help
• F3 - Use rule "Wireworld"
• F4 - Use rule "Brian's Brain"
• F5 - Use rule "Star Wars"
The source code is a bit of a mess, but I'll throw it in there anyway if you want to mess with the settings. (To add you own rules, modify the Rule_Name and EndCell_Data in Conway.asm and the colors at the end of routines/gfx.asm. Have fun!)
> Download <
Changelog:
v2.01
* Optimized the code a bit
* Reorganized the file structure
* F2 now opens the help screen
v2.00
* ~90% of code rewritten
* Status bar displays cursor position, generation/population counts, zooming/scrolling
* Support for up to 4-state cellular automata
v1.00
* Initial release (supports Conway's Life on a fixed grid size)