Hang Time Ballistics Live (beta)!
- boilingleadbath
- 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)
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 185 times
Last edited by boilingleadbath on Sat Dec 15, 2007 7:25 pm, edited 1 time in total.
- bigbob12345
- 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
- ALIHISGREAT
- 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

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

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

Last edited by ALIHISGREAT on Sat Dec 15, 2007 6:26 am, edited 2 times in total.
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.
Good job.
- jackssmirkingrevenge
- Five Star General
- Posts: 26216
- Joined: Thu Mar 15, 2007 11:28 pm
- Has thanked: 576 times
- Been thanked: 347 times
in this case it refers to the peak of the projectile's trajectory.ALIHISGREAT wrote:looks good but what is apogee i googled it and it came up with a wiki page talking about orbiting and stuff
hectmarr wrote:You have to make many weapons, because this field is long and short life
- ALIHISGREAT
- Staff Sergeant 3
- Posts: 1778
- Joined: Sat Aug 25, 2007 6:47 pm
- Location: UK
so its not the range then?in this case it refers to the peak of the projectile's trajectory
- jackssmirkingrevenge
- Five Star General
- Posts: 26216
- Joined: Thu Mar 15, 2007 11:28 pm
- Has thanked: 576 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
- ALIHISGREAT
- Staff Sergeant 3
- Posts: 1778
- Joined: Sat Aug 25, 2007 6:47 pm
- Location: UK
so the calculator is assuming you are firing at a 45 degree angle then?jackssmirkingrevenge wrote:no, it's the point between the projectile stopping its upward travel and beginning its descent back to earth.
- MrCrowley
- 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'.
Do you know what a parabola is? Well the apogee is the height of the parabola of the projectiles travel.
i.e 'up'.

Do you know what a parabola is? Well the apogee is the height of the parabola of the projectiles travel.
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
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
- ALIHISGREAT
- 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?
???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?
- ALIHISGREAT
- 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
which is slightly annoying 


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.