ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 22 Feb 2021 23:20:51 +0100Can sage draw simplicial complexes?https://ask.sagemath.org/question/55814/can-sage-draw-simplicial-complexes/ I understand it's asking a lot to draw complexes in dimensions $>3$, but for (fairly simple) 2 dimensional complexes, it seems reasonable that some plotting algorithm should exist. Even looking at, say, `simplicial_complexes.Torus()`, it doesn't seem like there's a plot or show method. The docs<sup>1</sup> don't seem to have any information either.
Since the things I'm trying to draw are fairly simple, I would be wiling to plot the $1$-skeleton (which sage can do) and then fill in the $2$-cells myself, but I'm not even sure how to go about doing that. Obviously if there is a pre-existing method or library for this, that would be the best possible solution.
Thanks in advance!
<sup>1</sup>: I don't have the karma to post links, but I'm referencing
doc.sagemath.org/html/en/reference/homology/sage/homology/simplicial_complex.htmldispoMon, 22 Feb 2021 23:20:51 +0100https://ask.sagemath.org/question/55814/animated line drawinghttps://ask.sagemath.org/question/39755/animated-line-drawing/Is it possible to draw a line in sagemath as like javascript?
A Demo: http://jsfiddle.net/m1erickson/7faRQ/kkmiFri, 24 Nov 2017 01:29:45 +0100https://ask.sagemath.org/question/39755/