| Crates.io | xtal |
| lib.rs | xtal |
| version | 0.15.0 |
| created_at | 2025-04-18 23:54:41.540271+00 |
| updated_at | 2025-05-02 08:41:21.953324+00 |
| description | A creative coding framework build on top of Nannou |
| homepage | https://github.com/Lokua/xtal |
| repository | |
| max_upload_size | |
| id | 1640141 |
| size | 1,117,104 |
A framework build around Nannou with a feature-packed control UI for creating stuff like this:

You can see more screenshots here on github by looking at the auto generated markdown index or checkout audio-visual compositions on Instagram.
Xtal is a hybrid Rust application and library build on top of the Nannou creative coding framework. It is essentially one big Nannou app packed with tons of features to aid in live performance with a strong emphasis on interaction and musically-aware synchronization.
If you are already familiar with Rust and Nannou you should have no problem getting Xtal up and running quickly. If you are not familiar with Rust or Nannou but have experience with creative coding then I highly recommend you get comfortable building Nannou sketches first, starting with their guide.


Note: Xtal is pre-v1 and transitioning from an application to a reusable library. Currently developed on macOS and requires running in "dev mode." Cross-platform compatibility expected but not fully tested.
Requirements:
cd ./xtal-ui
bun install # or npm install (first time only)
bun start # or npm start
cargo run --release # optionally add <sketch> to specify which loads
For full documentation, run cargo doc --package xtal --open in the project
root. There is also a dumping ground of documentation and tips in the
docs folder. If you need help or come across any issues please don't
hesitate to file an issue. Happy coding!