publiclab/image-sequencer

View on GitHub
src/modules/Dynamic/info.json

Summary

Maintainability
Test Coverage
{
  "name": "dynamic",
  "description": "A module which accepts JavaScript math expressions to produce each color channel based on the original image's color. See <a href='https://publiclab.org/wiki/infragram-sandbox'>Infragrammar</a>.",
  "inputs": {
    "red": {
      "type": "string",
      "desc": "Expression to return for red channel with R, G, B, and A inputs",
      "default": "r"
    },
    "green": {
      "type": "string",
      "desc": "Expression to return for green channel with R, G, B, and A inputs",
      "default": "g"
    },
    "blue": {
      "type": "string",
      "desc": "Expression to return for blue channel with R, G, B, and A inputs",
      "default": "b"
    }
  },
  "docs-link":"https://github.com/publiclab/image-sequencer/blob/main/docs/MODULES.md#dynamic-module"
}