Live Demos

GX programs compiled to WebAssembly, running in your browser. Same source compiles to native desktop apps.

Snake

Sokol

Classic Snake game. Swipe or use arrow keys.

Boids

Raylib

Flocking simulation with steering behaviors.

Ball Physics

Raylib

Bouncing balls with collision detection.

Bullet Hell

Raylib

Dodge a wave of projectiles in this classic shmup demo.

Image Generation

Raylib

Procedural image generation with pixel manipulation.

Logo Animation

Raylib

Animated GX logo with particle effects.

Hello Raylib

Raylib

Simple Raylib hello world demo.

Shapes

Sokol

Animated 3D shapes with Sokol.

Triangle

Sokol

The "hello world" of graphics.

Compiled with gx example.gx --target web — C backend → Emscripten → WASM + WebGL2.