See internals documentation for subclassing notes.
Currently the library supports basic rendering of targets, and Megalink style rendering of cards and ranges. Norwegian DFS-targets are implemented, but the library is designed to be extended with implementations of other targets.
A norwegian 15 meters range with 10 shooters, rendered using the
A single norwegian 15 meters lane, rendered using the
See data format on how cards and ranges are represented.
See rendering for details on how to render these
Below is a basic example of how to draw a single lane using LiveShot. See it in action here.
Here's an example of how to render a range using LiveShot:
// create the rangevar range =;// create the cardsvar cardBuilder = ;var cards = ;for var i = 0; i < 10; ++icards;// get a reference to the canvas element you want to render invar canvas = document;documentbody;// render the range Megalink style in the canvasvar renderer =;
List of implemented targets
- DFS 15m target (
- DFS 100m target (
- DFS 200m target (
- DFS 300m target (