GithubHelp home page GithubHelp logo

enveloppe-convexe's Introduction

Convex Hulls

Laborde Quentin - Kies Rémy


img

Download and run

To download the repo, you can either download the .zip file for this project, or use git commands as bellow :

git clone https://github.com/GouruRK/enveloppe-convexe.git

To compile it, go in the enveloppe-convexe folder and run the make command.

cd enveloppe-convexe
make

Once compiled, run by typing ./convexhull.

IMPORTANT : This project require libMLV to run. You can installing by using universe, or by using this link

sudo apt update
sudo add-apt-repository universe
sudo apt install libmlv3-dev

Cleaning

To clean the project, use the mrproper command :

make mrproper

Menu

Once the progamm is running, you have access to the following menu.

img

It allows you to easily decide what render.

  • The first line let you choose if you want to randomly generate a shape (default), or using your mouse to create points.

  • The second line let you decide if you want to create self-contained convex hull (Inception) or not.

  • The third and fourth lines are for the window size.

  • The last lines are generation settings, which are only applied if you choose the shape generation.

User commands

  • Use left-click to add points in the 'click generation'.
  • Press H to toggle the drawing of points, only in the 'shape generation'.

enveloppe-convexe's People

Contributors

goururk avatar quentinl03 avatar

Stargazers

 avatar

Watchers

 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.