The latest version of circle-packing is 0.1.0.6-4.
circle-packing
Version 0.1.0.6 revision 3 uploaded by JoachimBreitner.
Package meta
- Synopsis
- Simple heuristic for packing discs of varying radii in a circle
- Description
Given a number of circles with their radii, this packags tries to arrange them tightly, without overlap and forming a large circle.
Finding the optimal solution is NP hard, so only heuristics are feasible. This particular implementation is neither very good nor very fast, compared to the state of the art in research. Nevertheless it is simple to use and gives visually acceptable results.
You can explore the algorithm live at http://darcs.nomeata.de/circle-packing/ghcjs/ghcjs-demo.html.
Contributions of better algorithms are welcome.
- Author
- Joachim Breitner <mail@joachim-breitner.de>
- Bug reports
- n/a
- Category
- Optimisation
- Copyright
- 2012, Joachim Breitner
- Homepage
- n/a
- Maintainer
- Joachim Breitner <mail@joachim-breitner.de>
- Package URL
- n/a
- Stability
- n/a