mielnicz / randompolygon Goto Github PK
View Code? Open in Web Editor NEWThis project forked from aewallin/randompolygon
Random polygon generator using CGAL "2-opt" algorithm. With python bindings.
This project forked from aewallin/randompolygon
Random polygon generator using CGAL "2-opt" algorithm. With python bindings.
Anders Wallin (anders.e.e.wallin "at" gmail.com) December 2011 This is a minimal boost::python module which wraps CGAL code from: http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Generator_ref/Function_random_polygon_2.html that uses the "2-opt" heuristic for generating a random polygon with N vertices. Out-of-source build: make bld cd bld cmake . make sudo make install Install from PPA: $ sudo add-apt-repository ppa:anders-e-e-wallin/cam $ sudo apt-get update $ sudo apt-get install randompolygon Ubuntu 13.10 notes. There is a bug in CGAL - it looks for boost libraries in the wrong directory. See: https://bugs.launchpad.net/ubuntu/+source/cgal/+bug/1242111 This can be solved with two symbolic links sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_thread.so /usr/lib/libboost_thread.so and a similar link for libboost_system.so todo: - generate many polygons with N vertices (using the same random set of points) with one call - random vertices are now hard-coded to be inside a unit-circle. allow unit-box and scaling of the radius/size-of-box.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.