Visualizing 2D convex hull using Gtk and OpenGL in Haskell
This note shows how to use OpenGL with Gtk in Haskell. The result is a little visualization to check our implementation of the classic iterative convex hull algorithm.
This post is a valid literate Haskell file so save it to something like ConvexHull.lhs and compile with ghc --make ConvexHull. What you see above […]
Filed under: Haskell, Mathematics by Kenn
1 Comment »