{"roots":{"gaussianBlur":"GaussianBlur","unsharpMask":"UnsharpMask","sharpen":"Sharpen","noise":"Noise","link":"Link"},"$defs":{"GaussianBlur":{"type":"object","properties":{"type":{"type":"string","const":"gaussianBlur"},"radius":{"type":"number","description":"How far the blur reaches.","x-unit":"px","minimum":0,"maximum":250,"x-step":0.5,"default":4,"x-widget":"slider"}},"required":["type","radius"],"additionalProperties":false,"description":"A gaussian blur."},"Link":{"type":"object","properties":{"type":{"type":"string","const":"link"},"src":{"type":"string","description":"The drawing it shows: a `.draw.tsx` named by its path from this file's folder, or by an address."},"x":{"type":"number","description":"Where the left edge of the linked artboard is on this one.","x-unit":"px","default":0},"y":{"type":"number","description":"Where the top edge of the linked artboard is on this one.","x-unit":"px","default":0},"inputs":{"type":"object","properties":{},"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"number"}]},"description":"Values for the parameters the linked drawing declares (`export const params`), by name. A parameter that is not named keeps the default the linked drawing gives it."}},"required":["type","src"],"additionalProperties":false,"description":"A link to another drawing: its first artboard, as that file draws it now."},"Noise":{"type":"object","properties":{"type":{"type":"string","const":"noise"},"amount":{"type":"number","x-unit":"%","minimum":0,"maximum":1,"default":0.05,"x-widget":"slider"},"monochrome":{"type":"boolean","description":"Grey grain, not coloured.","default":true},"seed":{"type":"integer","description":"The grain's pattern.","minimum":0,"default":1}},"required":["type","amount","monochrome"],"additionalProperties":false,"description":"Noise (grain), the same for the same seed and position."},"Sharpen":{"type":"object","properties":{"type":{"type":"string","const":"sharpen"},"amount":{"type":"number","x-unit":"%","minimum":0,"maximum":5,"default":0.5,"x-widget":"slider"}},"required":["type","amount"],"additionalProperties":false,"description":"A small, fixed sharpen."},"UnsharpMask":{"type":"object","properties":{"type":{"type":"string","const":"unsharpMask"},"radius":{"type":"number","description":"The blur the edges are found against.","x-unit":"px","minimum":0,"maximum":250,"x-step":0.1,"default":1,"x-widget":"slider"},"amount":{"type":"number","description":"How much of the difference is added.","x-unit":"%","minimum":0,"maximum":5,"default":0.8,"x-widget":"slider"},"threshold":{"type":"number","description":"A difference smaller than this is left alone (keeps smooth areas smooth).","x-unit":"%","minimum":0,"maximum":1,"default":0,"x-widget":"slider"}},"required":["type","radius","amount","threshold"],"additionalProperties":false,"description":"Unsharp mask: the difference from a blur, added back."}}}