[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"guide-nav":3,"doc-\u002Fdocs\u002Fprimitives\u002Feffects-overlay":145},[4,10,16,20,24,28,32,36,40,44,48,52,56,60,64,69,73,78,82,86,90,94,98,102,106,110,114,117,120,124,127,131,134,138,141],{"path":5,"title":6,"description":7,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide","Getting started","Shaders is a library of GPU effect components for Vue, React, Svelte, Solid, JavaScript and Framer, with a design editor for building with them.","code",null,{"path":11,"title":12,"description":13,"category":8,"exclude":14,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fquickstart","Quickstart","Install Shaders, render your first effect, and drive a prop from state.",[15],"js",{"path":17,"title":18,"description":19,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fcomposing-effects","Composing effects","Stack components as layers and nest them to control which layers an effect touches.",{"path":21,"title":22,"description":23,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fblending-masking","Blending and masking","Control how a layer mixes with the layers below it, and reveal one layer through another.",{"path":25,"title":26,"description":27,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fprops-reactivity","Props and reactivity","Bind props to your framework's state so effects update when it changes, and animate props with an animation library.",{"path":29,"title":30,"description":31,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fdynamic-props","Dynamic props","Drive any numeric or position prop from time, the cursor, or another layer, without writing animation code.",{"path":33,"title":34,"description":35,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Flayout-positioning","Layout and positioning","Size and place a shader in your page with CSS, as a background, a fill, or an inline block.",{"path":37,"title":38,"description":39,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Ftransforms","Transforms","Position, size, and rotate any layer inside the canvas with a bounding box, in % or px units.",{"path":41,"title":42,"description":43,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fshape-effects","Shape effects","Pick the 2D, 3D or custom SVG shape that Glass, Neon, Emboss and other shape effects draw inside.",{"path":45,"title":46,"description":47,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fcolor-space","Color space","Match colors to your design tool with the output color space, and keep bright layers from clipping with tone mapping.",{"path":49,"title":50,"description":51,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fhooks-events","Hooks and events","Run code when an effect is ready to show, and show a fallback when the GPU can't run it.",{"path":53,"title":54,"description":55,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fperformance","Performance","Learn what makes an effect expensive on the GPU and how to keep it inside the frame budget.",{"path":57,"title":58,"description":59,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fcustom-shaders","Custom components","Write your own component in TypeScript, use it like any component in the library, and write WGSL by hand when you need to.",{"path":61,"title":62,"description":63,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Ftelemetry","Telemetry","The `\u003CShader>` component occasionally sends an anonymous performance report to help us improve the engine over time.",{"path":65,"title":66,"description":67,"category":68,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fmcp","Shaders MCP","Connect your AI coding agent to Shaders so it can find, install and edit effects in your codebase.","workflows",{"path":70,"title":71,"description":72,"category":68,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fcli","Shaders CLI","Install shaders and presets into your codebase as component files, and keep them in sync with the design editor.",{"path":74,"title":75,"description":76,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fquick-tour-of-the-design-editor","Quick tour of the design editor","A short walkthrough of the full Shaders workflow, from designing on the infinite canvas to exporting code.","editor",{"path":79,"title":80,"description":81,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fintro-to-the-interface","Intro to the interface","A tour of the design editor interface: the canvas, layers, the Properties panel, and the ways to share and export.",{"path":83,"title":84,"description":85,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fcomposing-your-first-shader-effect","Composing your first shader effect","Building a first shader effect in the design editor by stacking and nesting components as layers.",{"path":87,"title":88,"description":89,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fmasking-and-blending","Masking and blending","How blend modes and masks combine components in the design editor.",{"path":91,"title":92,"description":93,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fdynamic-prop-mapping","Dynamic prop mapping","Turning static props into dynamic ones in the design editor: mapping one layer's output into another's prop, following the cursor, or animating automatically.",{"path":95,"title":96,"description":97,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fcustom-media-and-transformations","Custom media and transformations","Uploading images, videos, and SVG files to the media gallery, adding them to a composition, and placing them with transformations.",{"path":99,"title":100,"description":101,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Finstalling-a-shader-via-mcp","Installing a shader via MCP","Installing a shader from the design editor into a hero section with the Shaders MCP.",{"path":103,"title":104,"description":105,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fexploring-shape-effects","Exploring shape effects","Applying shape effects such as liquid glass, liquid metal, and glowing edges to built-in shapes and your own SVG.",{"path":107,"title":108,"description":109,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fglass-component-spotlight","Component spotlight: Glass","A short look at the Glass component and the liquid-glass look it creates.",{"path":111,"title":112,"description":113,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fdigital-looks-component-spotlight","Component spotlight: Digital looks","A look at the digital stylization components for glitchy, futuristic, or technical effects.",{"path":115,"title":12,"description":116,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fjs\u002Fquickstart","Install Shaders without a framework, render your first effect on a canvas, and update props at runtime.",{"path":118,"title":12,"description":119,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Freact\u002Fquickstart","Install Shaders in a React app, render your first effect, and drive a prop from state.",{"path":121,"title":122,"description":123,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Freact\u002Fssr","Next.js and SSR","Render Shaders in Next.js and other React SSR apps by keeping each shader on the client.",{"path":125,"title":12,"description":126,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fsolid\u002Fquickstart","Install Shaders in a Solid app, render your first effect, and drive a prop from a signal.",{"path":128,"title":129,"description":130,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fsolid\u002Fssr","SolidStart and SSR","Render Shaders in SolidStart and other Solid SSR apps by keeping each shader on the client.",{"path":132,"title":12,"description":133,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fsvelte\u002Fquickstart","Install Shaders in a Svelte app, render your first effect, and drive a prop from state.",{"path":135,"title":136,"description":137,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fsvelte\u002Fssr","SvelteKit and SSR","Render Shaders in SvelteKit and other Svelte SSR apps, where each shader already waits for the browser.",{"path":139,"title":12,"description":140,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fvue\u002Fquickstart","Install Shaders in a Vue app, render your first effect, and drive a prop from a ref.",{"path":142,"title":143,"description":144,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fvue\u002Fssr","Nuxt and SSR","Render Shaders in Nuxt and other Vue SSR apps by keeping each shader on the client.",{"id":146,"title":147,"body":148,"categoryId":1331,"categorySlug":1332,"categoryTitle":9,"curated":295,"description":1333,"editUrl":1334,"extension":1335,"group":1336,"groupTitle":1337,"kind":9,"meta":1338,"navigation":295,"path":1339,"seo":1340,"sourceUrl":1341,"stem":1342,"wordCount":292,"__hash__":1343},"primitives\u002Fdocs\u002Fprimitives\u002F34.effects-overlay\u002Findex.md","Overlays",{"type":149,"value":150,"toc":1325},"minimark",[151,155,174,194,223,228,270,274,1253,1257,1295,1299,1321],[152,153,147],"h1",{"id":154},"overlays",[156,157,158,159,166,167,173],"p",{},"Heads-up-display overlays: whole fragments that look at the layer inside, find things in it\nand draw chrome on top. ",[160,161,163],"a",{"href":162},"\u002Fdocs\u002Fprimitives\u002Feffects-overlay\u002Fdetectionoverlay",[8,164,165],{},"detectionOverlay"," cuts the canvas into cells, finds the bright,\ndark, colored or opaque content in each and draws a bounding box with an optional label\naround it, the computer-vision look. ",[160,168,170],{"href":169},"\u002Fdocs\u002Fprimitives\u002Feffects-overlay\u002Fmotiontrackerhud",[8,171,172],{},"motionTrackerHud"," draws tracker gizmos that chase\ncontent over time, dropping keyframe diamonds behind them along their paths.",[156,175,176,177,180,181,184,185,189,190,193],{},"Both words return a fragment for a ",[8,178,179],{},"gpu:"," definition rather than an ",[8,182,183],{},"effect:","; the child is\nread as a texture and shows through underneath. ",[160,186,187],{"href":169},[8,188,172],{}," only draws: the trackers\ncome from the tracker pursuit simulation, which the same definition runs as its ",[8,191,192],{},"compute:","\npass. Sizes are in pixels on a 1080-pixel-tall canvas and scale with the canvas height.\nColors are color props.",[195,196,201],"pre",{"className":197,"code":198,"language":199,"meta":200,"style":200},"language-ts shiki shiki-themes github-dark","import {effects} from 'shaders\u002Fstd'\n","ts","",[8,202,203],{"__ignoreMap":200},[204,205,208,212,216,219],"span",{"class":206,"line":207},"line",1,[204,209,211],{"class":210},"snl16","import",[204,213,215],{"class":214},"s95oV"," {effects} ",[204,217,218],{"class":210},"from",[204,220,222],{"class":221},"sU2Wk"," 'shaders\u002Fstd'\n",[224,225,227],"h2",{"id":226},"reach-for-it-when","Reach for it when",[229,230,231,244],"table",{},[232,233,234],"thead",{},[235,236,237,241],"tr",{},[238,239,240],"th",{},"When you need",[238,242,243],{},"Use",[245,246,247,259],"tbody",{},[235,248,249,253],{},[250,251,252],"td",{},"bounding boxes and labels around whatever is in the layer",[250,254,255],{},[160,256,257],{"href":162},[8,258,165],{},[235,260,261,264],{},[250,262,263],{},"trackers that follow moving content and leave keyframe trails",[250,265,266],{},[160,267,268],{"href":169},[8,269,172],{},[224,271,273],{"id":272},"example","Example",[195,275,277],{"className":197,"code":276,"language":199,"meta":200,"style":200},"import {defineShader, p, effects, transformColor, transformBoolean} from 'shaders\u002Fstd'\n\nconst {detectionOverlay} = effects.overlay\n\n\u002F\u002F Object detection HUD: corner-bracket boxes around bright content, with a dimensions label.\nexport const Detector = defineShader({\n  name: 'Detector',\n  role: 'overlay',\n  requiresRTT: true,\n  requiresChild: true,\n  props: {\n    detectionMode: {default: 'bright', compileTime: true, ui: {type: 'select', options: [{label: 'Bright', value: 'bright'}, {label: 'Dark', value: 'dark'}, {label: 'Opaque', value: 'alpha'}]}},\n    threshold: {default: 0.25, ui: {type: 'range', min: 0, max: 1, step: 0.01}},\n    layout: {default: 'mosaic', compileTime: true, ui: {type: 'select', options: [{label: 'Grid', value: 'grid'}, {label: 'Quadtree', value: 'quadtree'}, {label: 'Mosaic', value: 'mosaic'}]}},\n    cellSize: {default: 400, ui: {type: 'range', min: 24, max: 800, step: 1}},\n    maxDepth: {default: 2, compileTime: true, ui: {type: 'range', min: 1, max: 5, step: 1}},\n    boxStyle: {default: 'corners', compileTime: true, ui: {type: 'select', options: [{label: 'Full', value: 'full'}, {label: 'Corners', value: 'corners'}]}},\n    lineWidth: {default: 1.5, ui: {type: 'range', min: 0.5, max: 12, step: 0.5}},\n    cornerRadius: {default: 0, ui: {type: 'range', min: 0, max: 40, step: 1}},\n    strokeColor: {default: '#ffffff', transform: transformColor},\n    fillColor: {default: '#5a79911a', transform: transformColor},\n    labelColor: {default: '#000000', transform: transformColor},\n    labelBackgroundColor: {default: '#ffffff', transform: transformColor},\n    labelMode: {default: 'dimensions', compileTime: true, ui: {type: 'select', options: [{label: 'None', value: 'none'}, {label: 'Dimensions', value: 'dimensions'}, {label: 'Percentage', value: 'percentage'}]}},\n    labelPosition: {default: 'bottom-right', compileTime: true, ui: {type: 'select', options: [{label: 'Bottom left', value: 'bottom-left'}, {label: 'Bottom right', value: 'bottom-right'}, {label: 'Top left', value: 'top-left'}, {label: 'Top right', value: 'top-right'}]}},\n    labelInset: {default: true, transform: transformBoolean, ui: {type: 'checkbox'}},\n    labelRadius: {default: 0, ui: {type: 'range', min: 0, max: 30, step: 1}},\n    fontFamily: {default: 'Inter', ui: {type: 'font-family'}},\n    fontWeight: {default: 500, ui: {type: 'font-weight'}},\n    fontSize: {default: 0.015, ui: {type: 'range', min: 0.01, max: 0.5, step: 0.005}},\n    letterSpacing: {default: 0, ui: {type: 'range', min: -0.1, max: 0.5, step: 0.005}},\n  },\n  gpu: {fragment: detectionOverlay({\n    detectionMode: p('detectionMode'), threshold: p('threshold'),\n    layout: p('layout'), cellSize: p('cellSize'), maxDepth: p('maxDepth'),\n    boxStyle: p('boxStyle'), lineWidth: p('lineWidth'), cornerRadius: p('cornerRadius'),\n    strokeColor: p('strokeColor'), fillColor: p('fillColor'),\n    labelColor: p('labelColor'), labelBackgroundColor: p('labelBackgroundColor'),\n    labelMode: p('labelMode'), labelPosition: p('labelPosition'),\n    labelInset: p('labelInset'), labelRadius: p('labelRadius'),\n    fontFamily: p('fontFamily'), fontWeight: p('fontWeight'),\n    fontSize: p('fontSize'), letterSpacing: p('letterSpacing'),\n  })},\n})\n",[8,278,279,290,297,318,323,330,352,364,375,386,396,402,457,492,540,569,601,639,668,695,707,718,729,739,787,845,861,888,904,920,948,978,984,994,1021,1056,1091,1116,1141,1166,1191,1216,1241,1247],{"__ignoreMap":200},[204,280,281,283,286,288],{"class":206,"line":207},[204,282,211],{"class":210},[204,284,285],{"class":214}," {defineShader, p, effects, transformColor, transformBoolean} ",[204,287,218],{"class":210},[204,289,222],{"class":221},[204,291,293],{"class":206,"line":292},2,[204,294,296],{"emptyLinePlaceholder":295},true,"\n",[204,298,300,303,306,309,312,315],{"class":206,"line":299},3,[204,301,302],{"class":210},"const",[204,304,305],{"class":214}," {",[204,307,165],{"class":308},"sDLfK",[204,310,311],{"class":214},"} ",[204,313,314],{"class":210},"=",[204,316,317],{"class":214}," effects.overlay\n",[204,319,321],{"class":206,"line":320},4,[204,322,296],{"emptyLinePlaceholder":295},[204,324,326],{"class":206,"line":325},5,[204,327,329],{"class":328},"sAwPA","\u002F\u002F Object detection HUD: corner-bracket boxes around bright content, with a dimensions label.\n",[204,331,333,336,339,342,345,349],{"class":206,"line":332},6,[204,334,335],{"class":210},"export",[204,337,338],{"class":210}," const",[204,340,341],{"class":308}," Detector",[204,343,344],{"class":210}," =",[204,346,348],{"class":347},"svObZ"," defineShader",[204,350,351],{"class":214},"({\n",[204,353,355,358,361],{"class":206,"line":354},7,[204,356,357],{"class":214},"  name: ",[204,359,360],{"class":221},"'Detector'",[204,362,363],{"class":214},",\n",[204,365,367,370,373],{"class":206,"line":366},8,[204,368,369],{"class":214},"  role: ",[204,371,372],{"class":221},"'overlay'",[204,374,363],{"class":214},[204,376,378,381,384],{"class":206,"line":377},9,[204,379,380],{"class":214},"  requiresRTT: ",[204,382,383],{"class":308},"true",[204,385,363],{"class":214},[204,387,389,392,394],{"class":206,"line":388},10,[204,390,391],{"class":214},"  requiresChild: ",[204,393,383],{"class":308},[204,395,363],{"class":214},[204,397,399],{"class":206,"line":398},11,[204,400,401],{"class":214},"  props: {\n",[204,403,405,408,411,414,416,419,422,425,428,431,433,436,439,441,444,446,449,451,454],{"class":206,"line":404},12,[204,406,407],{"class":214},"    detectionMode: {default: ",[204,409,410],{"class":221},"'bright'",[204,412,413],{"class":214},", compileTime: ",[204,415,383],{"class":308},[204,417,418],{"class":214},", ui: {type: ",[204,420,421],{"class":221},"'select'",[204,423,424],{"class":214},", options: [{label: ",[204,426,427],{"class":221},"'Bright'",[204,429,430],{"class":214},", value: ",[204,432,410],{"class":221},[204,434,435],{"class":214},"}, {label: ",[204,437,438],{"class":221},"'Dark'",[204,440,430],{"class":214},[204,442,443],{"class":221},"'dark'",[204,445,435],{"class":214},[204,447,448],{"class":221},"'Opaque'",[204,450,430],{"class":214},[204,452,453],{"class":221},"'alpha'",[204,455,456],{"class":214},"}]}},\n",[204,458,460,463,466,468,471,474,477,480,483,486,489],{"class":206,"line":459},13,[204,461,462],{"class":214},"    threshold: {default: ",[204,464,465],{"class":308},"0.25",[204,467,418],{"class":214},[204,469,470],{"class":221},"'range'",[204,472,473],{"class":214},", min: ",[204,475,476],{"class":308},"0",[204,478,479],{"class":214},", max: ",[204,481,482],{"class":308},"1",[204,484,485],{"class":214},", step: ",[204,487,488],{"class":308},"0.01",[204,490,491],{"class":214},"}},\n",[204,493,495,498,501,503,505,507,509,511,514,516,519,521,524,526,529,531,534,536,538],{"class":206,"line":494},14,[204,496,497],{"class":214},"    layout: {default: ",[204,499,500],{"class":221},"'mosaic'",[204,502,413],{"class":214},[204,504,383],{"class":308},[204,506,418],{"class":214},[204,508,421],{"class":221},[204,510,424],{"class":214},[204,512,513],{"class":221},"'Grid'",[204,515,430],{"class":214},[204,517,518],{"class":221},"'grid'",[204,520,435],{"class":214},[204,522,523],{"class":221},"'Quadtree'",[204,525,430],{"class":214},[204,527,528],{"class":221},"'quadtree'",[204,530,435],{"class":214},[204,532,533],{"class":221},"'Mosaic'",[204,535,430],{"class":214},[204,537,500],{"class":221},[204,539,456],{"class":214},[204,541,543,546,549,551,553,555,558,560,563,565,567],{"class":206,"line":542},15,[204,544,545],{"class":214},"    cellSize: {default: ",[204,547,548],{"class":308},"400",[204,550,418],{"class":214},[204,552,470],{"class":221},[204,554,473],{"class":214},[204,556,557],{"class":308},"24",[204,559,479],{"class":214},[204,561,562],{"class":308},"800",[204,564,485],{"class":214},[204,566,482],{"class":308},[204,568,491],{"class":214},[204,570,572,575,578,580,582,584,586,588,590,592,595,597,599],{"class":206,"line":571},16,[204,573,574],{"class":214},"    maxDepth: {default: ",[204,576,577],{"class":308},"2",[204,579,413],{"class":214},[204,581,383],{"class":308},[204,583,418],{"class":214},[204,585,470],{"class":221},[204,587,473],{"class":214},[204,589,482],{"class":308},[204,591,479],{"class":214},[204,593,594],{"class":308},"5",[204,596,485],{"class":214},[204,598,482],{"class":308},[204,600,491],{"class":214},[204,602,604,607,610,612,614,616,618,620,623,625,628,630,633,635,637],{"class":206,"line":603},17,[204,605,606],{"class":214},"    boxStyle: {default: ",[204,608,609],{"class":221},"'corners'",[204,611,413],{"class":214},[204,613,383],{"class":308},[204,615,418],{"class":214},[204,617,421],{"class":221},[204,619,424],{"class":214},[204,621,622],{"class":221},"'Full'",[204,624,430],{"class":214},[204,626,627],{"class":221},"'full'",[204,629,435],{"class":214},[204,631,632],{"class":221},"'Corners'",[204,634,430],{"class":214},[204,636,609],{"class":221},[204,638,456],{"class":214},[204,640,642,645,648,650,652,654,657,659,662,664,666],{"class":206,"line":641},18,[204,643,644],{"class":214},"    lineWidth: {default: ",[204,646,647],{"class":308},"1.5",[204,649,418],{"class":214},[204,651,470],{"class":221},[204,653,473],{"class":214},[204,655,656],{"class":308},"0.5",[204,658,479],{"class":214},[204,660,661],{"class":308},"12",[204,663,485],{"class":214},[204,665,656],{"class":308},[204,667,491],{"class":214},[204,669,671,674,676,678,680,682,684,686,689,691,693],{"class":206,"line":670},19,[204,672,673],{"class":214},"    cornerRadius: {default: ",[204,675,476],{"class":308},[204,677,418],{"class":214},[204,679,470],{"class":221},[204,681,473],{"class":214},[204,683,476],{"class":308},[204,685,479],{"class":214},[204,687,688],{"class":308},"40",[204,690,485],{"class":214},[204,692,482],{"class":308},[204,694,491],{"class":214},[204,696,698,701,704],{"class":206,"line":697},20,[204,699,700],{"class":214},"    strokeColor: {default: ",[204,702,703],{"class":221},"'#ffffff'",[204,705,706],{"class":214},", transform: transformColor},\n",[204,708,710,713,716],{"class":206,"line":709},21,[204,711,712],{"class":214},"    fillColor: {default: ",[204,714,715],{"class":221},"'#5a79911a'",[204,717,706],{"class":214},[204,719,721,724,727],{"class":206,"line":720},22,[204,722,723],{"class":214},"    labelColor: {default: ",[204,725,726],{"class":221},"'#000000'",[204,728,706],{"class":214},[204,730,732,735,737],{"class":206,"line":731},23,[204,733,734],{"class":214},"    labelBackgroundColor: {default: ",[204,736,703],{"class":221},[204,738,706],{"class":214},[204,740,742,745,748,750,752,754,756,758,761,763,766,768,771,773,775,777,780,782,785],{"class":206,"line":741},24,[204,743,744],{"class":214},"    labelMode: {default: ",[204,746,747],{"class":221},"'dimensions'",[204,749,413],{"class":214},[204,751,383],{"class":308},[204,753,418],{"class":214},[204,755,421],{"class":221},[204,757,424],{"class":214},[204,759,760],{"class":221},"'None'",[204,762,430],{"class":214},[204,764,765],{"class":221},"'none'",[204,767,435],{"class":214},[204,769,770],{"class":221},"'Dimensions'",[204,772,430],{"class":214},[204,774,747],{"class":221},[204,776,435],{"class":214},[204,778,779],{"class":221},"'Percentage'",[204,781,430],{"class":214},[204,783,784],{"class":221},"'percentage'",[204,786,456],{"class":214},[204,788,790,793,796,798,800,802,804,806,809,811,814,816,819,821,823,825,828,830,833,835,838,840,843],{"class":206,"line":789},25,[204,791,792],{"class":214},"    labelPosition: {default: ",[204,794,795],{"class":221},"'bottom-right'",[204,797,413],{"class":214},[204,799,383],{"class":308},[204,801,418],{"class":214},[204,803,421],{"class":221},[204,805,424],{"class":214},[204,807,808],{"class":221},"'Bottom left'",[204,810,430],{"class":214},[204,812,813],{"class":221},"'bottom-left'",[204,815,435],{"class":214},[204,817,818],{"class":221},"'Bottom right'",[204,820,430],{"class":214},[204,822,795],{"class":221},[204,824,435],{"class":214},[204,826,827],{"class":221},"'Top left'",[204,829,430],{"class":214},[204,831,832],{"class":221},"'top-left'",[204,834,435],{"class":214},[204,836,837],{"class":221},"'Top right'",[204,839,430],{"class":214},[204,841,842],{"class":221},"'top-right'",[204,844,456],{"class":214},[204,846,848,851,853,856,859],{"class":206,"line":847},26,[204,849,850],{"class":214},"    labelInset: {default: ",[204,852,383],{"class":308},[204,854,855],{"class":214},", transform: transformBoolean, ui: {type: ",[204,857,858],{"class":221},"'checkbox'",[204,860,491],{"class":214},[204,862,864,867,869,871,873,875,877,879,882,884,886],{"class":206,"line":863},27,[204,865,866],{"class":214},"    labelRadius: {default: ",[204,868,476],{"class":308},[204,870,418],{"class":214},[204,872,470],{"class":221},[204,874,473],{"class":214},[204,876,476],{"class":308},[204,878,479],{"class":214},[204,880,881],{"class":308},"30",[204,883,485],{"class":214},[204,885,482],{"class":308},[204,887,491],{"class":214},[204,889,891,894,897,899,902],{"class":206,"line":890},28,[204,892,893],{"class":214},"    fontFamily: {default: ",[204,895,896],{"class":221},"'Inter'",[204,898,418],{"class":214},[204,900,901],{"class":221},"'font-family'",[204,903,491],{"class":214},[204,905,907,910,913,915,918],{"class":206,"line":906},29,[204,908,909],{"class":214},"    fontWeight: {default: ",[204,911,912],{"class":308},"500",[204,914,418],{"class":214},[204,916,917],{"class":221},"'font-weight'",[204,919,491],{"class":214},[204,921,923,926,929,931,933,935,937,939,941,943,946],{"class":206,"line":922},30,[204,924,925],{"class":214},"    fontSize: {default: ",[204,927,928],{"class":308},"0.015",[204,930,418],{"class":214},[204,932,470],{"class":221},[204,934,473],{"class":214},[204,936,488],{"class":308},[204,938,479],{"class":214},[204,940,656],{"class":308},[204,942,485],{"class":214},[204,944,945],{"class":308},"0.005",[204,947,491],{"class":214},[204,949,951,954,956,958,960,962,965,968,970,972,974,976],{"class":206,"line":950},31,[204,952,953],{"class":214},"    letterSpacing: {default: ",[204,955,476],{"class":308},[204,957,418],{"class":214},[204,959,470],{"class":221},[204,961,473],{"class":214},[204,963,964],{"class":210},"-",[204,966,967],{"class":308},"0.1",[204,969,479],{"class":214},[204,971,656],{"class":308},[204,973,485],{"class":214},[204,975,945],{"class":308},[204,977,491],{"class":214},[204,979,981],{"class":206,"line":980},32,[204,982,983],{"class":214},"  },\n",[204,985,987,990,992],{"class":206,"line":986},33,[204,988,989],{"class":214},"  gpu: {fragment: ",[204,991,165],{"class":347},[204,993,351],{"class":214},[204,995,997,1000,1002,1005,1008,1011,1013,1015,1018],{"class":206,"line":996},34,[204,998,999],{"class":214},"    detectionMode: ",[204,1001,156],{"class":347},[204,1003,1004],{"class":214},"(",[204,1006,1007],{"class":221},"'detectionMode'",[204,1009,1010],{"class":214},"), threshold: ",[204,1012,156],{"class":347},[204,1014,1004],{"class":214},[204,1016,1017],{"class":221},"'threshold'",[204,1019,1020],{"class":214},"),\n",[204,1022,1024,1027,1029,1031,1034,1037,1039,1041,1044,1047,1049,1051,1054],{"class":206,"line":1023},35,[204,1025,1026],{"class":214},"    layout: ",[204,1028,156],{"class":347},[204,1030,1004],{"class":214},[204,1032,1033],{"class":221},"'layout'",[204,1035,1036],{"class":214},"), cellSize: ",[204,1038,156],{"class":347},[204,1040,1004],{"class":214},[204,1042,1043],{"class":221},"'cellSize'",[204,1045,1046],{"class":214},"), maxDepth: ",[204,1048,156],{"class":347},[204,1050,1004],{"class":214},[204,1052,1053],{"class":221},"'maxDepth'",[204,1055,1020],{"class":214},[204,1057,1059,1062,1064,1066,1069,1072,1074,1076,1079,1082,1084,1086,1089],{"class":206,"line":1058},36,[204,1060,1061],{"class":214},"    boxStyle: ",[204,1063,156],{"class":347},[204,1065,1004],{"class":214},[204,1067,1068],{"class":221},"'boxStyle'",[204,1070,1071],{"class":214},"), lineWidth: ",[204,1073,156],{"class":347},[204,1075,1004],{"class":214},[204,1077,1078],{"class":221},"'lineWidth'",[204,1080,1081],{"class":214},"), cornerRadius: ",[204,1083,156],{"class":347},[204,1085,1004],{"class":214},[204,1087,1088],{"class":221},"'cornerRadius'",[204,1090,1020],{"class":214},[204,1092,1094,1097,1099,1101,1104,1107,1109,1111,1114],{"class":206,"line":1093},37,[204,1095,1096],{"class":214},"    strokeColor: ",[204,1098,156],{"class":347},[204,1100,1004],{"class":214},[204,1102,1103],{"class":221},"'strokeColor'",[204,1105,1106],{"class":214},"), fillColor: ",[204,1108,156],{"class":347},[204,1110,1004],{"class":214},[204,1112,1113],{"class":221},"'fillColor'",[204,1115,1020],{"class":214},[204,1117,1119,1122,1124,1126,1129,1132,1134,1136,1139],{"class":206,"line":1118},38,[204,1120,1121],{"class":214},"    labelColor: ",[204,1123,156],{"class":347},[204,1125,1004],{"class":214},[204,1127,1128],{"class":221},"'labelColor'",[204,1130,1131],{"class":214},"), labelBackgroundColor: ",[204,1133,156],{"class":347},[204,1135,1004],{"class":214},[204,1137,1138],{"class":221},"'labelBackgroundColor'",[204,1140,1020],{"class":214},[204,1142,1144,1147,1149,1151,1154,1157,1159,1161,1164],{"class":206,"line":1143},39,[204,1145,1146],{"class":214},"    labelMode: ",[204,1148,156],{"class":347},[204,1150,1004],{"class":214},[204,1152,1153],{"class":221},"'labelMode'",[204,1155,1156],{"class":214},"), labelPosition: ",[204,1158,156],{"class":347},[204,1160,1004],{"class":214},[204,1162,1163],{"class":221},"'labelPosition'",[204,1165,1020],{"class":214},[204,1167,1169,1172,1174,1176,1179,1182,1184,1186,1189],{"class":206,"line":1168},40,[204,1170,1171],{"class":214},"    labelInset: ",[204,1173,156],{"class":347},[204,1175,1004],{"class":214},[204,1177,1178],{"class":221},"'labelInset'",[204,1180,1181],{"class":214},"), labelRadius: ",[204,1183,156],{"class":347},[204,1185,1004],{"class":214},[204,1187,1188],{"class":221},"'labelRadius'",[204,1190,1020],{"class":214},[204,1192,1194,1197,1199,1201,1204,1207,1209,1211,1214],{"class":206,"line":1193},41,[204,1195,1196],{"class":214},"    fontFamily: ",[204,1198,156],{"class":347},[204,1200,1004],{"class":214},[204,1202,1203],{"class":221},"'fontFamily'",[204,1205,1206],{"class":214},"), fontWeight: ",[204,1208,156],{"class":347},[204,1210,1004],{"class":214},[204,1212,1213],{"class":221},"'fontWeight'",[204,1215,1020],{"class":214},[204,1217,1219,1222,1224,1226,1229,1232,1234,1236,1239],{"class":206,"line":1218},42,[204,1220,1221],{"class":214},"    fontSize: ",[204,1223,156],{"class":347},[204,1225,1004],{"class":214},[204,1227,1228],{"class":221},"'fontSize'",[204,1230,1231],{"class":214},"), letterSpacing: ",[204,1233,156],{"class":347},[204,1235,1004],{"class":214},[204,1237,1238],{"class":221},"'letterSpacing'",[204,1240,1020],{"class":214},[204,1242,1244],{"class":206,"line":1243},43,[204,1245,1246],{"class":214},"  })},\n",[204,1248,1250],{"class":206,"line":1249},44,[204,1251,1252],{"class":214},"})\n",[224,1254,1256],{"id":1255},"types","Types",[229,1258,1259,1269],{},[232,1260,1261],{},[235,1262,1263,1266],{},[238,1264,1265],{},"Type",[238,1267,1268],{},"What it is",[245,1270,1271,1284],{},[235,1272,1273,1278],{},[250,1274,1275],{},[8,1276,1277],{},"DetectionOverlaySlots",[250,1279,1280,1281,1283],{},"The props ",[8,1282,165],{}," reads.",[235,1285,1286,1291],{},[250,1287,1288],{},[8,1289,1290],{},"MotionTrackerHudSlots",[250,1292,1280,1293,1283],{},[8,1294,172],{},[224,1296,1298],{"id":1297},"words","Words",[1300,1301,1303],"primitive-words",{":words":1302},"[{\"name\":\"detectionOverlay\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-overlay\u002Fdetectionoverlay\",\"summary\":\"Draw computer-vision style detection boxes over whatever the child contains.\"},{\"name\":\"motionTrackerHud\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-overlay\u002Fmotiontrackerhud\",\"summary\":\"Draw motion-tracker gizmos that chase content across the child, leaving keyframe trails.\"}]",[1304,1305,1306,1314],"ul",{},[1307,1308,1309,1313],"li",{},[160,1310,1311],{"href":162},[8,1312,165],{}," — Draw computer-vision style detection boxes over whatever the child contains.",[1307,1315,1316,1320],{},[160,1317,1318],{"href":169},[8,1319,172],{}," — Draw motion-tracker gizmos that chase content across the child, leaving keyframe trails.",[1322,1323,1324],"style",{},"html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}html pre.shiki code .sAwPA, html code.shiki .sAwPA{--shiki-default:#6A737D}html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}",{"title":200,"searchDepth":292,"depth":292,"links":1326},[1327,1328,1329,1330],{"id":226,"depth":292,"text":227},{"id":272,"depth":292,"text":273},{"id":1255,"depth":292,"text":1256},{"id":1297,"depth":292,"text":1298},"effects.overlay","effects-overlay","Heads-up-display overlays: whole fragments that look at the layer inside, find things in it and draw chrome on top. detectionOverlay cuts the canvas into cells, finds the bright, dark, colored or opaque content in each and draws a bounding box with an optional label around it, the computer-vision look. motionTrackerHud draws tracker gizmos that chase content over time, dropping keyframe diamonds behind them along their paths.","https:\u002F\u002Fgithub.com\u002Fshader-effects-inc\u002Fshaders\u002Fedit\u002Fmain\u002Fpackages\u002Fcore\u002Fdocs\u002Fstd\u002Feffects.overlay.md","md","effects","Filters & effects",{},"\u002Fdocs\u002Fprimitives\u002Feffects-overlay",{"title":147,"description":1333},"https:\u002F\u002Fgithub.com\u002Fshader-effects-inc\u002Fshaders\u002Fblob\u002Fmain\u002Fpackages\u002Fcore\u002Fsrc\u002Fstd\u002Feffects\u002Foverlay.ts","docs\u002Fprimitives\u002F34.effects-overlay\u002Findex","vYTtaBxLEruCkGsMJTCY9MI09CtMB-WXQBsgZbjly2A"]