Page 1 of 1

Selectors in Ruby (Possible getting the colour module back)?

Posted: Mon Dec 21, 2015 4:49 pm
by djbrynte
I have started to use ruby selectors. and the problem is I want to get the ruby color module. Which code do I need to add Ruby code to get out it?

Translated ;)

Hope this is better then before.

Re: Selectors in Ruby (Possible getting the colour module ba

Posted: Mon Dec 21, 2015 10:58 pm
by billv
djbrynte wrote:Which code do I need to add Ruby code

Drawing color via Ruby is explained well in the manual, starting at Page 142.
Lots of examples using ruby colour are already in your toolbox..eg: "knob", "label"....ect
Anyway, here's some simple demo's stripped down on this fsm,
and also a more complex method of creating lots of colours at once.
Hope this helps.
PS. Don't forget the manual.
Schematic_colour.fsm
(84.6 KiB) Downloaded 767 times

Re: Selectors in Ruby (Possible getting the colour module ba

Posted: Tue Dec 22, 2015 2:32 am
by djbrynte
Nice.