CSS Paint Worklet Playground - Online Houdini Backgrounds
Register and apply a custom paint worklet to draw a background pattern dynamically. Write the paint function in the browser.
UD5 Toolkit
background-image, border-image, or mask-image. The worklet runs on a separate thread and renders into a PaintRenderingContext2D, similar to Canvas 2D. Use paint(workletName) in your CSS to invoke it.if ('paintWorklet' in CSS).
inputProperties: ['--my-color'] in registerPaint(), then set --my-color: red in CSS. Access via properties.get('--my-color') in the paint() method. 2) Arguments — define inputArguments: ['<number>'] and pass values directly: paint(worklet, 5). Properties auto-trigger repaint when changed; arguments require explicit updates.PaintRenderingContext2D is a subset of the full Canvas 2D API. Limitations include: no text rendering (fillText), no drawImage, no pixel manipulation (getImageData/putImageData), no pattern creation, no shadow properties, and no globalCompositeOperation. The worklet also cannot access the DOM, use setTimeout, or make network requests. It's designed for pure, stateless image generation.background-image, another for border-image, and yet another for mask-image. You can also use ::before and ::after pseudo-elements, each with their own paint() calls. Each worklet runs independently, allowing complex compositions purely in CSS.Register and apply a custom paint worklet to draw a background pattern dynamically. Write the paint function in the browser.
Add many complex CSS styles and measure frames per second. Isolate expensive properties. Practical performance lab.
Write or paste HTML, CSS, and JavaScript and instantly see the rendered output in a sandboxed iframe. A handy frontend prototyping tool.
Write JavaScript using element.animate() and see the result in a live preview. Compare with CSS keyframes. Debugger included.
A beautiful full‑screen drawing canvas with variable brush sizes, colors, and an eraser. Export your sketch as PNG. All data stays local.
A full‑screen drawing canvas supporting multiple touch points simultaneously. Different colors per finger. Works on mobile.
Enter the amount of leftover paint and see how many square feet it still covers. Plan touch-ups.
Draw shapes and experiment with globalCompositeOperation. See Porter‑Duff operators in action. Great for game devs.
Type raw HTML and see the escaped version, then see how it renders when unescaped. Understand encoding better.
Move your mouse or finger to create colorful paint splatters on canvas. Great stress reliever. Download as PNG.
Write Markdown and see the formatted HTML preview in real time. Syntax highlighting and GitHub-flavored Markdown support. No upload, fully local.
Create CSS mask‑image effects with custom shapes, gradients, and SVGs. Visually see the mask applied to an image. Copy the CSS.
Apply content‑visibility: auto to off‑screen sections and see the rendering cost drop. Demos for infinite scroll optimization.
Calculate how much thinner to add to achieve the right viscosity for spray guns. Common ratios.
Select starting and ending surface condition to get an optimal sandpaper grit sequence. Never skip a grit again and achieve a flawless wood finish.
Visually create the glassmorphism effect: background blur, transparency, and border. Copy the complete CSS. Modern UI design.
Toggle content‑visibility: auto on long blocks and see the rendering time difference. Understand this powerful property.
Create a custom element with named slots and see content projection in action. Learn Web Components basics.
Limit browser gestures on an element: pan‑x, pinch‑zoom, manipulation. Draw on a canvas to test. Mobile dev helper.
Enter nozzle type and surface area to get optimal spray distance, sweep speed, and estimated cans needed. Prevent runs and drips.
Select any HTML element on a page and capture its screenshot. Download as PNG. Perfect for bug reports. JavaScript API demo.
See how overflow: visible, hidden, scroll, and auto behave with real content. Clone to test with your text.
Select paint type and brand to get the recommended thinning ratio for airbrush. Achieve smooth, clog-free spraying.
Take a screenshot of the current browser tab using Screen Capture API. Crop, annotate with text and arrows, and download as PNG. Local only.
Create a pure CSS scroll progress indicator using animation‑timeline: scroll(). No JavaScript. Copy the complete code.
Pixelate selected areas of an image to hide faces or sensitive data. Adjust block size. Download the censored result.
Upload a small image and see it tiled as a canvas pattern. Export the pattern or copy the JavaScript.
Customize falling snow particles with pure CSS or canvas. Adjust speed, size, and wind. Copy the code for your website.
Render 1000 styled elements using inline styles vs. CSS classes and compare time. Understand CSS‑in‑JS trade‑offs.
Draw a digit (0‑9) on the canvas and a simple neural net guess the number. Educational demo. No upload.