Skip to content
modkitv0.2

First modkit example - basic window and frame loop

← All examples01_hello

Demonstrates: - Sokol-style callback API with explicit int main() - Implicit pass (mk_clear handles view setup automatically) - Debug text overlay This is the simplest modkit example - a window with a clear color and some debug text. No complex graphics, just the basics.

First modkit example - basic window and frame loop

Runs the WebAssembly build on this page. Click the canvas to give it keyboard focus.

Number
1
Source
examples/01_hello/main.c

Build and run

./scripts/build-linux.sh release --target=01_hello --run