Menu

Conway’s Game of Life on an ESP32-S3 LED panel, written in Rust, with a WASM version
📰

Conway’s Game of Life on an ESP32-S3 LED panel, written in Rust, with a WASM version

#esp32#rust#device#envoy#conway
Reading 0:00
15s threshold

I made a Conway’s Game of Life demo running on an ESP32-S3 with a 16×16 NeoPixel-style LED panel and an IR remote. The remote controls speed, stepping, colors, pattern selection, and backward-in-time search. It runs bare metal; no OS.

There is also a browser/WASM version that shares the same core Rust code with the embedded version: https://carlkcarlk.github.io/device-envoy/conway/

The backward-in-time button searches for a previous board state. That is much harder than running Conway forward, so sometimes it is slow.

The demo is built with `device-envoy-esp` , a new experimental Rust crate that builds on Embassy and the Rust ESP HALs. It treats devices such as LED panels, Wi-Fi, IR remotes, audio, and servos as normal Rust structs with simple methods.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.