Giter Club home page Giter Club logo

quickhull-algorithm's Introduction

Examining the Quickhull Algorithm

Assignment for the Algorithms VT15P4 (21AL1B) course.

Implementation of the quickhull algorithm + Akl-Toussaint heuristic for realtime visualization (using OpenGL) and comparison of efficiency. Enjoy!

This was actually an assignment, hence the documentation and source code comments are in Swedish. If you're interested in a translation, drop me a message!

Settings

KEYS
----------------
Key    Effect

  a    Toggles Akl-Toussaint heuristic.
  b    Toggles black hole (gravity towards center).
  d    Toggles damping.
  f    Toggles sloped floor.
  g    Toggles gravity.
  h    Toggles hull rendering.
  l    Toggles hull lock (locks hull to its current point set).
  p    Toggles point rendering.
  q    Toggles between bruteforce and quickhull.
  r    Toggles rubber band mode (hull becomes a rubber band).
  w    Toggles wind.
  x    Randomizes point velocities.
  z    Randomizes point positions.
----------------

Building

Linux

sudo apt -qqy install git lib-common-mesa libgl1-mesa-dev
git clone https://github.com/philiparvidsson/quickhull-algorithm.git
cd quickhull-algorithm/alg-quickhull
make

Windows

Open the solution in Microsoft Visual Studio and use it to build and run the program.

Quickhull is Linear: Proof

What follows is my proof for the assignment (using the master theorem) of quickhull having linear complexity for uniformly randomly distributed points:

quickhull-algorithm's People

Contributors

philiparvidsson avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.