Demos
GX programs compiled to WebAssembly and running in the browser. The same source compiles to a native desktop program.
Snake
SokolSnake. Swipe or use the arrow keys.
Boids
RaylibFlocking simulation with steering behaviors.
Ball Physics
RaylibBouncing balls with collision detection.
Bullet Hell
RaylibDodge waves of bullets in a small shoot-em-up.
Image Generation
RaylibProcedural image generation with pixel manipulation.
Logo Animation
RaylibAnimated GX logo with particle effects.
Hello Raylib
RaylibHello world with raylib.
Shapes
SokolAnimated 3D shapes with Sokol.
Triangle
SokolThe "hello world" of graphics.
Compiled with gx example.gx --target web
(C backend, Emscripten, WASM and WebGL2).