Jump to content

Recommended Posts

Posted (edited)

Hi all,

 

Made a very simple wind heading calculator for use in bombsight mode. It is a simple web page with javascript, so it runs well on mobile phones or tablets (at least android).

 

https://spiff.ddns.net/il2bcalc/

 

Github project (relevant code is Javascript inside index.html)

https://github.com/nunoi/il2bcalc

 

Some screenshots below

 

Normal mode for regular screens

WKoGRlw.png

 

Small mode for mobile

GLtninj.png

 

Cheers!

 

Edited by [Pb]Spiff_
Added github link
  • Like 1
  • Thanks 3
  • Upvote 5
Posted

A quick update:

 

I've tried to make it more smartphone friendly and now if your screen is under a certain width (in pixels) it will only show one knob (plane hdg, wind hdg, wind speed) and you can switch between them with left/right arrows.

 

If you have problems let me know.

 

  • 1 month later...
Posted

Nice! Thank you! It works well on my ipad.

  • Like 1
  • 2 weeks later...
Posted

Works great on my Nokia mobile, thanks very much ?

  • Like 1
  • 1 month later...
Posted

fantastic .. thank you very much

  • Like 1
Posted

What does the Wind Speed dial do?   The output is always the same as the input so why do we put it in?

  • Like 1
Posted

Hehe. So in fact wind speed does not do anything.

 

I left it there for two reasons:

1 - to have everything you need at the result section (even if it is not changed)

2 - I like knobs

 

  • Haha 1
  • 1 month later...
E69_Qpassa_VR
Posted

If you could give us the logic behind I could develop a offline android app, no ads obviously

  • Like 5
Posted

I have this on github with MIT license, anyone can use it. It's javascript (inside the index.html page), you'll probably just need the calculate_heading function.

 

Cheers!

Posted
8 hours ago, E69_Qpassa_VR said:

If you could give us the logic behind I could develop a offline android app, no ads obviously

A windows application could be cool too.

  • 2 weeks later...
Posted
On 3/3/2019 at 2:49 PM, Habu said:

A windows application could be cool too.

 

 

This? 

 

Posted

Thx Sokol, i missed that one.

  • 1 year later...
Posted (edited)

Someone called Enigma on youtube asked me about the basis of the calculations.

 

The code is available on github at the link I provided with MIT license, so anyone can get it and do anything they want with it, provided they keep a copy of the license. 

 

Basically this calculator gets your plane's heading and speed. Knowing the wind's speed and heading it calculates the relative wind heading which you must input in the bomber sight.

 

It is just getting the difference between two vectors. It does NOT take into account target altitude or QFE or whatever, just the speed and heading. The rest is up to you

 

Cheers!

Edited by [Pb]Spiff_
Minor text correction
  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...