Kinarm | Interactive Robotics Brain Injury Research

  • Products
  • Clinical Applications
  • News
  • Support
  • About Us
  • Contact

Mobile nav

how can i generate a temporary circle on the screen by using vcodes?

how can i generate a temporary circle on the screen by using vcodes?

Posted on Aug 26, 2019

DWQA Questions › Category: KINARM End-Point Lab › how can i generate a temporary circle on the screen by using vcodes?
0 Vote Up Vote Down
Yihui Xu asked 3 years ago

hi, I am now trying to create a circle by using vcodes. I already know that the color of the circle is controlled by VCODES(1,5), but what kind of value should I put to get certain color?

1 Answers
0 Vote Up Vote Down
Koloman Varady Staff answered 3 years ago

Hi Yihui,
The colour value is the decimal equivalent of the RGB value. What I do is take the hex value from any online hex colour picker (I like this one https://htmlcolorcodes.com/color-picker/) and convert it to decimal with hex2dec in MATLAB.

For example, if you want a bright red, the hex value is #FF0000

red = hex2dec(‘FF0000’);

then the vcode for a circle with fill colour red that is 1 cm radius is

circle_vcode = [1 1 x y red 0 0 0 100 0.01 zeros(1,60)];

Cheers,

Koloman

Support

  • User Guides & Documentation
  • Software Downloads
  • Install/Maintain Your KINARM Lab
  • Training Videos
  • New User Training
  • Creating Custom Tasks
  • Sample Custom Tasks
  • Q&A Forum
  • Publications by Research Area

Products

  • Platform Comparison
  • Kinarm Exoskeleton Lab
  • Kinarm End-Point Lab
  • Kinarm Standard Tests
  • Dexterit-E
  • Dexterit-E Explorer
  • NHP Kinarm Exoskeleton Lab

Clinical Applications

  • Clinical Applications
    • Stroke and TIA
    • Traumatic Brain Injury (TBI)
    • Neurological Disease
    • Pediatric
    • Primarily Non-Neurological
  • Clinical Research Sites
  • Publications

News

  • Kinarm News
  • Events
    • Neuroscience
    • Kinarm Camp
  • Product Notices
  • @KinarmLab Twitter Feed
  • Open Jobs

Support

  • Kinarm Help & Support
  • User Guides & Documentation
  • Software Downloads
  • Installing & Maintaining Your Kinarm Lab
  • Training Videos
  • New User Training
  • Creating Custom Tasks
  • Sample Custom Tasks
  • Q&A Forum

About Us

  • About Us
  • Our People
  • Quality
  • Supplier Requirements
  • End-User License Agreement
  • Intellectual Property
  • Privacy & Terms

Contact

  • Contact Kinarm
    • International Sales Agents
  • Request an Account
footer-logo

140 Railway St. Kingston, ON K7K 2L9 Canada Toll Free: (888) 533-4393 Phone: (613) 507-4393 info@kinarm.com

© Copyright BKIN Technologies. All Rights Reserved

Quality | Privacy Policy | Web design/development by 1dea Design + Media Inc.