2D Drawing demonstration
← All examples12_draw2d
Demonstrates the context-based 2D drawing API: - Filled shapes: rectangles, circles, triangles, polygons - Outlined shapes: rectangle outlines, circle outlines - Lines and polylines - Gradients - Textured sprites (if texture available) - Camera controls: pan with mouse drag/WASD/arrows, zoom with scroll/Q/E

Runs the WebAssembly build on this page. Click the canvas to give it keyboard focus.
- Number
- 12
- Tags
- Source
examples/12_draw2d/main.c
Build and run
./scripts/build-linux.sh release --target=12_draw2d --run