[{"data":1,"prerenderedAt":227,"buildId":228},["ShallowReactive",2],{"doc-\u002Fdocs\u002Fprimitives\u002Finputs-blur":3,"github-stars":135,"guide-nav":137},{"id":4,"title":5,"body":6,"categoryId":120,"categorySlug":121,"categoryTitle":122,"curated":123,"description":124,"editUrl":125,"extension":126,"group":127,"groupTitle":128,"kind":122,"meta":129,"navigation":130,"path":131,"seo":132,"sourceUrl":125,"stem":133,"wordCount":41,"__hash__":134},"primitives\u002Fdocs\u002Fprimitives\u002F37.inputs-blur\u002Findex.md","Blur",{"type":7,"value":8,"toc":115},"minimark",[9,13,28,57,62,92,96,111],[10,11,5],"h1",{"id":12},"blur",[14,15,16,23,24,27],"p",{},[17,18,20],"a",{"href":19},"\u002Fdocs\u002Fprimitives\u002Finputs-blur\u002Fblur",[21,22,12],"code",{},": a soft copy of any source (the layer inside, an image or layer prop, another input), computed by the engine's tuned compute Gaussian. Read it in WGSL by its name: ",[21,25,26],{},"soft(uv)",".",[29,30,35],"pre",{"className":31,"code":32,"language":33,"meta":34,"style":34},"language-ts shiki shiki-themes github-dark","import {blur} from 'shaders\u002Fstd'\n","ts","",[21,36,37],{"__ignoreMap":34},[38,39,42,46,50,53],"span",{"class":40,"line":41},"line",1,[38,43,45],{"class":44},"snl16","import",[38,47,49],{"class":48},"s95oV"," {blur} ",[38,51,52],{"class":44},"from",[38,54,56],{"class":55},"sU2Wk"," 'shaders\u002Fstd'\n",[58,59,61],"h2",{"id":60},"types","Types",[63,64,65,78],"table",{},[66,67,68],"thead",{},[69,70,71,75],"tr",{},[72,73,74],"th",{},"Type",[72,76,77],{},"What it is",[79,80,81],"tbody",{},[69,82,83,89],{},[84,85,86],"td",{},[21,87,88],{},"BlurInput",[84,90,91],{},"interface BlurInput extends InputNode { readonly kind: 'blur' readonly source: InputSource readonly radius: ScalarArg }",[58,93,95],{"id":94},"words","Words",[97,98,100],"primitive-words",{":words":99},"[{\"name\":\"blur\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Finputs-blur\u002Fblur\",\"summary\":\"A blurred copy of a source, read in WGSL by the name you list it under.\"}]",[101,102,103],"ul",{},[104,105,106,110],"li",{},[17,107,108],{"href":19},[21,109,12],{}," — A blurred copy of a source, read in WGSL by the name you list it under.",[112,113,114],"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);}",{"title":34,"searchDepth":116,"depth":116,"links":117},2,[118,119],{"id":60,"depth":116,"text":61},{"id":94,"depth":116,"text":95},"inputs.blur","inputs-blur",null,false,"blur: a soft copy of any source (the layer inside, an image or layer prop, another input), computed by the engine's tuned compute Gaussian.","https:\u002F\u002Fgithub.com\u002Fshader-effects-inc\u002Fshaders\u002Fblob\u002Fmain\u002Fpackages\u002Fcore\u002Fsrc\u002Fstd\u002Finputs\u002Fblur.ts","md","inputs","Inputs",{},true,"\u002Fdocs\u002Fprimitives\u002Finputs-blur",{"title":5,"description":124},"docs\u002Fprimitives\u002F37.inputs-blur\u002Findex","fWl47tvJ0WeO-MS3F2KavY56T-buGIqFZuyFC12ywHI",{"stars":136},6080,[138,142,146,150,154,158,162,166,170,174,178,182,186,190,194,198,202,207,211,215,219,223],{"path":139,"title":140,"description":141,"category":21},"\u002Fdocs\u002Fguide","Getting started","Shaders is a desktop app where your AI agent designs interactive effects on an infinite canvas, and you shape them by hand.",{"path":143,"title":144,"description":145,"category":21},"\u002Fdocs\u002Fguide\u002Fquickstart","Quickstart","Install Shaders, render your first effect, and drive a prop from state.",{"path":147,"title":148,"description":149,"category":21},"\u002Fdocs\u002Fguide\u002Fcomposing-effects","Composing effects","Stack components as layers and nest them to control which layers an effect touches.",{"path":151,"title":152,"description":153,"category":21},"\u002Fdocs\u002Fguide\u002Fblending-masking","Blending and masking","Control how a layer mixes with the layers below it, and reveal one layer through another.",{"path":155,"title":156,"description":157,"category":21},"\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":159,"title":160,"description":161,"category":21},"\u002Fdocs\u002Fguide\u002Fanimation","Animating a shader","Tween a shader's props with Motion, GSAP or anything else that animates a number.",{"path":163,"title":164,"description":165,"category":21},"\u002Fdocs\u002Fguide\u002Fdynamic-props","Dynamic props","Drive any numeric or position prop from time, the cursor, or another layer, without writing animation code.",{"path":167,"title":168,"description":169,"category":21},"\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":171,"title":172,"description":173,"category":21},"\u002Fdocs\u002Fguide\u002Fsizing-and-units","Sizing and units","Size and place layers in CSS units (px, %, vw, rem, and canvas units) that stay correct as the canvas and window resize.",{"path":175,"title":176,"description":177,"category":21},"\u002Fdocs\u002Fguide\u002Ftransforms","Transforms","Position, size, and rotate any layer inside the canvas with a bounding box, in any CSS unit.",{"path":179,"title":180,"description":181,"category":21},"\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":183,"title":184,"description":185,"category":21},"\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":187,"title":188,"description":189,"category":21},"\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":191,"title":192,"description":193,"category":21},"\u002Fdocs\u002Fguide\u002Fperformance","Performance","Learn what makes an effect expensive on the GPU and how to keep it inside the frame budget.",{"path":195,"title":196,"description":197,"category":21},"\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":199,"title":200,"description":201,"category":21},"\u002Fdocs\u002Fguide\u002Ftelemetry","Telemetry","The `\u003CShader>` component occasionally sends an anonymous performance report to help us improve the engine over time.",{"path":203,"title":204,"description":205,"category":206},"\u002Fdocs\u002Fguide\u002Fmcp","Working with your agent","The Shaders MCP connects your AI agent to the desktop app, so it can design shaders on your canvas and install them in your project.","workflows",{"path":208,"title":209,"description":210,"category":206},"\u002Fdocs\u002Fguide\u002Fcli","Working with the CLI","The Shaders CLI installs shaders from your projects and the Pro library into your codebase as component files, and keeps them in sync as you keep designing.",{"path":212,"title":213,"description":214,"category":206},"\u002Fdocs\u002Fguide\u002Fframeworks","Supported frameworks","Shaders runs in any web project that renders in a browser with WebGPU, with components for React, Vue, Svelte and Solid and a JavaScript API for everything else.",{"path":216,"title":217,"description":218,"category":21},"\u002Fdocs\u002Fguide\u002Fagent-skill","Agent skill for the engine","Teach your coding agent to write Shaders code with the open-source engine, for when it's working in your codebase instead of on the canvas.",{"path":220,"title":221,"description":222,"category":21},"\u002Fdocs\u002Fguide\u002Fvideo-rendering","Rendering to video","Render a shader effect to video frame by frame, from Remotion, Hyperframes or your own headless Chrome script.",{"path":224,"title":225,"description":226,"category":21},"\u002Fdocs\u002Fguide\u002Fssr","Server rendering","Render Shaders in Next.js, Nuxt, SvelteKit, SolidStart and other SSR apps by keeping each shader on the client.",1796051186000,"06e02370-81a6-4d74-9931-661d71414be1"]