From: Ian Jackson Date: Sat, 4 Nov 2017 21:07:37 +0000 (+0000) Subject: bugfixes X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=9ece46528bd090e276dafcab5f293685354fba20;p=moebius3.git bugfixes Signed-off-by: Ian Jackson --- diff --git a/check.py b/check.py index b0374dc..3d74a7d 100644 --- a/check.py +++ b/check.py @@ -12,12 +12,12 @@ n_u = 10 m = Moebius(10) -ts = arange(0, 1, 0.1) +ts = np.linspace(0, 1, 20) -thetas = arange(0, tau, 20) +thetas = np.linspace(0, tau, 20) -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 ] ) +c0 = curve( color=color.blue, pos = [ m.edge.point(th) for th in thetas ] ) +c1 = curve( color=color.red, 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 ] )