https://github.com/volrath/clj-evo-images
Evolutionary composition of images using a Genetic Algorithm in Clojure
https://github.com/volrath/clj-evo-images
clojure genetic-algorithm image-processing simulated-annealing
Last synced: 24 days ago
JSON representation
Evolutionary composition of images using a Genetic Algorithm in Clojure
- Host: GitHub
- URL: https://github.com/volrath/clj-evo-images
- Owner: volrath
- License: epl-1.0
- Created: 2017-05-12T16:08:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-02T13:56:17.000Z (about 6 years ago)
- Last Synced: 2025-02-07T15:35:46.982Z (3 months ago)
- Topics: clojure, genetic-algorithm, image-processing, simulated-annealing
- Language: JavaScript
- Homepage: https://volrath.github.io/clj-evo-images/
- Size: 12.7 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Evolutionary composition of images using a Genetic Algorithm
Based
on:
[Genetic Programming: Evolution of Monalisa - Roger Johansson](https://rogerjohansson.blog/2008/12/07/genetic-programming-evolution-of-mona-lisa/),
and [this javascript implementation](http://alteredqualia.com/visualization/evolve/)A Genetic Algorithm that uses a simulated annealing-like heuristic to "evolve" a
representation of a given image using a finite set of polygons, while
leveraging [clojure.spec](https://clojure.org/guides/spec) to generate random
data.- [Slides for talk at clojure.berlin - May 10th, 2017](https://volrath.github.io/clj-evo-images/)
## Usage
Run it with boot:
$ boot wait run
Or standalone - build an uberjar from the project:
$ boot build
$ java -jar target/evo-images-0.1.0-SNAPSHOT-standalone.jar [args]