Imgix APIsRendering APIWarpDisplacement X

Displacement X

displace-x

The displace-x parameter sets how far a displace map may move pixels horizontally. Without it — and without displace-y — the map is read but nothing moves.

The value is in output pixels, multiplied by dpr, and is clamped to ±999. It is the distance a map value of 0 or 255 produces; a map value of 127 is neutral and never moves a pixel regardless of this setting.

displace-x=15
sandbox-demo
displace-x=60 moves pixels four times as far
sandbox-demo

The layer forms are mark-displace-x and blend-displace-x.