generative
generative copied to clipboard
Generative art. A suite of composable tools to generate, transform and visualize WKT geometries
See #142 for a related `bundle` tool. I think this should actually do a K-means or similar clustering?
* Remove duplicate lines * Remove overlaps * Reduce end-to-end lines with no heading change * Join end-to-end segments to form a single LINESTRING How to handle error tolerance? This...
How can you bias the random perturbation to make interesting output? Requires #62 and #71 Are there perturbations that might work better on straight geometries instead of the graph?
Input: ``` LINESTRING(0 0,1 0,2 0) LINESTRING(0 0,1 0,1 1) ``` ![input](https://user-images.githubusercontent.com/8878460/218336847-7c12d23b-7c45-4804-adfe-4597d3a1cba2.svg) Packed: ``` LINESTRING(1 0,2 0,3 0) LINESTRING(-0.5 -0.5,0.5 -0.5,0.5 0.5) ``` ![packed-then-scaled](https://user-images.githubusercontent.com/8878460/218336907-4c2091ab-8a39-49fe-97b7-81384e9d24b2.svg) --- Input: ``` LINESTRING(0 0,1 0,2...
https://inconvergent.net/2017/spline-script/
Input: ``` LINESTRING(0 0, 0 1) LINESTRING(0 1, 0 2) ``` Output: ``` LINESTRING(0 0, 0 1, 0 2) ``` Use a heuristic to traverse graph, and emit traversals as...