Skip to content

sstitle/shapes

Repository files navigation

shapes

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 -- install

Line Intersection Visualizer

Simple demonstration application showing the calculation of the point of intersection of two line segments.

Screenshot

nix run .#line-intersection

Polygon Creator

Simple polygon collision detection using Separating Axis Theorem

Screenshot

nix run .#polygon-creator

Development environment

Development environment is provided using Nix and UV.

To enter the development environment run:

nix develop

And to run the script:

uv run main.py

About

Scripts for expressing geometric ideas with Nix and Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published