GitHub - cbiffle/m4vga-rs: VGA-style video output for STM32F4 processors, in Rust
This crate provides 800x600 60fps graphics on the STM32F407 microcontroller. The observant reader will note that the STM32F407 has no video hardware, or enough RAM to hold an 800x600 color image. So how does m4vga get high-res color video out of it? Magic. This is a rewrite of my C++ library m4vgalib, plus ports of my collection of m4vgalib demos. It is still a work in progress. (If you're curious, see my notes on the port.) (As of quite recently, several of the demos also compile for another platform without video hardware: WebAssembly.) Mostly because it's really hard. I've got four CPU cycles per pixel to work with, and any variation in timing will corrupt the display. The demo main files live in m4demos/src/bin, though the core implementations of several of the demos have migrated into the fx directory. conway: full-screen Conway's Game of Life at 60fps -- that's 28.8 million cell updates per second, for a budget of 5 cycles per update (not counting video generation). hires_text: 8
m4vga-rs This crate provides 800x600 60fps graphics on the STM32F407 microcontroller. The observant reader will note that the STM32F407 has no video hardware, or enough RAM to hold an 800x600 color image. So how does m4vga get high-res color video out of it? Magic. This is a rewrite of my C++ library m4vgalib , plus ports of my collection of m4vgalib demos . It is still a work in progress. (If you're curious, see my notes on the port .) (As of quite recently, several of the demos also compile for another platform without video hardware: WebAssembly.) Why this is interesting Mostly because it's
related reading
- Shadersshaders.com
- Paper Shaders – Ultra-fast zero-dependency shadersshaders.paper.design
- Departure Monodeparturemono.com
- Tristan's Site - Tristan Humethume.ca
- Remotion | Make videos programmaticallyremotion.dev
- Home | Genmogenmo.ai
- justinzwu.comjustinzwu.com
- Online Image & Video Effect Generator – Free | Effect.appeffect.app
- Speeding Up the Webcola Graph Viz Library with Rust + WebAssembly - Casey Primozic's Homepagecprimozic.net
- Claude Fable 5 Creates Minecraft Clones & 3D Worlds from Prompts | explainx.ai Blog | explainx.aiexplainx.ai
- VeoLuz: A generative art tool visualizing the paths of photons, built using rust+reasonmljaredforsyth.com
- Video-to-Pixel-Artcollidingscopes.github.io