Effects node

Pinch Punch

Pulls pixels toward a centre point (pinch) or pushes them outward (punch). Amount below 1 pinches inward and above 1 punches outward; the default 1.5 punches. Radius (0.05 to 1) sets the reach, and Center X and Center Y set where it sits. Everyday use: a bulge or a fisheye-style lens warp. Also called a bulge, a pinch or a magnifying lens.

Download the patchRead in the manual

The Pinch Punch node in Infinite, showing its inputs, controls and outputs.

What it does

Pinch Punch is an image effect: it changes the picture that flows through it. It takes picture in and gives picture out.

Try it

Animate Amount between 0.5 and 2 with an LFO for a bulge that pulses in the middle of a face.

VideopinchpunchOutput

Inputs and outputs

Inputs

  • picture input

Outputs

  • picture out

Controls

Every control with a range can be driven by a modulator, a note, an audio level or a sketch.

ControlRange or optionsDefault
amount0.1 to 41.5
radius0.05 to 10.5
center x0 to 10.5
center y0 to 10.5

Example patch

This patch wires Pinch Punch to what it needs and shows the result. Download it, then use File, Open in Infinite, or read it here: it is plain text.

infinite-patch 1
rev 2
# Pinch Punch: a starting patch for the Pinch Punch node
node 1 Effects pinchpunch
  id node
  pos 520 300
end
node 2 Source Ramp
  id in0
  pos 0 300
end
node 3 Utility Output
  id out
  pos 1080 300
end
cable node 0 in0
cable out 0 node

More effects nodes