Print Reveal
Prints an image as a halftone screen and lets the pointer swell the dots back into the real photo, with a lingering trail, a click burst and an intro that grows the dots from the centre.
pixikit.com/docs/effects/print-reveal
Customize
Fit
Mode
Shape
Cell size6px
Angle45deg
Dot scale1.00
Ink color
Accent color
Paper color
Contrast1.10
Brightness0.00
Invert
Roughness0.00
Misregistration0.00
Reveal radius160px
Softness0.60
Linger1.2s
Reverse
Wander
Click burst
Intro
Props
24| Name | Type | Default | Description |
|---|---|---|---|
src | string | SAMPLE | The image to print; it must be served with CORS headers when it is on another origin. |
fit | "contain" | "cover" | "cover" | Show the whole image, or crop it to fill the container. |
mode | "mono" | "duotone" | "color" | "mono" | One ink, two inks at different screen angles, or full colour. |
shape | "dot" | "ellipse" | "square" | "diamond" | "line" | "cross" | "dot" | Shape of the halftone marks. |
cellSize | number | 6 | Spacing of the halftone screen, in pixels. |
angle | number | 45 | Rotation of the screen, in degrees. |
dotScale | number | 1 | Scales every mark; below 1 keeps them apart, above 1 lets them merge sooner. |
inkColor | string | "#120f17" | Colour of the printed marks. |
accentColor | string | "#ff4f2a" | Second ink used in duotone mode. |
paperColor | string | "#ffffff" | Background the image is printed on; match it to the page. |
contrast | number | 1.1 | Tonal contrast applied before printing. |
brightness | number | 0 | Shifts the image lighter or darker before printing. |
invert | boolean | false | Prints a negative of the image. |
roughness | number | 0 | Gives the marks ragged, ink-spread edges, 0 to 1. |
misregistration | number | 0 | Offsets the ink layers like a slightly misaligned press, 0 to 1. |
revealRadius | number | 160 | Radius of the area around the pointer where the dots swell into the real photo, in pixels. |
softness | number | 0.6 | Width of the band where the dots grow into the photo; 0 is a hard edge. |
linger | number | 1.2 | Seconds the revealed trail takes to shrink back into print; 0 turns the trail off. |
reverse | boolean | false | Start as the photo and print wherever the pointer goes. |
wander | boolean | false | Lets the reveal drift around on its own while the pointer is away. |
clickBurst | boolean | true | Clicking sends a ring of colour rippling out through the print. |
intro | boolean | true | Grows the dots in from the centre on load. |
className | string | None | |
style | CSSProperties | None |