Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.

Orbits Earth-Mars graphically

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-29-2009, 01:07 PM
Basic4ppc Veteran
 
Join Date: Apr 2007
Posts: 269
Default Orbits Earth-Mars graphically

Hi All,

Here is a completely useless application which shows the position of the planets Earth and Mars in relation to each other. The orbits can be simulated at any date and in motion, slow and quick. It calculates the date when Mars is closest by and how big Mars will be in arcseconds, accompanied by the Julian Daynumber.
I use this to know when I can point my telescope best at Mars.
I also have a complete planetarium simulation, which is not uploaded now.
have fun.... <<grin>>
Marc
Attached Files
File Type: zip Earth-Mars.zip (6.0 KB, 33 views)

Last edited by Stellaferox : 11-01-2009 at 08:32 PM.
Reply With Quote
  #2 (permalink)  
Old 10-30-2009, 07:04 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi Stellaferox,

Even though astronomy is not my favorite area, I had a look at your program and saw that you had tryed to use the ImageLib and ImageLibEx libraries.
If you want to use them be careful not to mix them up. In your code you have:
- Pen, Brush and Rectangle objects from the ImageLib
- BitmapEx and DrawerEx objects from the ImageLibEx libraries

You should use only one of both and better the ImageLibEx libraries they have all functions of the ImageLib library and much more.

Best regards.
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide

Last edited by klaus : 10-30-2009 at 07:07 PM.
Reply With Quote
  #3 (permalink)  
Old 11-01-2009, 01:41 PM
Basic4ppc Veteran
 
Join Date: Apr 2007
Posts: 269
Default

Klaus,

You're right. I had included them to make use of the different possibilities and to play with them. I haven't used one of them I think. Same with my planetarium application. I am trying to scale the graphics up and down in real time (planets moving and orbits shown), but haven't quite figured out how to do this.
Marc
Reply With Quote
  #4 (permalink)  
Old 11-01-2009, 04:12 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Could this one maybe help you ?
Just as a demonstrator.

Best regards.
Attached Files
File Type: sbp Earth-Mars_KC.sbp (14.8 KB, 22 views)
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #5 (permalink)  
Old 11-01-2009, 04:25 PM
Basic4ppc Veteran
 
Join Date: Apr 2007
Posts: 269
Default

Klaus, you're a star! Would you know the solution to my planetarium program? I manage to scale down or up the size of the view with the slider but I cannot match the orbits with that view.
Marc
Attached Files
File Type: sbp $$$Kepler.sbp (13.1 KB, 13 views)

Last edited by Stellaferox : 11-01-2009 at 04:56 PM.
Reply With Quote
  #6 (permalink)  
Old 11-01-2009, 06:34 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Here you are, it wasn't that difficult.
Almost everything was pretty well prepared, also in the Earth-Mars program.
I think that the button images are those of the 'MP3-player buttons wanted' thread.

Best regards.
Attached Files
File Type: sbp $$$Kepler_KC.sbp (13.4 KB, 20 views)
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #7 (permalink)  
Old 11-01-2009, 06:49 PM
Basic4ppc Veteran
 
Join Date: Apr 2007
Posts: 269
Default

Hi Klaus,

Yes, you're right. The buttons are from the "wanted" topic. I restyled them a bit here and there.
Thank you for the adaptation. It is getting where I want it. Now speeding up the program is neccessary, because I want it to work on th PPC.

I especially like yoúr approach to the Scaling with the slider!

Marc

Last edited by Stellaferox : 11-01-2009 at 06:55 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mars Time alfcen Share Your Creations 4 05-12-2008 11:21 AM
Using Google Earth from Shell jesb4ppc Questions (Windows Mobile) 2 08-23-2007 10:38 AM
Google Earth KML Generator alfcen Share Your Creations 0 04-30-2007 10:10 AM


All times are GMT. The time now is 12:21 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0