Zix is a spline visualizer written in zig that use Raylib for rendering and Nix for dev-env.
I will try to implement these functions:
- ✅ Bézier
- ✅ Catmull-Rom
- ✅ B-Spline
- ✅ Linear
- 🌸 Nix
Important
You will need to enable nix-command
and flakes
experimental features
If you get an error about it, consider this command:
mkdir -p ~/.config/nix && echo "experimental-features = nix-command flakes" | tee ~/.config/nix/nix.conf
Clone this repository and navigate to the project directory.
git clone https://github.com/Miou-zora/Zix.git
cd Zix
zig build
# It will build the project and run it. (do nothing if the project is already built)
zig build run
# or you can run the executable directly
./zig-out/bin/Zix
Note
nix build
is not supported yet. If you try to use it, it will create a result
symlink that contain the executable BUT musl isn't linked correctly to binary. It would be appreciated if someone could help me to fix this issue.
You may load the devShell automatically using direnv shell integration.
echo "use flake" | tee .envrc
direnv allow