# Question on buildGeometry() with p5.js

**URL:** https://discourse.processing.org/t/question-on-buildgeometry-with-p5-js/43473
**Category:** Beginners
**Created:** [December 14, 2023, 10:18am UTC](https://discourse.processing.org/t/question-on-buildgeometry-with-p5-js/43473 "2023-12-14T10:18:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Pierre1](https://avatars.discourse-cdn.com/v4/letter/p/a8b319/32.png) [@Pierre1](https://discourse.processing.org/u/Pierre1)
#### Post date: [December 14, 2023, 10:18am UTC](https://discourse.processing.org/t/question-on-buildgeometry-with-p5-js/43473/1 "2023-12-14T10:18:32Z")

</div>

Using version 4.3  
I am unable to have code with buildGeometry & model working on my PC.  
The example code in p5.js does npt work.  
When I save it on Openprocessing, it works. (happily…)  
All other 3D functions with WEBGL are OK.  
My question : what is wrong in my environment. Is there something to declare ??  
Thanks in advance for help

---

<div class="post-metadata">

### Author: ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)
#### Post date: [December 14, 2023, 3:17pm UTC](https://discourse.processing.org/t/question-on-buildgeometry-with-p5-js/43473/2 "2023-12-14T15:17:01Z")

</div>

Make sure you are using the latest version of p5.js

In your webpage you should link to p5.js with

`<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.8.0/p5.min.js"></script>`

I am assuming that OpenProcessing is using the latest version

---

<div class="post-metadata">

### Author: ![Pierre1](https://avatars.discourse-cdn.com/v4/letter/p/a8b319/32.png) [@Pierre1](https://discourse.processing.org/u/Pierre1)
#### Post date: [December 14, 2023, 3:52pm UTC](https://discourse.processing.org/t/question-on-buildgeometry-with-p5-js/43473/3 "2023-12-14T15:52:47Z")

</div>

Hi Quark

You right.  
With latest version, it works.  
Thanks  
Pierre
