All Projects → hemantasapkota → Go Convexhull

hemantasapkota / Go Convexhull

Licence: mit
Implementation of Graham Scan algorithm for Convex Hull in GO with visualization

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Go Convexhull

Xit
Mac OS X Git GUI
Stars: ✭ 700 (+5733.33%)
Mutual labels:  osx
Stronghold
Easily configure macOS security settings from the terminal.
Stars: ✭ 813 (+6675%)
Mutual labels:  osx
Emacs Anywhere
Configurable automation + hooks called with application information
Stars: ✭ 917 (+7541.67%)
Mutual labels:  osx
Conferences.digital
👨‍💻Watch the latest and greatest conference videos on your Mac
Stars: ✭ 751 (+6158.33%)
Mutual labels:  osx
Osx Cpu Temp
Outputs current CPU temperature for OSX
Stars: ✭ 802 (+6583.33%)
Mutual labels:  osx
Traypingapp
📡 OSX tray application showing DNS and ping latency
Stars: ✭ 5 (-58.33%)
Mutual labels:  osx
Inbucket
Disposable webmail server (similar to Mailinator) with built in SMTP, POP3, RESTful servers; no DB required.
Stars: ✭ 685 (+5608.33%)
Mutual labels:  osx
Cr
cr.h: A Simple C Hot Reload Header-only Library
Stars: ✭ 845 (+6941.67%)
Mutual labels:  osx
Liko 12
LIKO-12 is an open source fantasy computer made using LÖVE.
Stars: ✭ 811 (+6658.33%)
Mutual labels:  osx
Nepali Romanized Pro
Nepali Romanized Keyboard Layout with installer for macOS
Stars: ✭ 18 (+50%)
Mutual labels:  osx
Mos
一个用于在 macOS 上平滑你的鼠标滚动效果或单独设置滚动方向的小工具, 让你的滚轮爽如触控板 | A lightweight tool used to smooth scrolling and set scroll direction independently for your mouse on macOS
Stars: ✭ 7,772 (+64666.67%)
Mutual labels:  osx
Nswindowstyles
A showcase of the many different styles of windows possible with NSWindow on macOS
Stars: ✭ 801 (+6575%)
Mutual labels:  osx
Starscream
Websockets in swift for iOS and OSX
Stars: ✭ 7,105 (+59108.33%)
Mutual labels:  osx
Macapps
个人收集的一些mac使用的不易找到的app,不断更新中。
Stars: ✭ 726 (+5950%)
Mutual labels:  osx
Spectre macos
Tools to run MacOS on HP Spectre x360 (Late-2016 / Early-2017, Kaby Lake)
Stars: ✭ 22 (+83.33%)
Mutual labels:  osx
Soundcast
Cast audio from macOS to Chromecast
Stars: ✭ 684 (+5600%)
Mutual labels:  osx
Utox
µTox the lightest and fluffiest Tox client
Stars: ✭ 820 (+6733.33%)
Mutual labels:  osx
Osx Mac Menubar App
Menubar application for Mac
Stars: ✭ 11 (-8.33%)
Mutual labels:  osx
Sxkdvm
SXKDVM - OSX Docker KVM / Run an OSX KVM virtual machine inside a Docker container.
Stars: ✭ 840 (+6900%)
Mutual labels:  osx
Webhere
HTML scraping for Objective-C.
Stars: ✭ 16 (+33.33%)
Mutual labels:  osx

go-convexhull

Implementation of Graham Scan in GO with visualization

SS

How to Use

  • Use mouse to add points on the screen. The hull is computed everytime a point is added.
  • Press 'H' to draw the hull.
  • Press 'C' to clear the points.

Building (OSX)

Ensure that GO is installed. I'm assuming you're using brew in OSX.

Install GLEW

brew install glew

pkg-config glew --cflags --libs
//Keep a note of the include and libs for GLEW

Compile & Install Go GL

cd ~/go/src/github.com
git clone https://github.com/go-gl/gl.git
cd go-gl/gl

CGO_CFLAGS="-I/usr/local/Cellar/glew/1.11.0/include/" CGO_LDFLAGS="-L/usr/local/Cellar/glew/1.11.0/lib" go install

Build and Run go-convexhull

cd go-convexhull
go get
go get ./convexhull
go run main.go
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].