Very basic native Mojo bindings to SDL2. No Python is used at runtime. A Python script to generate different colormaps for the demo is included.
Requires SDL installed:
apt install libsdl2-devdnf install sdl2-develbrew install sdl2Copy SDL.mojo to your project or try the Mandelbrot demo ported from Mojo examples
Run
mojo mandelbrot.mojoand zoom in/out with the mouse wheel.