Add Python fractal-mosaic CLI and unpack MATLAB reference

Fork of s-ben/Fractal-Mosaics for Tower mosaik inbox: GPL license,
upstream .m sources under reference/, RST placement with CBIR +
log-polar hints, edge alpha, profiles wenig/mittel/dicht, no recolor.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
copilot 2026-09-24 17:03:12 +02:00
parent a598ae3656
commit 5bfeae238d
20 changed files with 3981 additions and 32 deletions

26
pyproject.toml Normal file
View file

@ -0,0 +1,26 @@
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "fractal-mosaic"
version = "0.1.0"
description = "RST collage / fractal photomosaic engine (fork of s-ben/Fractal-Mosaics) for Tower inbox"
readme = "README.md"
license = { text = "GPL-3.0-or-later" }
requires-python = ">=3.10"
authors = [{ name = "Tower / copilot" }]
dependencies = [
"numpy>=1.24",
"Pillow>=10.0",
"scipy>=1.10",
]
[project.optional-dependencies]
cli = []
[project.scripts]
fractal-mosaic = "fractal_mosaic.cli:main"
[tool.setuptools.packages.find]
where = ["src"]