Back to README
Mia is bundled together with multiple App Modules. One of these is the example app "ex".
The examples are all single self-contained source files and act as tutorials.
Check out the compiled live web demo while surfing through the files!
Please follow the examples one by one to get to learn the basic concepts of mia :)
- 00_hello_world
- Draws a simple rotating mia icon
- 01_pointers
- Draws a batch of colored quads, that can be grabbed
- 02_animations
- Draws an animated candle and a text
- 03_iui
- Immediate user interface for setting variables in runtime
- 04_widgets
- Introduction to Mia's gui library
- 05_windows
- More about the gui library
- 06_sound
- Load, mix and save sounds
- 07_xtras
- stuff from module "x" like a file picker
- 08_fetching
- HTTP request and json reading
- 09_upndownload
- Upload and download files from the user
To create your own stuff, use the src/main.c entry point
Single file and well documented mini app. tea.c
Here's the tea timer web app
And here's the tea timer android app
Plays one if a few thunder sound effects on a button press.
I once dressed for helloween as a thunder. My wife as a lightning using some led's. And my costume had a bluetooth speaker together with this app for thunder effects :D
For production, you can disable the examples app (and all other App Modules) in the CMakeLists.txt file
Back to README