# Slow PGraphics at high resolution!

**URL:** <https://discourse.processing.org/t/slow-pgraphics-at-high-resolution/40864>\
**Category:** Beginners\
**Created:** [February 7, 2023, 4:42pm UTC](https://discourse.processing.org/t/slow-pgraphics-at-high-resolution/40864 "2023-02-07T16:42:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aryszin](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Post date:** [February 7, 2023, 4:42pm UTC](https://discourse.processing.org/t/slow-pgraphics-at-high-resolution/40864/1 "2023-02-07T16:42:40Z")

</div>

Is it possible to make a 4000\*4000 pixel big pgraphics with 60 fps? or access only one part of a graphics object? edit: or could i run the code on the gpu & does it use all cores of the cpu by default?

---

<div class="post-metadata">

**Author:** ![Aryszin](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Post date:** [February 7, 2023, 5:26pm UTC](https://discourse.processing.org/t/slow-pgraphics-at-high-resolution/40864/2 "2023-02-07T17:26:09Z")

</div>

If you create the PGraphics also with P2D like

```auto
createGraphics(960,540,P2D);

```

it runs like a charm, you dont need to change anthing, besides if you have threads that use the pg!
