LensDistortion
Split content into shifting chromatic layers with barrel or pincushion lens warp. Powered by Paper Shaders.
Props
Prop
Details
center{x: number, y: number}Default:
{"x":0.5,"y":0.5}The center point of the lens effect — the focus zone, lens warp, circle crop and swirl all pivot around it
center{x: number, y: number}Default: {"x":0.5,"y":0.5}The center point of the lens effect — the focus zone, lens warp, circle crop and swirl all pivot around it
spreadnumberDefault:
0.6Strength of the color split; how far the color layers are pushed apart (0 is off)
spreadnumberDefault: 0.6Strength of the color split; how far the color layers are pushed apart (0 is off)
anglenumberDefault:
0Direction of the spread in degrees
anglenumberDefault: 0Direction of the spread in degrees
perspectivenumberDefault:
0.1Shapes the spread direction from a straight line (0) to a radial burst out from the centre (1)
perspectivenumberDefault: 0.1Shapes the spread direction from a straight line (0) to a radial burst out from the centre (1)
biasnumberDefault:
1Shifts the colors toward one end of the spread; 0 spaces them evenly
biasnumberDefault: 1Shifts the colors toward one end of the spread; 0 spaces them evenly
countnumberDefault:
35Number of sampled color layers along the spread; higher is smoother and costlier
countnumberDefault: 35Number of sampled color layers along the spread; higher is smoother and costlier
dispersionnumberDefault:
1Overall amount of color dispersion; 1 gives each layer its own color from the spectrum, 0 keeps the original color
dispersionnumberDefault: 1Overall amount of color dispersion; 1 gives each layer its own color from the spectrum, 0 keeps the original color
dispersionShiftnumberDefault:
0Balance of the dispersion between a soft circular zone at the centre and the rest; -1 keeps it in the centre only, 1 at the edges only
dispersionShiftnumberDefault: 0Balance of the dispersion between a soft circular zone at the centre and the rest; -1 keeps it in the centre only, 1 at the edges only
dispersionColornumberDefault:
0.6Rotates the dispersion colors around the hue wheel, 0 to 1 for a full turn
dispersionColornumberDefault: 0.6Rotates the dispersion colors around the hue wheel, 0 to 1 for a full turn
focusCenternumberDefault:
0.8Reduces the spread in a circular zone at the centre; 0 keeps it full to the centre
focusCenternumberDefault: 0.8Reduces the spread in a circular zone at the centre; 0 keeps it full to the centre
focusEdgesnumberDefault:
1Reduces the spread toward the edges; 1 restores the original image there
focusEdgesnumberDefault: 1Reduces the spread toward the edges; 1 restores the original image there
lensBulgenumberDefault:
0Radial lens warp; positive bulges out like a fisheye, negative pinches in like a pincushion
lensBulgenumberDefault: 0Radial lens warp; positive bulges out like a fisheye, negative pinches in like a pincushion
lensCirclenumberDefault:
0Squeezes pixels outside the inscribed circle inward so the outline becomes a circle
lensCirclenumberDefault: 0Squeezes pixels outside the inscribed circle inward so the outline becomes a circle
swirlnumberDefault:
0.35Rotates the color layers around the centre by an angle growing along the spread; 0 is off
swirlnumberDefault: 0.35Rotates the color layers around the centre by an angle growing along the spread; 0 is off
noisenumberDefault:
0Scatters the spread direction with noise; 0 is off
noisenumberDefault: 0Scatters the spread direction with noise; 0 is off
noiseFrequencynumberDefault:
0.25Frequency of the direction noise; higher is finer (no effect with noise at 0)
noiseFrequencynumberDefault: 0.25Frequency of the direction noise; higher is finer (no effect with noise at 0)
noiseOffsetnumberDefault:
0Offsets the noise pattern for a different seed (no effect with noise at 0)
noiseOffsetnumberDefault: 0Offsets the noise pattern for a different seed (no effect with noise at 0)
grainMixernumberDefault:
0Scatters the spread with grain noise, breaking up the edges of the color layers
grainMixernumberDefault: 0Scatters the spread with grain noise, breaking up the edges of the color layers
grainOverlaynumberDefault:
0Post-processing black/white grain overlay
grainOverlaynumberDefault: 0Post-processing black/white grain overlay