// // tgtdefs-BDS-9.txt - Z 9 BDS-Kurzwaffenscheibe // I have found http://www.bdsnet.de/downloads/bds_shb_zielscheiben_17-11-2014.pdf // // // $Author: dmc $ $Revision: 835 $ $Date: 2015-09-26 21:50:47 -0300 (Sat, 26 Sep 2015) $ // $Id: tgtdefs-BDS-9.txt 835 2015-09-27 00:50:47Z dmc $ var YARDSTOMETRES = 3/3.28; var INCHESTOMM = 25.4; var METRESTOFEET = 3.28; var prodn = true; // set to false to show 'invisible' rings/lines //var prodn = false; // set to false to show 'invisible' rings/lines var ulm_options_x = { // targets with an "X" // options used by v2.1 code: shot_format: '{1}-{2}X', // e.g. "99-8X" speed_unit_name: 'm/s', // units to report speed; default = 'fps' speed_unit_mpier: 1, // speeds will be round()'ed groupsize_unit_mpier: 1, // show group size in mm groupsize_unit_name: 'mm', // groupsize_unit_ndigs: 0, // XXXmm }; var cream_colour = 'rgb(251,226,169)'; // picked off of a pixel from the image Peter sent me var plywood_colour = 'rgb(174,153,130)'; // mean value of pixels from the photo of plywood that Peter sent me // The target definitions... // module.exports = { 'BDS-Z9': { // #4406 distance:300, centrecoords: {x:0, y:0}, targetboard: { width: 1000, height: 1000, colour:plywood_colour, bordercolour:"transparent", borderwidth:10 }, options: ulm_options_x, grid: { disabled:1 }, bullet_dia: 8, // 8mm gauging desired for paper "bullseye" targets 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:cream_colour, bordercolour:"black", borderwidth:1, type: {name:"ring", dia:25 } }, { name:"10", score:10, colour:cream_colour, bordercolour:"black", borderwidth:1, type: {name:"ring", dia:50 } }, { name:"9", score:9, colour:cream_colour, bordercolour:"black", borderwidth:1, type: {name:"ring", dia:50+50*1 } }, { name:"8", score:8, colour:"black", bordercolour:cream_colour, borderwidth:1, type: {name:"ring", dia:50+50*2 } }, { name:"7", score:7, colour:"black", bordercolour:cream_colour, borderwidth:1, type: {name:"ring", dia:50+50*3 } }, { name:"6", score:6, colour:"transparent", bordercolour:"black", borderwidth:1, type: {name:"ring", dia:200+50*1 } }, { name:"5", score:6, colour:"transparent", bordercolour:"black", borderwidth:1, type: {name:"ring", dia:200+50*2 } }, { name:"4", score:4, colour:"transparent", bordercolour:"black", borderwidth:1, type: {name:"ring", dia:200+50*3 } }, { name:"3", score:3, colour:"transparent", bordercolour:"black", borderwidth:1, type: {name:"ring", dia:200+50*4 } }, { name:"2", score:2, colour:"transparent", bordercolour:"black", borderwidth:1, type: {name:"ring", dia:200+50*5 } }, { name:"1", score:1, colour:"transparent", bordercolour:"black", borderwidth:1, type: {name:"ring", dia:200+50*6 } }, { name:"0", score:0, colour:cream_colour, bordercolour:"black", borderwidth:1, type: {name:"rect", width: 550, height:550 } }, ], }, }