Skip to content

Latest commit

 

History

98 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cc4rs (creco)

cc4rs logo example

Creative Coding framework in Rust language (using Sokol framework)

Aiming to provide APIs like openFrameworks or Processing on top of Sokol framework (sokol-rust), with a little essence of Ebitengine.

Warning

  • Ported from odin-cc, partially using GitHub Copilot (AI), so please use with care.
  • Current state is at early stage (APIs may change). Please consider to use nannou as an alternative at first.

Comparison

When compared to bevy or nannou (which based on bevy), it's minimal, compact, short compilation time thanks to Sokol framework.

If you need to extend this, you can use Sokol API on it.

Examples

# for example:
cargo run --example logo_icon

# `cargo run --example` will show list of examples

Shader (demo)

./scripts/compile-shaders.sh
cargo run --example shader_demo

Usage in your project (as a crate)

In your Cargo.toml:

cc4rs = { version="*", git="https://github.com/cc4v/cc4rs.git" }

# if you need sokol API (such as Sokol GL) also:
# sokol = { version="*", git="https://github.com/floooh/sokol-rust.git"}

Warning

https://crates.io/crates/sokol (such as crate add sokol) is different implementation of Sokol framework which we are using.

Please use https://github.com/floooh/sokol-rust.git from git (not from crate.io.)

License

see LICENSE.md

About

Creative Coding framework in Rust language (using Sokol framework)

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages