Menu

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

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

Reddit r/esp32·u/carlk22·about 1 month ago
#trDq0HHJ
#esp32#rust#device#envoy#conway#article
Reading 0:00
15s threshold

Conway’s Game of Life on an ESP32-S3 LED panel, written in Rust, with a WASM version 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/](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\`](https://crates.io/crates/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. The goal is application-level code that compiles to bare metal.…

Continue reading — create a free account

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

Read More