# Displacement Map for Rectangular Lens?

**URL:** <https://forum.kirupa.com/t/displacement-map-for-rectangular-lens/303202>\
**Category:** flash\
**Created:** [January 15, 2010, 11:21pm UTC](https://forum.kirupa.com/t/displacement-map-for-rectangular-lens/303202 "2010-01-15T23:21:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PIxelDroid](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@PIxelDroid](https://forum.kirupa.com/u/PIxelDroid)\
**Post date:** [January 15, 2010, 11:21pm UTC](https://forum.kirupa.com/t/displacement-map-for-rectangular-lens/303202/1 "2010-01-15T23:21:37Z")

</div>

Hi all:  
I am creating an app in which I want to use a displacement driven magnifying glass. But rather than a circle, I’d like the lens to be square and be magnified but not have much distortion in the center. I’ve been trying to adapt the circular maps, but no luck. Anyone have a suggestion?  
Thanks.
