igc-xc-score
Version:
igc-xc-score is a paragliding and hang-gliding XC scoring program in vanilla JS
86 lines (83 loc) • 4.39 kB
HTML
<html>
<head>
<meta charset="utf-8">
<title>igc-xc-score</title>
<style>
</style>
</head>
<body>
<div class="container-fluid m-1 h-100">
<div class="row h-100">
<div class="col-12 col-md-4 p-2 d-flex flex-column">
<h1>
igc-xc-score
</h1>
<p class="text-justify">
igc-xc-score is a free and <a href="https://choosealicense.com/licenses/lgpl-3.0/">LGPLed</a> JS library for scoring paragliding/hang-gliding XC flights according to a configurable set of rules
</p>
<p class="text-justify">
It can run in the browser, can be embedded in a desktop application or it can be used as a standalone command-line tool. It currently supports the FFVL, XContest, FAI and XCLeague rules.
Evaluating FAI rules is very slow, refer to the <code>README.md</code> for a full explanation.
</p>
<p class="text-justify">
The full source of the library and this webpage are available here:
</p>
<p class="text-justify">
<a href="https://www.github.com/mmomtchev/igc-xc-score">https://www.github.com/mmomtchev/igc-xc-score</a>
</p class="text-justify">
<small class="text-muted mb-3 text-justify">
Your IGC file never leaves your computer. You can download this page from the github link and use it while offline.
The CPU used for the optimization process is your CPU through the JS engine of your browser.
You need a good computer with a good browser.
Chrome, Firefox, Safari and the latest Edge since January 2020 should be ok.
Everything else is probably not and will be slow.
</small>
<div class="jumbotron shadow p-1">
<div class="btn-group row">
<div class="dropdown col-6">
<button class="btn btn-secondary dropdown-toggle w-100" type="button" id="igc-scoringRules" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
<div id="igc-scoringRulesList" class="dropdown-menu" aria-labelledby="igc-scoringRules">
</div>
</div>
<div class="col-6">
<label class="btn btn-primary w-100">
<input id="igc-upload" type="file" accept=".igc" hidden>
Select IGC
</label>
</div>
<div class="offset-1 col-3">
<label class="form-check-label small w-100">
<input type="checkbox" class="form-check-input ctrl-process" id="igc-hp">
High Precision
</label>
</div>
<div class="offset-3 col-3">
<label class="form-check-label small">
<input type="checkbox" class="form-check-input ctrl-process" id="igc-trim">
Trim to Launch/Landing
</label>
</div>
</div>
</div>
<div class="jumbotron shadow p-1">
<p id="status" class="m-0 ml-2 mr-2 p-1">ready</p>
</div>
<div id="spinner">
<img style="width: 6rem;" src="pacman.svg"/>
</div>
<div class="mt-auto">
<footer class="ml-auto blockquote-footer">
<p>Momtchil Momtchev, <a href="https://www.velivole.fr/">velivole.fr</a> / <a href="https://www.meteo.guru/">meteo.guru</a> / 2020-2022</p>
<p id="igc-xc-score-version">igc-xc-score</p>
</footer>
</div>
</div>
<div class="col-12 col-md-8">
<div id="map"></div>
<script src="bundle.js"></script>
</div>
</div>
</div>
</body>
</html>