Code Monkey home page Code Monkey logo

traject's Introduction

traject-rs

Mostly just porting the GPL'd JBM libraries to Rust.

Accuracy

This library may occasionally provide decent results (see example below).

There may also occasionally be eggregious mathematical errors that cause you to shoot yourself in the foot (literally).

Use with caution and at your own risk.

Sample

JBM web v5.1 vs examples/simple

https://www.jbmballistics.com/cgi-bin/jbmtraj-5.1.cgi

img.png


#! target/debug/examples/simple

Range Drop Velocity Energy Time
0 -0.00 1500.0 749.4 0.000
100 -0.67 1447.7 698.0 0.204
200 -2.71 1396.4 649.4 0.415
300 -6.25 1346.0 603.4 0.634
400 -11.38 1296.6 559.9 0.861
500 -18.24 1248.3 518.9 1.097

Todo

  • windage

License

GPL v3

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

traject's People

Contributors

jw3 avatar

Watchers

 avatar

traject's Issues

Use uom

The uom crate would be useful for several conversions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.