No description
  • Zig 90.4%
  • Nix 9.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-02-22 21:42:18 -05:00
src fix: purge global state usage from lib 2026-02-22 21:42:18 -05:00
.gitignore feat: implement "abstract factory" pattern 2026-02-22 19:13:59 -05:00
AGENTS.txt refactor: rename topic/algo to algorithm/implementation 2026-02-22 21:02:42 -05:00
build.zig feat: implement "abstract factory" pattern 2026-02-22 19:13:59 -05:00
build.zig.zon fix: purge global state usage from lib 2026-02-22 21:42:18 -05:00
flake.lock feat: add Nix flake for reproducible development environment 2026-02-20 17:11:10 -05:00
flake.nix refactor: rename topic/algo to algorithm/implementation 2026-02-22 21:02:42 -05:00
LICENSE chore: add LICENSE 2026-02-21 20:55:47 -05:00
README.md refactor: rename topic/algo to algorithm/implementation 2026-02-22 21:02:42 -05:00

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