From a3176c67d874fd84a1d808926e6c0930552b512a Mon Sep 17 00:00:00 2001 From: Michael Fogleman Date: Tue, 13 Mar 2018 12:43:04 -0400 Subject: [PATCH] angles --- examples/angles.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/angles.py b/examples/angles.py index 101d99c..a8bef99 100644 --- a/examples/angles.py +++ b/examples/angles.py @@ -5,7 +5,7 @@ import math import random import sys -BOUNDS = axi.V3_BOUNDS +BOUNDS = axi.A3_BOUNDS RADIUS = 4 STEP = 5 @@ -20,6 +20,7 @@ def main(): paths.append([(-r * c, -r * s), (r * c, r * s)]) d = axi.Drawing(paths) d = d.center(w, h) + d = d.sort_paths() d.dump('out.axi') d.render(bounds=BOUNDS).write_to_png('out.png')