gasraupdate.blogg.se

Sage viewchoice viewer
Sage viewchoice viewer









sage viewchoice viewer

sage viewchoice viewer

just drop support for running it purely locally, i.e.Out of curiosity, do we know how we're going to handle this? As I understand, modules can't be loaded from the filesystem. I will proceed along the same lines then.īut keep in mind that all of the simple non-module JavaScript files are disappearing at the end of the year. We could package some of the files from the examples directory just like OrbitControls.js, Doesn't look like it would be difficult to add, though.

sage viewchoice viewer

One downside is that it doesn't seem to support varying width over the line like MeshLine does. Also looks like we could use the wireframe example below it to spruce up the surface grid lines, too. Nice! I was not aware of that example (missed your previous comment in this ticket), and I do agree it looks better. With respect to packaging, we can’t just add it to what we’re doing with Three.js because it has a different owner with a separate license.Īnd remember that Three.js has its own ​implementation that looks better. P = sum((pcyl(*cylparam(i, r)) for i, r in enumerate(param)), Graphics()) Pcyl = lambda x, y, r, h: pp(cyl(x, y), (0, 1), radius=r, rgbcolor=hue(h)) Increasing to 6, 7, 8, 8, 9, 10, 11 (makes one want to guess the fomulaįor number_of_sides as a function of radius):Ĭyl = lambda x, y: (lambda t: x, lambda t: y, lambda t: t) The following example shows the number of sides starting at 5 then Sides depending on the radius it seems to start 5-sided for small radius,Īnd then the number of sides grows with the radius. I also notice that the cylinders have a polygonal base, with a number of Number of plot points so that the (piecewise linear) cylinder still looks moreĪ = (lambda t: cos(t), lambda t: sin(t), lambda t: 2*t/tau)ī = (lambda t: cos(t), lambda t: sin(t), lambda t: 2*t/tau + 1)Īa = parametric_plot(a, (-tau, tau), color='blue', radius=.02, plot_points=400)īb = parametric_plot(b, (-3*pi, pi), color='red', radius=.04, plot_points=400) If the curve is long and the radius gets somewhat large it is worth increasing the Using radius as you suggest does the trick. This was under macOS 10.10.5, using either Firefox 66.0.2 (64-bit), Thanks for explaining and for the workaround. Launched png viewer for Graphics3d Object Launched jmol viewer for Graphics3d Object Launched html viewer for Graphics3d Object Sage: bb = parametric_plot(b, (-3*pi, pi), color='red', thickness=10) Sage: aa = parametric_plot(a, (-tau, tau), color='blue', thickness=1) Sage: b = (lambda t: cos(t), lambda t: sin(t), lambda t: 2*t/tau + 1) Sage: a = (lambda t: cos(t), lambda t: sin(t), lambda t: 2*t/tau) Is not taken into account in the following - whether launching itįrom the Sage REPL, the Jupyter notebook, or even SageCell online: The thickness optional parameter in parametric_plot3d, while otherįor example, in Sage 8.3 or 8.7 on macOS 10.10.5, the thickness Or limited, so that the three.js / threejs viewer appears not to respect

#SAGE VIEWCHOICE VIEWER WINDOWS#

On Windows and macOS, WebGL line thickness support is absent











Sage viewchoice viewer