r/generative • u/AYesRU • 15d ago
Resource String Art Studio Pro v9.5 (Open-Source Python): Radon Sinogram FBP + 3,200+ l/s CSR OMP + CUDA Island Genetic Algorithm
Sharing my open-source generative string-art system (MIT, Python). No diffusion/AI models — purely tomography mathematics, sparse linear optimization, and evolutionary search:
- Radon Transform + Ram-Lak Hamming FBP: Maps chord geometry (rho, theta) to filtered projections to guide global line density.
- SciPy CSR OMP: Vectorized sparse matrix-vector scoring with white-zone protection (~3,200+ chords/sec on CPU).
- Multi-threaded Island GA + Vectorized Delta Descent: Refines paths via Smart Hinge, Radon Bridge, 2-Opt, and Jitter mutations with optional PyTorch CUDA batch evaluation.
- Additive Beer-Lambert Optical Renderer: Calibrated consistently from live preview to 2400px PNG, plus 4-layer subtractive CMYK and export to 1:1 drill SVG, CNC G-Code, and an offline HTML5 weaving assistant.
Repo (MIT): https://github.com/AYesRU/String-Art-Generator
0
Upvotes