Live Demos
GX programs compiled to WebAssembly, running in your browser. Same source compiles to native desktop apps.
Snake
SokolClassic Snake game. Swipe or use arrow keys.
Boids
RaylibFlocking simulation with steering behaviors.
Ball Physics
RaylibBouncing balls with collision detection.
Bullet Hell
RaylibDodge a wave of projectiles in this classic shmup demo.
Image Generation
RaylibProcedural image generation with pixel manipulation.
Logo Animation
RaylibAnimated GX logo with particle effects.
Hello Raylib
RaylibSimple Raylib hello world demo.
Shapes
SokolAnimated 3D shapes with Sokol.
Triangle
SokolThe "hello world" of graphics.
Compiled with gx example.gx --target web
— C backend → Emscripten → WASM + WebGL2.