From e2a2f947280832431c97aa47d356bd2bdc3d3eca Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 4 Nov 2017 21:47:18 +0000 Subject: [PATCH] better pic Signed-off-by: Ian Jackson --- check.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/check.py b/check.py index 7ee4a1e..6bcf1a1 100644 --- a/check.py +++ b/check.py @@ -8,16 +8,20 @@ import numpy as np from moebius import * -n_u = 20 +n_u = 40 m = Moebius(n_u) -ts = np.linspace(0, 1, 20) +ts = np.linspace(0, 1, 40) -thetas = np.linspace(0, tau, 20) +thetas = np.linspace(0, tau, 40) c0 = curve( color=color.red, pos = [ m.edge.point(th) for th in thetas ] ) c1 = curve( color=color.blue, pos = [ m.midline.point(th) for th in thetas ] ) for ix_u in range(0, n_u): c2 = curve( pos = [ m.point(ix_u, t) for t in ts ] ) + +for t in ts: + c3 = curve( color=color.yellow, pos = [ m.point(ix_u, t) + for ix_u in range(0, n_u+1) ] ) -- 2.30.2