On Mon, Dec 1, 2014 at 6:18 PM, Jason Grout <[email protected]> wrote:
> On 11/28/14, 16:06, William Stein wrote:
>>
>> Sage cell and SageMathCloud have completely separate three.js based 3d
>> graphics implementations....
>
>
> William's right.  The threejs() command in the sage cell initially used
> SMC's code, but it's gone through an overhaul, and I think SMC's original
> code also has a lot of changes since then.
>
> William, how do you do it in SMC?  Do you basically do something like
> https://github.com/mrdoob/three.js/issues/989#issuecomment-3320653 ? (set
> preserveDrawingBuffer to true, and then call toDataURL()?

That's a way to make a *static* image.  I strongly suspect that is not
at all what Dan is asking for.
He is probably asking for a way to embed a dynamic image in a website,
with some combination
of javascript, data, and a small library built on three.js.   Doing
this is somewhere on my mental
wish list,  but is not available in SMC yet.

 - William



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to