[sage-edu] Jmol in web pages

2009-11-12 Thread mhampton

I thought this might be of some interest to people since I'm not sure
how well the process is documented.

I wanted to make some vector field plots using Jmol and then put them
on a web page.  To do that, you have to get the zipped script file
from the cell, unzip it, and put it on your web server.  The server
also has to have the jmol directory with the standard jmol .jar files
and Jmol.js (downloaded from the jmol site).

Instead of trying to explain it in detail, it may be more helpful to
look at the result:

http://www.d.umn.edu/~mhampton/m3298f9/vfieldplots.html

...for the lab the students are given a list of vector fields that
they must match to the plots.

It would be nice if this could be automated in some way, with some
sort of "export to html page" command, analogous to the "Get Image"
command currently supported.

-Marshall Hampton

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~--~~~~--~~--~--~---



[sage-edu] Re: First Sage Education Day!

2009-11-12 Thread kcrisman



On Nov 12, 1:46 am, William Stein  wrote:
> On Tue, Nov 10, 2009 at 8:30 AM, kcrisman  wrote:
>
> > We now have a Wiki page (http://wiki.sagemath.org/education1) for the
> > first ever Sage Education Day!  I've taken the liberty to add the four
> > people who have personally told me they will be in the room for this
> > (which includes the two organizers), but feel free to remove/add
> > yourself if you want to.
>
> Hi Karl,
>
> Clay Math wants a *schedule* with times by Thursday night (Nov 12).
> Can you come up with something precise ASAP?   I have the schedule for
> the rest of the week together now.
>
>  -- William

William,

Yup, we have everything except for one topic (as noted on the wiki).
I thought Kiran had a copy of this...

8:30 Light refreshments available, quasi-registration

9:00-9:10 Introduction, any brief housekeeping announcements

9:15-10:00 Intro to using Sage in the classroom

10:00-10:30 Discussion of most popular/desired things in general math
software, and where it is/isn't in Sage

10:30-10:40 Break

10:40-11:10 Intro to Lurch (Lite)

11:10-11:30 Discussion of math and word processing - what works, what
doesn't, and state of Lurch and Sage on this.

11:30-11:50 Technical issues of Sage for newbies - logistics,
browsers, portability, where documentation *really* is, etc.

11:50-11:55 Discuss lunch options

12:00-1:00 Lunch

1:10-1:55 Specific session on undergrad course, topic TBD

1:55-2:00 Thanks and encourage feedback

Please let me know if this part ends up on the claymath website, as it
would be good to have a direct link there for advertising.  You will
note that we already have one person coming who is not otherwise
affiliated with the program, before any formal advertising has taken
place!

- kcrisman
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~--~~~~--~~--~--~---



[sage-edu] Re: Fwd: Unsigned GeoGebra Applets

2009-11-12 Thread kcrisman

> I am interested, although I don't have a lot of time...just last week, I
> downloaded GeoGebra for the very first time, and in maybe 45 minutes of
> goofing around and reading documentation on the internet, made this:
>
>    http://mathsci.kaist.ac.kr/~drake/complex_cosine.html
>
> (Try double-clicking on the applet to open up a full-fledged GeoGebra
> editor!)
>
> GeoGebra has its limitations, but clearly for some things it is
> extremely useful, easy to use, and makes it trivial to put up things for
> students. So I'll try it out.

Incidentally, for those attending the Joint Meetings, there is an MAA
minicourse on doing precisely this.  I won't have time, but if someone
is attending who will and is interested in doing some inclusion like
this, it would be quite instructive to have them do it.

- kcrisman

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~--~~~~--~~--~--~---



[sage-edu] Re: Fwd: Unsigned GeoGebra Applets

2009-11-12 Thread kcrisman

> > How did you envision the applets integrated into the notebook - on an
> > on-demand basis for @interact-like things for specific purposes (say,
> > drawing hyperbolic triangles), as a menu option "insert a Geogebra
> > applet from list X here", or something more integrated than that into
> > the Sagenb spkg?
>
> For starters, I imagine a command, e.g.,
>
>   geogebra(various options???)
>
> that results in a geogebra applet appearing?  Then that could be used as a
> building block for much, much more.   What do you imagine?
>
> And yes, I imagine the actual java applet's could go into sagenb at
> some point...
>
> William
>
>

Those ideas make a lot of sense.  What would be good is to have some
"translation service" that would automatically turn interacts which
*could* be done in Geogebra (which would certainly not be all of them)
to be done that way, so that the real-time is much closer to
Manipulate and jmol.  I only know how to create Geogebra things using
the GUI, but if there is an underlying text representation that would
be great.

Of course, I doubt that is even feasible, but even a @geogebra
decorator for the notebook which one could use in the same way as
@interact, and would have its own documentation, would be great.  We
already have Java.  Interestingly, since Geogebra uses Yacas, we would
potentially have access to Maxima, Yacas, etc. - but not sure if it
would be difficult to access things like that via Python->Java-
>Python.

- kcrisman

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~--~~~~--~~--~--~---



[sage-edu] Re: Jmol in web pages

2009-11-12 Thread William Stein

On Thu, Nov 12, 2009 at 8:16 AM, mhampton  wrote:
>
> I thought this might be of some interest to people since I'm not sure
> how well the process is documented.
>
> I wanted to make some vector field plots using Jmol and then put them
> on a web page.  To do that, you have to get the zipped script file
> from the cell, unzip it, and put it on your web server.  The server
> also has to have the jmol directory with the standard jmol .jar files
> and Jmol.js (downloaded from the jmol site).
>
> Instead of trying to explain it in detail, it may be more helpful to
> look at the result:
>
> http://www.d.umn.edu/~mhampton/m3298f9/vfieldplots.html
>
> ...for the lab the students are given a list of vector fields that
> they must match to the plots.
>
> It would be nice if this could be automated in some way, with some
> sort of "export to html page" command, analogous to the "Get Image"
> command currently supported.

Could you make a ticket to do this?  And yes, it is very natural to do
so, especially because jmol's *primary* goal/use case is doing exactly
that (except for chemistry).

 -- William

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~--~~~~--~~--~--~---



[sage-edu] Re: First Sage Education Day!

2009-11-12 Thread William Stein

Thanks.

On Thu, Nov 12, 2009 at 8:06 AM, kcrisman  wrote:
>
>
>
> On Nov 12, 1:46 am, William Stein  wrote:
>> On Tue, Nov 10, 2009 at 8:30 AM, kcrisman  wrote:
>>
>> > We now have a Wiki page (http://wiki.sagemath.org/education1) for the
>> > first ever Sage Education Day!  I've taken the liberty to add the four
>> > people who have personally told me they will be in the room for this
>> > (which includes the two organizers), but feel free to remove/add
>> > yourself if you want to.
>>
>> Hi Karl,
>>
>> Clay Math wants a *schedule* with times by Thursday night (Nov 12).
>> Can you come up with something precise ASAP?   I have the schedule for
>> the rest of the week together now.
>>
>>  -- William
>
> William,
>
> Yup, we have everything except for one topic (as noted on the wiki).
> I thought Kiran had a copy of this...
>
> 8:30 Light refreshments available, quasi-registration
>
> 9:00-9:10 Introduction, any brief housekeeping announcements
>
> 9:15-10:00 Intro to using Sage in the classroom
>
> 10:00-10:30 Discussion of most popular/desired things in general math
> software, and where it is/isn't in Sage
>
> 10:30-10:40 Break
>
> 10:40-11:10 Intro to Lurch (Lite)
>
> 11:10-11:30 Discussion of math and word processing - what works, what
> doesn't, and state of Lurch and Sage on this.
>
> 11:30-11:50 Technical issues of Sage for newbies - logistics,
> browsers, portability, where documentation *really* is, etc.
>
> 11:50-11:55 Discuss lunch options
>
> 12:00-1:00 Lunch
>
> 1:10-1:55 Specific session on undergrad course, topic TBD
>
> 1:55-2:00 Thanks and encourage feedback
>
> Please let me know if this part ends up on the claymath website, as it
> would be good to have a direct link there for advertising.  You will
> note that we already have one person coming who is not otherwise
> affiliated with the program, before any formal advertising has taken
> place!
>
> - kcrisman
> >
>



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

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~--~~~~--~~--~--~---



[sage-edu] Re: Jmol in web pages

2009-11-12 Thread mhampton

OK, that is now http://trac.sagemath.org/sage_trac/ticket/7445.

I won't be authoring a solution any time real soon but I am happy to
help if someone else takes a stab at it.

-Marshall

On Nov 12, 10:49 am, William Stein  wrote:
> On Thu, Nov 12, 2009 at 8:16 AM, mhampton  wrote:
>
> > I thought this might be of some interest to people since I'm not sure
> > how well the process is documented.
>
> > I wanted to make some vector field plots using Jmol and then put them
> > on a web page.  To do that, you have to get the zipped script file
> > from the cell, unzip it, and put it on your web server.  The server
> > also has to have the jmol directory with the standard jmol .jar files
> > and Jmol.js (downloaded from the jmol site).
>
> > Instead of trying to explain it in detail, it may be more helpful to
> > look at the result:
>
> >http://www.d.umn.edu/~mhampton/m3298f9/vfieldplots.html
>
> > ...for the lab the students are given a list of vector fields that
> > they must match to the plots.
>
> > It would be nice if this could be automated in some way, with some
> > sort of "export to html page" command, analogous to the "Get Image"
> > command currently supported.
>
> Could you make a ticket to do this?  And yes, it is very natural to do
> so, especially because jmol's *primary* goal/use case is doing exactly
> that (except for chemistry).
>
>  -- William
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~--~~~~--~~--~--~---



[sage-edu] Re: Jmol in web pages

2009-11-12 Thread David Joyner

On Thu, Nov 12, 2009 at 11:16 AM, mhampton  wrote:
>
> I thought this might be of some interest to people since I'm not sure
> how well the process is documented.
>
> I wanted to make some vector field plots using Jmol and then put them
> on a web page.  To do that, you have to get the zipped script file
> from the cell, unzip it, and put it on your web server.  The server
> also has to have the jmol directory with the standard jmol .jar files
> and Jmol.js (downloaded from the jmol site).
>
> Instead of trying to explain it in detail, it may be more helpful to
> look at the result:
>
> http://www.d.umn.edu/~mhampton/m3298f9/vfieldplots.html


Wow!!


>
> ...for the lab the students are given a list of vector fields that
> they must match to the plots.
>
> It would be nice if this could be automated in some way, with some
> sort of "export to html page" command, analogous to the "Get Image"
> command currently supported.
>
> -Marshall Hampton
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~--~~~~--~~--~--~---



[sage-edu] Re: Jmol in web pages

2009-11-12 Thread Rob Beezer

On Nov 12, 8:16 am, mhampton  wrote:
> It would be nice if this could be automated in some way, with some
> sort of "export to html page" command, analogous to the "Get Image"
> command currently supported.
>
Marshall,

Very nice!  I sent these to a couple of colleagues, and one wrote back
to suggest that it would be nice to have the plots captioned (I
realize that's part of your exercise).  But if the automated
production include a "caption" keyword, or a whole pile of explanatory
text, that'd be a nice addition.  I'll add this to the ticket as a
suggestion.

Rob
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~--~~~~--~~--~--~---



[sage-edu] Re: Jmol in web pages

2009-11-12 Thread mhampton

I should point out that those particular plots are the result of Jason
Grout's very nice new plot_vector_field3d from ticket #2646, which
will be in sage-4.2.1.  With that and implicit_plot3d I am not not
missing anything I need from mathematica for teaching multivariable
calculus.

-Marshall

On Nov 12, 1:50 pm, David Joyner  wrote:
> On Thu, Nov 12, 2009 at 11:16 AM, mhampton  wrote:
> Wow!!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~--~~~~--~~--~--~---



[sage-edu] Re: Fwd: Unsigned GeoGebra Applets

2009-11-12 Thread Dan Drake
On Thu, 12 Nov 2009 at 08:19AM -0800, kcrisman wrote:
> Those ideas make a lot of sense.  What would be good is to have some
> "translation service" that would automatically turn interacts which
> *could* be done in Geogebra (which would certainly not be all of them)
> to be done that way, so that the real-time is much closer to
> Manipulate and jmol.  I only know how to create Geogebra things using
> the GUI, but if there is an underlying text representation that would
> be great.

There is a text representation for commands, and also two-way
Javascript-GeoGebra communication:
http://www.geogebra.org/en/wiki/index.php/GeoGebra_JavaScript_Methods

Check out
http://www.geogebra.org/source/program/applet/geogebra_applet_javascript_test.htm

So we (and by "we", I mean "someone who knows Javascript") can
definitely do fully integrated applets.

Dan

-- 
---  Dan Drake
-  http://mathsci.kaist.ac.kr/~drake
---


signature.asc
Description: Digital signature