Editor Workflows
Color Grade LUT Wiper
A before-and-after wiper: a flat grey-teal scene on the left and a navy, red and amber print grade on the right, with a split handle that sweeps on its own or follows a drag.
canvasmedium complexitymoderate motionpointeraccessible
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
1
When to use it
Colour-grading, LUT or photo-filter pages that need a split comparison of an ungraded and a graded frame.
When not to
Judging real colour. Both frames are drawn shapes, and the warmth figure is fixed text.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change the flat and graded palettes in the two createLinearGradient blocks and the silhouette fills in render(), the sun glow colour in the sunGlows array, the sweep range in split = 0.5 + Math.sin(t) * 0.28, and the labels in .sc07-label-left and .sc07-label-right. The stage (#sc07-stage) takes pointer drags and moves #sc07-handle; card colours come from --sc-navy, --sc-red and --sc-cream on :root.
Safe to edit
- flat and graded palettes (gFlat, gKodak, silhouette fills)
- sun glow colour (sunGlows array)
- idle sweep range and speed (t += 0.008, Math.sin(t) * 0.28)
- labels and footer copy (.sc07-label-left, .sc07-label-right, .sc07-foot)
- card colours (--sc-* tokens on :root)
Keep intact
- demo-v1 preview lifecycle: initialize demoEnabled from window.__foreverPreview and stop attract work on the window forever:interactive event; retain manual feedback, settling, cleanup and explicit sessions
Known limitations
- State remains local to each mounted instance; format/theme remount preserves takeover, not component values.
More Editor Workflows components
- Markdown SplitA focused Markdown control flips between readable source and rendered preview, with one large two-state selector designed to stay legible inside a 300px…
- Comment ComposerA single reply control types a useful comment, presses its send action and resolves to a clear sent state without shrinking into a miniature discussion…
- Mention PickerA compact mention field types @ma, reveals one large teammate result, highlights it and resolves into a clear @maya token sized for the public canvas.
- Autosave DraftOne document-status control moves from edited to saving to saved, morphing a neutral dot into a spinner and confirmation mark at clear 300px-tile scale.
- Suggested EditsOne focused inline revision replaces a vague phrase with an exact result, then demonstrates both accept and reject outcomes with large controls.
- Focus WritingA compact focus-mode control turns on, then moves a crisp reading spotlight across three short lines while surrounding copy recedes.