(code of above: examples/logo_icon)
Warning
Currently at early stage. API design may be changed in the future.
(see docs/coverage.md)
Creative Coding framework in Odin language. Forked from cc4v.
Aiming to provide APIs like openFrameworks or Processing on top of Sokol framework (sokol-odin), with a little essence of Ebitengine. (Please check docs/api_design.md)
Tested with Odin dev-2025-12-nightly
- Run as fast as C/C++/Rust without GC, and coding style is so much fun just like scripting language. (Thanks to Odin language)
- Works on Win/Mac/Linux, on D3D11/Metal/GL/WebGL2/WebGPU. (Thanks to Sokol framework)
- APIs are similar to openFrameworks or Processing.
- You can use GL-compatible draw call using Sokol GL. (OpenGL 1.x style immediate-mode rendering API on top of sokol_gfx.h)
"cc" stands for "Creative Coding".
I know "cc" is usually used for "C language Compoiler" (such as gcc).
So if you need full-name of this library, you can use "creco" or "odin-cc" instead.
odin-cc assumes import "shared:sokol" works. So you need:
- First,
git clonehttps://github.com/floooh/sokol-odin - and build it by reading README
- then, copy
sokolfolder in it into$ODIN_ROOT/shared/sokol($ODIN_ROOTcan be found fromodin rootcommand.)
Note
And more, you may need additional instructions for stb library use.
Instructions are shown if you have error, by Odin language compiler itself while using as normal.
$ export ODIN_ROOT="$(odin root)"
$ git clone https://github.com/cc4v/odin-cc $ODIN_ROOT/shared/cc
# NOTE: `$ODIN_ROOT` directory can be found by `odin root`.
# You don't need first line if you copy it manually for example on Windows.see odin-cc-examples and docs/coverage.md.
$ git clone https://github.com/cc4v/odin-cc-examples
$ cd odin-cc-examples
$ odin run hello_worldPlease check docs/api_design.md, docs/coverage.md, and LICENSE.md.
Fork and create your version as you like. Feel free to create PR. If you have any questions or ideas, please use discussions instead of issues. Issues are only for task tracking.
