e>ggfx-mask.R</code> file</p>
</div>
</div>
</section>
<section id="displace" class="level2 page-columns page-full">
<h2 class="anchored" data-anchor-id="displace">Displace</h2>
<p>Displacement filters are conceptually simple, but extremely powerful, and can be a bit counterintuitive to work with in practice. The idea to shift all the pixels in one layer based on the pixel values in another layer (referred to as the displacement map). For example, a black pixel in the displacement map might be interpreted t