# How to make a 2d Zoom and Pan

**URL:** <https://discourse.processing.org/t/how-to-make-a-2d-zoom-and-pan/1179>\
**Category:** Coding Questions\
**Created:** [June 23, 2018, 9:38am UTC](https://discourse.processing.org/t/how-to-make-a-2d-zoom-and-pan/1179 "2018-06-23T09:38:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [June 23, 2018, 10:53am UTC](https://discourse.processing.org/t/how-to-make-a-2d-zoom-and-pan/1179/2 "2018-06-23T10:53:18Z")

</div>

If you check panning in the forum you will get some hits.

> [How to pan an image](https://discourse.processing.org/t/how-to-pan-an-image/1002)  
> [Need Help: Zoomable interface for a procedural drawing program](https://discourse.processing.org/t/need-help-zoomable-interface-for-a-procedural-drawing-program/243)

The post of interest for your topic:

[https://forum.processing.org/two/discussion/20813/zooming-and-panning-headache#latest](https://forum.processing.org/two/discussion/20813/zooming-and-panning-headache#latest)[Scale Translate AB comparission - Processing 2.x and 3.x Forum](https://forum.processing.org/two/discussion/20853/scale-translate-ab-comparission#latest)

Kf

---

_[View the full topic](https://discourse.processing.org/t/how-to-make-a-2d-zoom-and-pan/1179)._
