Hi Chris, You can simply modify the VCODES that leave the target block with a function that replaces VCODE(10) with the distance of cursor position and start target. The VISUAL_RADIUS value in the Parameter Table Defn block is only referenced in the Show Target blocks which creates the VCODE. After the VCODE leaves the Show Target block, you can overwrite any parts of it to your liking. The VCODE values that are passed into the Process Video CMD block are the ones that are drawn. Cheers, Koloman
For colours, what I do is I find the hex value using a website like http://www.color-hex.com/ and then convert to decimal using hex2dec. So maybe for green, if you want to use #00ff00: VCODES(6) = hex2dec('00ff00'); I find it's easy for me to keep track of what colour is what and also easy to swap in another colour.
Please login or Register to submit your answer