Coder Social home page Coder Social logo

ds-dos / open-source-ballistics Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 23 KB

An open-source ballisics calculator library. Mainly intended for calculating trajectories of airsoft BBs and other spherical projectiles.

License: GNU General Public License v3.0

Python 100.00%

open-source-ballistics's Introduction

An open-source ballisics calculator library. Mainly intended for calculating trajectories of airsoft BBs and other spherical projectiles. All units are SI. Distributed under the GNU GPL 3 license. This is very much a WORK IN PROGRESS. Nothing here is final. Feel free to email me at [email protected]

PACKAGE OVERVIEW:

ballistics.guns.Gun - A gun that fires a projectile.

ballistics.guns.SimpleGun - A gun that fires a projectile with a fixed energy.

ballistics.mediums.Medium - A physical medium a projectile can travel through.

ballistics.mediums.Solid - A solid medium with a material strength.

ballistics.mediums.Fluid - A mon-compressible, viscous fluid medium.

ballistics.mediums.Gas - A compressible, viscous gas medium.

ballistics.projectiles.Projectile - A projectile that's launched and travels through the air.

ballistics.projectiles.Sphere - A smooth sphere.

ballistics.projectiles.GolfBall - A golf ball (dimpled sphere).

open-source-ballistics's People

Contributors

ds-dos avatar

Stargazers

MJ avatar

Watchers

 avatar

Forkers

andresgongora

open-source-ballistics's Issues

Coding style

Is there a coding style for this project?

If not, may I suggest PEP8? It's the standard for Python and it's super easy to apply using an automated tool such as black. In fact, I had to disable mine while running on the project because I have set it to to auto run when I save.

The only "controversial" point of PEP8 is the line length limit. It recommends 79 chars. Seeing how you've written the script @ds-dos , I believe you are likely more inclined to 100 or 120 chars. Luckily that something that can easily be configured in black.

Let me know about the style such that I can use it for future PRs :)
I've seen a few small bugs in the code that I want to address.
It's nice being able to work on this with you!

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.