From: Ian Jackson Date: Sat, 7 Apr 2018 09:46:17 +0000 (+0100) Subject: Revert "visual: debugging with one in darker blue" X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=d54d1b8c74449487f97c4bba7a6a0b6de94cf89c;p=moebius3.git Revert "visual: debugging with one in darker blue" This reverts commit 756c4104abae08a963de109dd9a2ea4659698f40. --- diff --git a/findcurve.c b/findcurve.c index 3c886f6..f6df6e6 100644 --- a/findcurve.c +++ b/findcurve.c @@ -122,7 +122,7 @@ int main(void) { gsl_siman_solve(rng, startpoint, cb_Efunc, cb_step, cb_metric, - cb_print, + 0, // cb_print, 0,0,0, sizeof(startpoint), siman_params); printcore(startpoint); diff --git a/visual b/visual index 64d4b6c..f0b9b49 100755 --- a/visual +++ b/visual @@ -17,7 +17,7 @@ scene.fov = 1E-3 from moebius import * from moedebug import * -nv = 20 +nv = 40 nw = 40 class Visdebug(BaseVisdebug): @@ -53,10 +53,8 @@ ws = range(0, nw+1) #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 vi in range(0, len(vs)): - v= vs[vi] - c2 = curve( color= (color.blue if vi == int(2*nv/3) else (0,0,0.5)), - pos = [ m.point(v,w) for w in ws ] ) +for v in vs: + c2 = curve( color=color.blue, pos = [ m.point(v,w) for w in ws ] ) #for w in ws: # c3 = curve( color=color.blue, pos = [ m.point(v,w) for v in vs ] )