Hang Time Ballistics Live (beta)!

Because potatoes only last one shot!
User avatar
boilingleadbath
Staff Sergeant 2
Staff Sergeant 2
Posts: 1635
Joined: Sat Mar 12, 2005 10:35 pm
Location: Pennsylvania, USA

Well, I finally got around to completing "hang time ballistics Live", a javascript program that calculates Muzzle velocity/hang time/Cd/Apogee of a projectile given some information.

For completeness, here are the input pairs and their outputs:

HangTime, Cd => search(Muzzle velocity), return(Appogee)
HangTime, Muzzle velocity => search(Cd), return(Apogee)
HangTime, Apogee => search(Cd,Muzzle velocity)
(HangTime-Apogee method not working well)

Cd, Muzzle velocity => return(HangTime, Apogee)
Cd, Apogee => search(muzzle velocity), return(hangtime)
Muzzle velocity, Apogee => search(Cd), return(hangtime)
Attachments
HTBLive.zip
Hang Time Ballistics Live: a .htm document and a png. Keep them in the same folder.
Beta (version 2)
(7.17 KiB) Downloaded 222 times
Last edited by boilingleadbath on Sat Dec 15, 2007 7:25 pm, edited 1 time in total.
User avatar
MrCrowley
Moderator
Moderator
Posts: 10078
Joined: Fri Jun 23, 2006 10:42 pm
Location: Auckland, New Zealand
Been thanked: 3 times

Very cool, if you can use GGDT you can use this so it's not to difficult.

Seems pretty accurate to GGDT figures as well, nice stuff.
User avatar
bigbob12345
Staff Sergeant
Staff Sergeant
Posts: 1516
Joined: Sat Dec 01, 2007 9:13 am
Location: Mercer Island,Washington

I just gave it a little go and I actually prefer it over GGDT its easier and just as accurate
User avatar
ALIHISGREAT
Staff Sergeant 3
Staff Sergeant 3
Posts: 1778
Joined: Sat Aug 25, 2007 6:47 pm
Location: UK

looks good but what is apogee i googled it and it came up with a wiki page talking about orbiting and stuff :?

http://en.wikipedia.org/wiki/Apogee

edit: and do you have any idea how aerodynamic an airsoft bb is (6mm)?

edit 2: this page says it is 0.47 Cd :) http://www.arniesairsoft.co.uk/?filnavn ... t_time.htm

and your calcuator says i will be able to shoot a .43 sniper bb (6mm) ~130m and have an impact velocity of 22m/s which is nothing although if i shot a lightweight air rifle pellet with a better Cd then i could have massive ranges :twisted:
Last edited by ALIHISGREAT on Sat Dec 15, 2007 6:26 am, edited 2 times in total.
User avatar
Hubb
First Sergeant 2
First Sergeant 2
Posts: 2390
Joined: Mon May 28, 2007 8:39 am
Location: South Georgia
Contact:

This is a very nice and simple program. The only complaint I see is the fact that I have to convert from English to Metric, but that is really no big deal.

Good job.
User avatar
jackssmirkingrevenge
Five Star General
Five Star General
Posts: 26219
Joined: Thu Mar 15, 2007 11:28 pm
Has thanked: 581 times
Been thanked: 347 times

ALIHISGREAT wrote:looks good but what is apogee i googled it and it came up with a wiki page talking about orbiting and stuff :?
in this case it refers to the peak of the projectile's trajectory.
hectmarr wrote:You have to make many weapons, because this field is long and short life
User avatar
ALIHISGREAT
Staff Sergeant 3
Staff Sergeant 3
Posts: 1778
Joined: Sat Aug 25, 2007 6:47 pm
Location: UK

in this case it refers to the peak of the projectile's trajectory
so its not the range then?
User avatar
jackssmirkingrevenge
Five Star General
Five Star General
Posts: 26219
Joined: Thu Mar 15, 2007 11:28 pm
Has thanked: 581 times
Been thanked: 347 times

no, it's the point between the projectile stopping its upward travel and beginning its descent back to earth.
hectmarr wrote:You have to make many weapons, because this field is long and short life
User avatar
ALIHISGREAT
Staff Sergeant 3
Staff Sergeant 3
Posts: 1778
Joined: Sat Aug 25, 2007 6:47 pm
Location: UK

jackssmirkingrevenge wrote:no, it's the point between the projectile stopping its upward travel and beginning its descent back to earth.
so the calculator is assuming you are firing at a 45 degree angle then?
User avatar
MrCrowley
Moderator
Moderator
Posts: 10078
Joined: Fri Jun 23, 2006 10:42 pm
Location: Auckland, New Zealand
Been thanked: 3 times

No, it assumes you are firing at an angle between 1 and 90 degrees.

i.e 'up'. :lol:

Do you know what a parabola is? Well the apogee is the height of the parabola of the projectiles travel.
User avatar
Hubb
First Sergeant 2
First Sergeant 2
Posts: 2390
Joined: Mon May 28, 2007 8:39 am
Location: South Georgia
Contact:

From Webster:


Main Entry:
apo·gee
1: the point in the orbit of an object (as a satellite) orbiting the earth that is at the greatest distance from the center of the earth; also : the point farthest from a planet or a satellite (as the moon) reached by an object orbiting it — compare perigee
2: the farthest or highest point : culmination <Aegean>
— apo·ge·an Listen to the pronunciation of apogean \ˌa-pə-ˈjē-ən\ adjective
User avatar
ALIHISGREAT
Staff Sergeant 3
Staff Sergeant 3
Posts: 1778
Joined: Sat Aug 25, 2007 6:47 pm
Location: UK

should there be something under the top box on the right because its blank for me with a funny symbol in the middle?
User avatar
Hubb
First Sergeant 2
First Sergeant 2
Posts: 2390
Joined: Mon May 28, 2007 8:39 am
Location: South Georgia
Contact:

ALIHISGREAT wrote:should there be something under the top box on the right because its blank for me with a funny symbol in the middle?
???
User avatar
ALIHISGREAT
Staff Sergeant 3
Staff Sergeant 3
Posts: 1778
Joined: Sat Aug 25, 2007 6:47 pm
Location: UK

i think there s meant to be a graph there or something but for me there isn't :shock: which is slightly annoying :x
User avatar
Hubb
First Sergeant 2
First Sergeant 2
Posts: 2390
Joined: Mon May 28, 2007 8:39 am
Location: South Georgia
Contact:

If you are referring to my post, there was no graph. If you are referring to anyone elses post (which you have to be if you are not talking about mine) then I see no graph either.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

  • Similar Topics
    Replies
    Views
    Last post