node-red-contrib-color-circle

0.0.5 • Public • Published

Features

Color Circle

Usage

Input Parameters:

  • Value - The range value is 0 ~ 1.0 Value property or the msg.[name] property
  • gain - The value of gain. The default value of gain is 10. The gain is taken from the msg.gain property
  • offset_x - The value of offset_x. The default value of offset_x is 0.2. The gain is taken from the msg.offset_x property
  • offset_green - The value of offset_green. The default value of offset_x is 0.6. The gain is taken from the msg.offset_green property

Return values:

  • payload Will either be details for color or provide an error state
![colorCircle](https://cdn.jsdelivr.net/gh/taminhhienmor/node-red-contrib-color-circle/source/image/colorCircle2.PNG) ``` node [{"id":"27add2f7.f9d87e","type":"inject","z":"699aba61.1a36d4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":200,"y":140,"wires":[["2363c183.e8b41e"]]},{"id":"5b72b364.e3fdac","type":"debug","z":"699aba61.1a36d4","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":710,"y":140,"wires":[]},{"id":"2363c183.e8b41e","type":"colorCircle","z":"699aba61.1a36d4","property":"1","propertyType":"str","x":470,"y":140,"wires":[["5b72b364.e3fdac"]]}] ```

Reference

サーモグラフィ風の色変化をシグモイド関数で再現する

Package Sidebar

Install

npm i node-red-contrib-color-circle

Weekly Downloads

8

Version

0.0.5

License

none

Unpacked Size

75.9 kB

Total Files

7

Last publish

Collaborators

  • taminhhien.mor.vn