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

For general discussion related FlowStone
Post Reply
djbrynte
Posts: 613
Joined: Mon Jun 22, 2009 10:51 am
Contact:

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

Post 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.
Attachments
Namnlös.png
Namnlös.png (20.85 KiB) Viewed 7662 times
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

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

Post 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 766 times
djbrynte
Posts: 613
Joined: Mon Jun 22, 2009 10:51 am
Contact:

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

Post by djbrynte »

Nice.
Post Reply