BlocklyProp icon indicating copy to clipboard operation
BlocklyProp copied to clipboard

Operators - new category: color?

Open MatzElectronics opened this issue 7 years ago • 2 comments
trafficstars

Currently, in values, there are a couple of blocks that aren't really values - they are color math operations. Additionally, there has been a long standing desire from many individuals who have used RGB-LEDs for some kind of block that can be used to adjust their brightness. This new block would be another color operation block.

Can we discuss moving the existing color operators and the addition of a block or two related to color brightness, or perhaps RGB<->HSL conversion (which could be used for brightness control)?

MatzElectronics avatar Oct 31 '18 19:10 MatzElectronics

I too haven't really liked the color math operations being in values. I think I've naturally looked for them in Operators > Numbers. Maybe they naturally belong there?

The color block is the only among them that is really a value by itself.

I'm tempted to say that the color math and color comparison operators, along with the new brightness and/or RGB<->HSL converter blocks should be in a category of their own, Operators > Color.

PropGit avatar Oct 31 '18 19:10 PropGit

@Steph-Parallax @kgracey any thoughts?

MatzElectronics avatar Nov 26 '18 22:11 MatzElectronics