Ballistic Calculator

The library provides trajectory calculations for projectiles, including for various applications, including air rifles, bows, firearms, artillery, and so on.

3DF (3 degrees of freedom) model that is used in this calculator is rooted in old C sources of version 2 of the public version of the JBM calculator, ported to C#, optimized, fixed, and extended with elements described in Litz's "Applied Ballistics" book and ideas of the friendly project by Alexandre Trofimov.

Changes made since porting original C sources:

The source code of the library is available in git: https://github.com/gehtsoft-usa/BallisticCalculator1

The library is also available in Go: https://github.com/gehtsoft-usa/go_ballisticcalc

For those who are looking for a JavaScript version, I highly recommend Yet Another Ballistic Calculator project of our friend Alexandre Trofimov.

The current status of the project is ALPHA version.

Suggested reading:

Recommended books: Applied Ballistics For Long Range Shooting 3rd Edition by Bryan Litz

RISK NOTICE

The library performs very limited simulation of a complex physical process and so it performs a lot of approximations. Therefore the calculation results MUST NOT be considered as completely and reliably reflecting actual behavior or characteristics of projectiles. While these results may be used for educational purpose, they must NOT be considered as reliable for the areas where incorrect calculation may cause making a wrong decision, financial harm, or can put a human life at risk.

THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.

Articles

Usage example

The example of library use

Groups

Namespace BallisticCalculator