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.Tue, 21 Oct 2014 14:16:13 +0200Need guidance as to a small projecthttps://ask.sagemath.org/question/24533/need-guidance-as-to-a-small-project/ Good day everyone,
I am quite new to sage (and this is my first post here) but not quite to programming and I have a project I would like to get started on but am not sure how to go about doing it exactly. (I learn best by diving in, that's just how my brain works :) ).
The project is basically about creating a program for my old college that will help chemistry students have some fun learning their (fairly boring) course. I took it so I know.
The program needs to be able to create spheres of varying sizes that can be connected by thin cylinders (yes, much like those models we made back in the day of hydrocarbons and such). The program has to be very intuitive so the user needs to be able to manipulate all the virtual model pieces by simply specifying a shape (sphere or cylinder), adjusting the size, and connecting the pieces in whatever manner they need to. I am also going to make use of the stereographic feature to allow the students to view the models in cyan-red 3D (that's the fun part provided that it works).
So can anyone just guide me as to where exactly I can find information related to the kind of program I am trying to design. I am not asking for any code...just guidance as to how I can get started. (And yes I have done a few basic tutorials on sage and I understand roughly how the basic features work).
Thanks in advance :)Mon, 20 Oct 2014 02:51:57 +0200https://ask.sagemath.org/question/24533/need-guidance-as-to-a-small-project/Answer by kcrisman for <p>Good day everyone,</p>
<p>I am quite new to sage (and this is my first post here) but not quite to programming and I have a project I would like to get started on but am not sure how to go about doing it exactly. (I learn best by diving in, that's just how my brain works :) ).</p>
<p>The project is basically about creating a program for my old college that will help chemistry students have some fun learning their (fairly boring) course. I took it so I know.
The program needs to be able to create spheres of varying sizes that can be connected by thin cylinders (yes, much like those models we made back in the day of hydrocarbons and such). The program has to be very intuitive so the user needs to be able to manipulate all the virtual model pieces by simply specifying a shape (sphere or cylinder), adjusting the size, and connecting the pieces in whatever manner they need to. I am also going to make use of the stereographic feature to allow the students to view the models in cyan-red 3D (that's the fun part provided that it works).
So can anyone just guide me as to where exactly I can find information related to the kind of program I am trying to design. I am not asking for any code...just guidance as to how I can get started. (And yes I have done a few basic tutorials on sage and I understand roughly how the basic features work).</p>
<p>Thanks in advance :)</p>
https://ask.sagemath.org/question/24533/need-guidance-as-to-a-small-project/?answer=24536#post-id-24536As much as I would like to recommend Sage for this project, I have a feeling that this is not the optimal solution for what you want to do. I wouldn't be surprised if one could use [Jmol](http://jmol.sourceforge.net/) directly for doing this? While it would be possible to do this in Sage (you could look at the documentation for [spheres](http://www.sagemath.org/doc/reference/plot3d/sage/plot/plot3d/shapes2.html#sage.plot.plot3d.shapes2.sphere) or for implicit plots for cylinders, and then use the `@interact` functionality for moving things), it would be quite elaborate to do; Sage is a mathematics program with graphics capability, not a graphics program with math capability. Ideally there is probably a drag-and-drop program that already does this, in fact.Mon, 20 Oct 2014 15:11:39 +0200https://ask.sagemath.org/question/24533/need-guidance-as-to-a-small-project/?answer=24536#post-id-24536Comment by kcrisman for <p>As much as I would like to recommend Sage for this project, I have a feeling that this is not the optimal solution for what you want to do. I wouldn't be surprised if one could use <a href="http://jmol.sourceforge.net/">Jmol</a> directly for doing this? While it would be possible to do this in Sage (you could look at the documentation for <a href="http://www.sagemath.org/doc/reference/plot3d/sage/plot/plot3d/shapes2.html#sage.plot.plot3d.shapes2.sphere">spheres</a> or for implicit plots for cylinders, and then use the <code>@interact</code> functionality for moving things), it would be quite elaborate to do; Sage is a mathematics program with graphics capability, not a graphics program with math capability. Ideally there is probably a drag-and-drop program that already does this, in fact.</p>
https://ask.sagemath.org/question/24533/need-guidance-as-to-a-small-project/?comment=24558#post-id-24558I appreciate your point of view and "giving something of your own", I'm just thinking of your overall best time investment. Better to give something really great that is tailored closely than something that would require a lot of maintenance.Tue, 21 Oct 2014 14:16:13 +0200https://ask.sagemath.org/question/24533/need-guidance-as-to-a-small-project/?comment=24558#post-id-24558Comment by jaja for <p>As much as I would like to recommend Sage for this project, I have a feeling that this is not the optimal solution for what you want to do. I wouldn't be surprised if one could use <a href="http://jmol.sourceforge.net/">Jmol</a> directly for doing this? While it would be possible to do this in Sage (you could look at the documentation for <a href="http://www.sagemath.org/doc/reference/plot3d/sage/plot/plot3d/shapes2.html#sage.plot.plot3d.shapes2.sphere">spheres</a> or for implicit plots for cylinders, and then use the <code>@interact</code> functionality for moving things), it would be quite elaborate to do; Sage is a mathematics program with graphics capability, not a graphics program with math capability. Ideally there is probably a drag-and-drop program that already does this, in fact.</p>
https://ask.sagemath.org/question/24533/need-guidance-as-to-a-small-project/?comment=24539#post-id-24539Thanks for the reply!
I believe you are spot on with the idea of using jmol for this. And yes I certainly agree there might be a program available to do this. But of course coming from a college and being able to give something of your own to them will mean a lot more as opposed to suggesting some other program. Plus students could develop it as an open source project and it will spark new ideas which is what I am trying to encourage. But thanks again for the help, I think I know where to go to now to get started :)Mon, 20 Oct 2014 17:18:00 +0200https://ask.sagemath.org/question/24533/need-guidance-as-to-a-small-project/?comment=24539#post-id-24539