Skip to content

Use the SPI LCD display to show the game of life with a Meadow F7 dev board

License

Notifications You must be signed in to change notification settings

MarkAlanJones/Meadow-GameofLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meadow-GameofLife

Conway's Game of Life is a cellular automaton devised by the late mathematician John Conway.

Use the SPI LCD display to show the game of life with a Meadow F7 dev board.

use standard wiring for Meadow F7 and LCD Meadow Frizing

Implementation notes:

  • the display is 240x240 but I use a larger 8x8 pixel so the life board is 30x30
  • the colour is changed each generation, and the onboard LED is set to "match"
  • by saving display.show until the end of the loop you can get almost 9 frames a second with JIT compiling RC-2
  • 1.9 improves the speed significantly. 38ms to compute and draw a frame, workes out to 26 fps

About

Use the SPI LCD display to show the game of life with a Meadow F7 dev board

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages