Toggle Sidebar B
Light & dark mode D

Halftone

Halftone dot pattern effect for printing aesthetics

Halftone dot pattern effect for printing aesthetics

Props

PropTypeDefaultDescription
style"classic" | "cmyk"classicHalftone rendering style
frequencyrange100Frequency of the halftone dots
anglerange45Rotation angle of the pattern (in degrees)
cyanAnglerange15Screen angle for the cyan plate (in degrees)
magentaAnglerange75Screen angle for the magenta plate (in degrees)
yellowAnglerange0Screen angle for the yellow plate (in degrees)
blackAnglerange45Screen angle for the black plate (in degrees)
misprintrange0Simulated mis-registration between plates. Plates are offset around the misprint angle, producing colour fringing at the edges of inked regions.
misprintAnglerange0Direction the plates drift apart. Rotating this rotates the colour-fringing pattern.
paperColorcolor#ffffffPaper/substrate color shown where no ink lands
cyanColorcolor#00ffffCyan ink color
magentaColorcolor#ff00ffMagenta ink color
yellowColorcolor#ffff00Yellow ink color
blackColorcolor#000000Black (key) ink color

Usage

vue
<Shader>
  <Halftone>
    <Circle />
  </Halftone>
</Shader>