https://github.com/nazgolze/image-approximator
use genetic algorithm / hill climbing to approximate an image with circles
https://github.com/nazgolze/image-approximator
allegro c circles genetic-algorithm hill-climbing opengl
Last synced: 7 months ago
JSON representation
use genetic algorithm / hill climbing to approximate an image with circles
- Host: GitHub
- URL: https://github.com/nazgolze/image-approximator
- Owner: Nazgolze
- License: mit
- Created: 2015-06-01T04:35:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-12-30T22:37:13.000Z (almost 9 years ago)
- Last Synced: 2025-01-17T14:17:48.701Z (9 months ago)
- Topics: allegro, c, circles, genetic-algorithm, hill-climbing, opengl
- Language: C
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Introduction
============Approximate images with circles
* Hill climbing
* Generic AlgorithmRequirements
------------### Allegro
* https://wiki.allegro.cc/index.php?title=Install_Allegro5_From_Git/Linux/Debian### OpenGL
* Most of OpenGL is installed when installing Allegro
* Also GL/glcorearb.h is needed
1. Download https://www.opengl.org/registry/api/GL/glcorearb.h
2. Put it in /usr/include/GL/
* sudo apt-get install mesa-utils### BSD
* The libbsd is used for its random function.
* sudo apt-get install libbsd