// $Author: dmc $ $Revision: 2555 $ $Date: 2019-05-02 20:42:20 -0300 (Thu, 02 May 2019) $ // $Id: n-IBS-LR.tgt 2555 2019-05-02 23:42:20Z dmc $ var YARDSTOMETRES = 3 / 3.28; var INCHESTOMM = 25.4; var METRESTOFEET = 3.28; var ibs_blue = 'rgb(31,155,219)'; var prodn = true; // set to false to show 'invisible' rings/lines //var prodn = false; // set to false to show 'invisible' rings/lines module.exports = { 'IBS-1000y': { // http://www.nrahq.org/compete/RuleBooks/HPR/hpr-book.pdf sec. 4.1 distance: 1000 * YARDSTOMETRES, centrecoords: { x: 0, y: 0 }, targetboard: { width: 72 * INCHESTOMM, height: 72 * INCHESTOMM, colour: prodn ? "transparent" : "yellow", bordercolour: "transparent", borderwidth: 10 // invisible }, options: { // 'options' is optional.. ;-) shot_format: '{1}-{2}X', // e.g. "99-7X" }, scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "X", score: [10, 1], colour: "transparent", bordercolour: ibs_blue, borderwidth: 4, type: { name: "ring", dia: 3 * INCHESTOMM } }, { name: "10", score: 10, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 7 * INCHESTOMM } }, { name: "10", score: 10, colour: "white", type: { name: "rect", width: 4 * INCHESTOMM, height: 4 * INCHESTOMM } }, { name: "9", score: 9, colour: ibs_blue, /* no border - aiming mark */ type: { name: "ring", dia: 13 * INCHESTOMM } }, { name: "8", score: 8, colour: "transparent", bordercolour: ibs_blue, type: { name: "ring", dia: 19 * INCHESTOMM } }, { name: "7", score: 7, colour: "transparent", bordercolour: ibs_blue, type: { name: "ring", dia: 25 * INCHESTOMM } }, { name: "6", score: 6, colour: "transparent", bordercolour: ibs_blue, type: { name: "ring", dia: 31 * INCHESTOMM } }, { name: "5", score: 5, colour: "transparent", bordercolour: ibs_blue, type: { name: "ring", dia: 37 * INCHESTOMM } }, { name: "0", score: 0, colour: "white", bordercolour: ibs_blue, borderwidth: 2, type: { name: "rect", width: 42 * INCHESTOMM, height: 42 * INCHESTOMM } }, { name: "0", score: 0, colour: "white", bordercolour: 'black', borderwidth: 10, type: { name: "rect", width: 72 * INCHESTOMM, height: 72 * INCHESTOMM } }, ], }, 'IBS-600y': {// David Waters email 12-Apr: /* 600yd - 17.5x17.5 x-1.2'' 10-2.8'' 9-5.2'' 8-7.6'' 7-10'' 6-12.4'' 5-14.8'' */ distance:600*YARDSTOMETRES, centrecoords: {x:0, y:0}, targetboard: { width: 72 * INCHESTOMM, height: 72 * INCHESTOMM, colour: prodn ? "transparent" : "yellow", bordercolour: "transparent", borderwidth: 10 // invisible }, options: { // 'options' is optional.. ;-) shot_format: '{1}-{2}X', // e.g. "99-7X" }, scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name:"X", score:[10,1], colour:"transparent", bordercolour:ibs_blue, borderwidth:4, type: {name:"ring", dia:1.2*INCHESTOMM } }, { name:"10", score:10, colour:"transparent", bordercolour:"white", bordercolour:'orange', type: {name:"ring", dia:2.8*INCHESTOMM } }, { name:"9", score:9, colour:"white", // confirmed by email - white square is not worth 10pts type: {name:"rect", width: 2.3*INCHESTOMM, height:2.3*INCHESTOMM } }, // ESTIMATED, by looks only { name:"9", score:9, colour:ibs_blue, /* no border - aiming mark */ type: {name:"ring", dia:5.2*INCHESTOMM } }, { name:"8", score:8, colour:"transparent", bordercolour:ibs_blue, type: {name:"ring", dia:7.6*INCHESTOMM } }, { name:"7", score:7, colour:"transparent", bordercolour:ibs_blue, type: {name:"ring", dia:10*INCHESTOMM } }, { name:"6", score:6, colour:"transparent", bordercolour:ibs_blue, type: {name:"ring", dia:12.4*INCHESTOMM } }, { name:"5", score:5, colour:"transparent", bordercolour:ibs_blue, type: {name:"ring", dia:14.8*INCHESTOMM } }, { name: "0", score: 0, colour: "white", bordercolour: ibs_blue, borderwidth: 2, type: { name: "rect", width: 42 * INCHESTOMM, height: 42 * INCHESTOMM } }, { name: "0", score: 0, colour: "white", bordercolour: 'black', borderwidth: 10, type: { name: "rect", width: 72 * INCHESTOMM, height: 72 * INCHESTOMM } }, ], }, }