GithubHelp home page GithubHelp logo

missile-defense's People

Contributors

jimjkelly avatar wslafoy avatar

Stargazers

 avatar

Watchers

 avatar

missile-defense's Issues

Test Values

The following test values have also been posted on Desmos, where they can be tested against any number of warheads. They can also be freely modified for other tests. Let me know if it doesn't work for any reason
https://www.desmos.com/calculator/dgiqvuwmf3

Distance in Meters, Yield in Kilotons of TNT equivalent, Hardness in PSI
Y=yield
H=Harness
R=reliability
W=Warheads
i=Number of Interceptors Committed per Incoming Target
Ptrack = P(track)= Probability of the Defensive System detecting and tracking incoming target
Case 1:

OFFENSE
For Groundburst Offensive:
Y=750
H=700
CEP=900
R=.8

Equivalent for Notional Offensive:
SSPK=.19019 (this is eq. to the Groundburst Offensive output)
R=.8

Intermediate Variables
SSPK=.19019
TKP=.15215

DEFENSE 1 LAYER

Layer 1:
SSPK = .65
i = 2
Ptrack = .5

OUTPUTS
P(Defensive Layer)=.4388
TKP=.15215 (Repeated here for clarity)
PW=.0854

P(0 at W=1) = .9146
P(0 at W=2) =.8365
P(0 at W=3) =.7651
P(0 at W=4) =.6997

P Value Modifications

I overlooked some minor math errors for P(0), I was focusing on intermediary variables, my mistake!
At line 154 in calc.js:

const PW = (tkp, defensivelayers) => {
return defensivelayers.reduce((p, c) => p * (1 - c), tkp);

Should be

const PW = (tkp, defensivelayers) => {
return defensivelayers.reduce((p, c) => p * c, (1-tkp));

This is my mistake, I told you the incorrect math for this I believe! Apologies

UI: Title, About Nav, and Tutorial Nav

missile.exchange needs small title and link to the about and tutorial pages (http://blog.missile.exchange/about/ and http://blog.missile.exchange/missile-exchange-calculator-tutorial/ respectively)

For now, a small translucent white box (identical to the Layer management box's style) in the upper left above the gradient scale will be good. Gradient scale can be moved down, since we have more vertical real estate at the moment. Nothing too fancy necessary
------------------------
| Missile.Exchange |
| About -- Tutorial |
------------------------

UI: Bold Layer P(x) value

Each Off/Def layers's P value title should be bolded to make it easier for the user to see. Section highlighted below

capture

Clean Up UI

Once all of our UI elements are in place and working we'll want to spruce up how it looks. Add sufficient whitespace between elements, ensure things consistently sit on the same lines, ensure good behavior on screen resize, etc.

Performance Improvements

Thus far I've been relatively negligent of performance considerations, but as feature development decreases some attention is going to be needed in this area as the performance of map operations such as panning and zooming is not smooth.

Add Chart Labels

The Victory people finally got back on this, and said you are on your own for ensuring there's no overlap, so I guess some sort of CSS fix will be necessary to ensure they don't overlap.

Range Circles do not save

Model Switching

Provide an option to switch models, which is hidden when models == 1 (or just comment it out?)

Logging: Systems Deployed

I know we talked about this briefly, but would a save logging system be interesting/ethically acceptable?
Wellerstein's NUKEMAP has a logging function that reports the number of explosions and some basic metrics of it.
Due to the large number of variables here, that seems like a possibly overwhelming log report...
But if every time a layer is committed and generated, its Lat/Long and variables was logged, it'd be interesting to see what trends pop out.

This is low priority though, and doesn't need to be addressed at all if it is too much work.

Hardness (PSI) Resets

Do Compatability Testing for Other Browsers

I note in IE on Windows 8 there are compatibility issues, so I'm writing a note to remind myself to do testing. Scott my assumed targets here are going to be:

Latest Chrome
Latest Firefox
IE 11 and Above
Mobile Safari?
Mobile Chrome?

The mobile browsers will be tough because we'll have to think about how to translate the design without nearly as much screen real estate.

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.