Thread: Solar System Project - Looking for advice

  1. #1
    Registered User
    Join Date
    Oct 2013
    Posts
    1

    Solar System Project - Looking for advice

    Here is what is like to do:

    Generate a basic and graphically simple solar system that generates a sun, planets and moons in different colors and uses a database or array to assign names to each planetary body.

    The finished product would not take into account relative distances between stellar bodies but would instead simply show how many satellites exist. Nor would it differentiate in relative size, there would be simply a larger size circle for the parent and a uniform smaller size for the child entities. Entities that have a child of their own would be clickable and would result in a smooth transition from child to parent on display and would then display the new child entities surrounding it.

    So, for example, when you load the program, you would see the sun surrounded by (for example) three planets. The sun would be yellow but the three planets would each be assigned a random but unique color. The names of the planet's would be pulled from an array or database, "earth", "mars", "Venus" and displayed below or alongside the child icons.

    As you click on Venus, no change would take place. Clicking on earth would zoom the display and show a single child "Luna". Clicking on mars would have two.

    separately, when clicked an information window would update with relevant information about the current selection.

    it is very likely that this would be used as a widget on a blog site such as WordPress. It is also important that the transitions are smooth and uniform parent to child.

    So my question is, what would be the best way to program this? Php, c, java, flash? Something else?

    Thanks in advance

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Java seems a natural choice since you apparently want to run it from within the browser. Flash is a dead cadaver corpse. Forget it ever existed.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by Mario F. View Post
    Java seems a natural choice since you apparently want to run it from within the browser. Flash is a dead cadaver corpse. Forget it ever existed.
    Java applets aren't ?

    Or did you mean Java Script ?

  4. #4
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Yes. With something like three.js. Interactive Globe: Small Arms Imports & Exports
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  5. #5
    Internet Superhero
    Join Date
    Sep 2006
    Location
    Denmark
    Posts
    964
    I'd look into some WebGL.
    How I need a drink, alcoholic in nature, after the heavy lectures involving quantum mechanics.

  6. #6
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    WebGL is pretty awesome.

    A little steeper learning curve than regular OpenGL if you have no prior graphics programming experience since they took out the fixed function pipeline, and require custom shaders for everything, but otherwise it's really not too bad.

    They also took out immediate mode, which, together with the fixed function pipeline, are the legacy parts of OpenGL that are really only used for learning nowadays due to their simplicity.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Solar system Help
    By alexandrafotin in forum C++ Programming
    Replies: 10
    Last Post: 04-20-2013, 11:43 PM
  2. 3D Solar System - web demo
    By Jeremy G in forum Game Programming
    Replies: 5
    Last Post: 12-02-2004, 08:41 AM
  3. More Evidence That There Was Life On Mars: Only in the Solar System......
    By KingZoolerius66 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 12-23-2003, 02:04 PM
  4. need advice on project
    By lambs4 in forum C Programming
    Replies: 2
    Last Post: 07-23-2003, 01:06 PM
  5. solar system GIF animation needed
    By beely in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 06-11-2003, 09:36 AM