Ask Your Question

Need guidance as to a small project

asked 2014-10-20 02:51:57 +0100

jaja gravatar image

updated 2015-01-14 10:15:33 +0100

FrédéricC gravatar image

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 :)

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2014-10-20 15:11:39 +0100

kcrisman gravatar image

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 Jmol directly for doing this? While it would be possible to do this in Sage (you could look at the documentation for spheres 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.

edit flag offensive delete link more


Thanks 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 :)

jaja gravatar imagejaja ( 2014-10-20 17:18:00 +0100 )edit

I 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.

kcrisman gravatar imagekcrisman ( 2014-10-21 14:16:13 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-10-20 02:51:57 +0100

Seen: 472 times

Last updated: Oct 20 '14