Whirl and Pinch Filter in GIMP Explained
The Whirl and Pinch filter in GIMP is a versatile distortion tool used to twist and stretch pixels in a circular pattern around a defined center point. This guide covers the core mechanics of the filter, its primary parameters—Whirl Angle, Pinch Amount, and Radius—and practical use cases for image manipulation and graphic design.
How the Filter Works
Located under Filters > Distorts > Whirl and Pinch, this tool maps the pixels of a layer or selection onto a coordinate grid and manipulates their position relative to the center. It combines two distinct mathematical transformations that can be applied individually or simultaneously.
The Whirl Effect
The Whirl setting twists the image around the center of the selection, creating a vortex or spiral effect.
- Positive Whirl Angle: Rotates pixels clockwise.
- Negative Whirl Angle: Rotates pixels counter-clockwise.
- Range: Allows rotation from -720 to 720 degrees, allowing for multiple full rotations for intense spiral distortions.
The Pinch Effect
The Pinch setting simulates drawing an image onto an elastic surface and pulling it toward or pushing it away from the center.
- Positive Pinch Amount (0.0 to 1.0): Compresses pixels toward the center. This creates a concave, "sucked-in" appearance, making the center area look smaller and recessed.
- Negative Pinch Amount (-1.0 to 0.0): Pushes pixels outward away from the center. This creates a convex, "bloated" appearance similar to a fisheye lens or a sphere protruding from the canvas.
The Radius Setting
The Radius slider controls the boundary of the distortion area:
- It defines the distance from the center where the effect reaches 100% falloff.
- Pixels outside this defined radius remain completely unaffected, ensuring a smooth transition back into the rest of the image.
Common Practical Applications
- Caricature and Face Manipulation: Negative pinch values are commonly used to enlarge eyes or facial features, while positive pinch values shrink features.
- Vortex and Fluid Simulation: Applying Whirl alone simulates swirling fluids, drains, galaxies, or smoke effects.
- Lens Correction and Simulation: Pinch values can correct slight barrel or pincushion lens distortions, or artificially recreate fish-eye effects on flat photos.
- Abstract Textures: Repeated applications of both settings create intricate spiral patterns, backgrounds, and optical illusion artwork.