node-red-contrib-color-circle 0.0.5
The simplest of simple nodes with color circle
npm install node-red-contrib-color-circle
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

``` 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
サーモグラフィ風の色変化をシグモイド関数で再現する