No description
- Zig 90.4%
- Nix 9.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| .gitignore | ||
| AGENTS.txt | ||
| build.zig | ||
| build.zig.zon | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
| title |
|---|
| Computational Geometry Algorithms |
Implementation of computational geometry algorithms with real-time visualization using SDL3.
Getting Started
This project uses Nix for reproducible builds and Zig as the implementation language.
Setting Up the Environment
Enter the development shell to get access to Zig and SDL3:
nix develop
This provides the correct Zig compiler version and SDL3 library automatically.
Building the Project
Once in the development environment, compile the project:
zig build
The compiled binary will be placed in zig-out/bin/.
Running
Navigate to the output directory:
cd zig-out/bin
Run the program with default settings:
./csgeom
To see available options and algorithms:
./csgeom --help