ramrunner / chicken-triangulate

a scheme delaunay triangulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chicken! Triangulate!

A very very basic Delaunay triangulator in pure scheme Follows the algoritm of paul burke

Usage

(draw-points (gen-rand-points 10 500))

You can also read vertex data from an obj file as (read-obj-file "path/to/file")

To just triangulate and get a list of the triangles use (triangulate vertex-vector)

Requirements

srfi-133 (for vector ops)
srfi-1   (for filter)
sdl2     (for graphics)

Triangles!

some triangles

About

a scheme delaunay triangulator


Languages

Language:Scheme 100.0%