diff options
| author | George Steel <george.steel@gmail.com> | 2022-12-26 20:13:48 -0500 |
|---|---|---|
| committer | George Steel <george.steel@gmail.com> | 2022-12-26 20:13:48 -0500 |
| commit | e28ea888a9604052d6d7b94c8e29e34b74242994 (patch) | |
| tree | d9c20a8b56aca08791cde310e47a0a562c5ad97b /lib/stitches/ripple_stitch.py | |
| parent | b63f19b2d0747769c60c8a2a52489ee30fa02a07 (diff) | |
use random oracle for randomized satin columns and redo split stitches
Diffstat (limited to 'lib/stitches/ripple_stitch.py')
| -rw-r--r-- | lib/stitches/ripple_stitch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stitches/ripple_stitch.py b/lib/stitches/ripple_stitch.py index 6b7ce6ca..a66eff74 100644 --- a/lib/stitches/ripple_stitch.py +++ b/lib/stitches/ripple_stitch.py @@ -74,12 +74,12 @@ def _get_satin_ripple_helper_lines(stroke): length = stroke.grid_size or stroke.running_stitch_length # use satin column points for satin like build ripple stitches - rail_points = SatinColumn(stroke.node).plot_points_on_rails(length) + rail_pairs = SatinColumn(stroke.node).plot_points_on_rails(length) steps = _get_steps(stroke.get_line_count(), exponent=stroke.exponent, flip=stroke.flip_exponent) helper_lines = [] - for point0, point1 in zip(*rail_points): + for point0, point1 in rail_pairs: helper_lines.append([]) helper_line = LineString((point0, point1)) for step in steps: |
