# Creating a grid with a PShape

**URL:** <https://discourse.processing.org/t/creating-a-grid-with-a-pshape/13268>\
**Category:** Coding Questions\
**Created:** [August 9, 2019, 4:23am UTC](https://discourse.processing.org/t/creating-a-grid-with-a-pshape/13268 "2019-08-09T04:23:31Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [August 9, 2019, 7:38am UTC](https://discourse.processing.org/t/creating-a-grid-with-a-pshape/13268/7 "2019-08-09T07:38:07Z")

</div>

> [@Chrisir](#):
>
> That’s totally wrong

@Chrisir, please check again.

> [@thedurf18](#):
>
> shape(a, 25, 25);

also please read prior topic:  
[Indexing a for loop](https://discourse.processing.org/t/indexing-a-for-loop/13231) where i tried already to  
show the purpose of prepared shapes  
so i was thinking there is need to show again,  
what should be done at setup, and what at draw,  
that is what my example is for, and yes, it also shows other things,  
like coding styles … GRID math …

---

_[View the full topic](https://discourse.processing.org/t/creating-a-grid-with-a-pshape/13268)._
