Nix environment for working with shapes.
Install Nix with the Determinate Systems installer here:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | \
sh -s -- installSimple demonstration application showing the calculation of the point of intersection of two line segments.
nix run .#line-intersectionSimple polygon collision detection using Separating Axis Theorem
nix run .#polygon-creatorDevelopment environment is provided using Nix and UV.
To enter the development environment run:
nix developAnd to run the script:
uv run main.py
