Skip to content

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

Limbomorphs

Code and figure pipelines for the Limbomorphs paper. GifBreeder is a web-based interactive evolutionary computation platform, inspired by Picbreeder, that evolves animated GIFs through user-guided selection over NEAT-evolved CPPNs. Each pixel is colored by a CPPN receiving coordinates (x, y), distance from center d, time t, and a bias — with three outputs interpreted as HSV. Drawing obstacles onto the canvas replaces the radial d with a geodesic distance field, so evolved organisms flow around walls.

fish limbomorph caterpillar limbomorph jellyfish limbomorph branching limbomorph

Running

Serve the repository root (the GIF export worker requires http, not file://):

python3 -m http.server 8000
Page Purpose
index.html GifBreeder — evolve populations by selection
activation-lab.html Activation Lab — inspect and mutate a single genome
drawing.html Drawing tool — draw obstacles, watch organisms react
center-viz.html Distance Center Visualizer — draw walls, see the computed center ridge and geodesic field

Genomes exported from any page (JSON) can be re-imported on the others.

Repository layout

├── *.html, *.js, styles.css     web app (no build step, no dependencies)
├── archive/                     genome archive (GifBreeder seeds + Activation Lab saves)
├── limbomorphs_archive/         evolved limbomorphs shown in the drawing tool gallery
├── examples/                    a few evolved limbomorphs
├── figures/                     final paper figures (pdf/eps + source png)
└── figure_generation/
    ├── complexifying/           Fig: morphological complexification (a–i)
    ├── perturbation/            Fig: motion under drawn perturbations
    ├── drawing_feature/         Fig: geodesic distance field mechanics
    └── to_pdf_eps.py            png → lossless pdf + eps (needs ghostscript)

Reproducing the figures

Each figure_generation/ subdirectory contains the scripts plus the exact GIFs and genomes used. Python dependencies: pillow, numpy, scipy, matplotlib, fonttools.

Complexifying (figures/complexifying_2.pdf) — selected frames from nine limbomorphs of increasing structural complexity:

cd figure_generation/complexifying && python3 make_complexifying_figure.py

Perturbation (figures/v5_v5_charter_v3.pdf) — silhouettes, swept regions, and motion paths extracted from the fish/caterpillar/jellyfish GIFs, before and after drawn obstacles:

cd figure_generation/perturbation
python3 extract.py            # gifs → data/*.npz
python3 render.py             # data → output/v5_font_options/*.png (macOS fonts)
python3 add_panel_letters.py  # add cell borders + panel letters a–i

Drawing feature (figures/drawing_feature_figure_v4.pdf) — the wall-clearance / center-ridge / geodesic-distance construction, rendered by a self-contained HTML page via headless Chrome:

figure_generation/drawing_feature/render.sh

Convert any output to publication formats:

python3 figure_generation/to_pdf_eps.py figure.png figures/

Citation

@article{limbomorphs2026,
  title  = {TODO},
  author = {TODO},
  year   = {2026},
}

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages