reveal-ink-on-hover
| description | Build a local ink-proof reveal under the pointer on a painting or transparent cutout, with aligned artwork, soft brush edges, touch interaction and a keyboard alternative. |
|---|---|
| import_scope | signals-cleared-supporting-files |
| license | MIT |
| license_url | https://github.com/MengTo/Skills/blob/2f8cb46167bec49ee3c4a6ca37972fc065b6b47e/LICENSE |
| name | reveal-ink-on-hover |
| publisher | MengTo |
| repository_url | https://github.com/MengTo/Skills |
| source_url | https://github.com/MengTo/Skills/blob/2f8cb46167bec49ee3c4a6ca37972fc065b6b47e/agent-skills/web-design/reveal-ink-on-hover/SKILL.md |
| upstream_copyright | Copyright (c) 2026 Meng To |
| upstream_revision | 2f8cb46167bec49ee3c4a6ca37972fc065b6b47e |
Ink on hover
Choose an object with edges worth exposing. Folvra's steel finger joints and rivets stay recognizable when the color gives way to a drawing. Export a color plate and a registered ink proof with the same artboard, transparent padding and silhouette. Seedream 5.5 can supply isolated PNG elements. Check actual alpha on two contrasting backgrounds and remove any painted checkerboard or fringe before building the interaction.
Open a window into the ink
Keep a single frame responsible for layout and parallax. Stack the two impressions in that frame and give them exactly the same fitting rule and transform origin. Give the ink impression an opaque paper tone inside the subject's silhouette so the metal underneath cannot show through the drawing. Preserve transparency outside it.
Place a soft mask over the ink impression. A dense center and a broken, feathered perimeter feel like wet ink soaking into paper. In the example, a small static alpha texture moves with the pointer. Compute the pointer coordinates from the visible artwork rectangle, then ease the mask toward them in one animation loop. Recompute the rectangle during scroll or resize. Convert coordinates in the artwork's local space if a parent rotates or scales it. Keep the position and radius independent so moving slowly near a fingertip still produces a readable mark.
Return to the painting
On pointer exit, let the ink recede. On a touchscreen, place it at the tap without capturing a scroll gesture. For keyboard users, provide a named control that switches between the two impressions. Render the final state directly for reduced motion. Leave captions, links and controls outside the decorative mask. Verify both tips of the object and the transparent area around it. A rectangular haze usually means the ink layer lost the original alpha.
Inspect the steel hand. Move from the wrist to the fingertips, tap a joint, or use Show ink drawing.

Copyright (c) 2026 Meng To
The license files are attached. MIT
The attached ZIP contains the pinned supporting files cleared for import. Applicable license notices are attached or included when cleared.
Children
Like how this is organised?
Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.