Conway's Life on STM32, 640x480




Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Nov 20, 2012

I worked out how to generate high-resolution (up to 800x600) color video from an STM32 recently, but I got bored with static test patterns pretty quickly. Since my approach doesn't consume excessive CPU time, I figured an expensive simulation would be a better demo.

Here's Conway's Game of Life running at 640x480 at 30fps, on an STM32 at around 100MHz. It's truly at that resolution, and doesn't repeat or otherwise cheat -- it's doing 9.2 million cells per second, in addition to generating the 201 mbit/s video stream. The background is an 8-color static checkerboard. The only external components (other than the ancient Dell monitor) are a crystal and three resistors. You can see there's no tearing or jitter.

Sorry about the apparent blurriness -- my Android phone won't focus during a video or on anything close up.

I plan to release the code shortly, but in the grand tradition of the demoscene I encourage you to figure out how I did this. :-)


When autoplay is enabled, a suggested video will automatically play next.

Up next

to add this to Watch Later

Add to

Loading playlists...