# Does anyone know how I can make that (mesh)

**URL:** <https://discourse.processing.org/t/does-anyone-know-how-i-can-make-that-mesh/11783>\
**Category:** Coding Questions\
**Created:** [June 2, 2019, 7:11pm UTC](https://discourse.processing.org/t/does-anyone-know-how-i-can-make-that-mesh/11783 "2019-06-02T19:11:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eyvindr](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@Eyvindr](https://discourse.processing.org/u/Eyvindr)\
**Post date:** [June 2, 2019, 7:11pm UTC](https://discourse.processing.org/t/does-anyone-know-how-i-can-make-that-mesh/11783/1 "2019-06-02T19:11:06Z")

</div>

![56288c12d4cff](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/7/79ed107de096c60ce170a837717aaadeb4b0cb6b.jpeg)

Does anyone knows how to make one of these? I am really trying my best, but somehow can’t figure it out…  
I have to do this as a project in uni. I have to include the pattern in a letter.

I would very much appreciate your help! Thank you very much!

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [June 3, 2019, 10:19am UTC](https://discourse.processing.org/t/does-anyone-know-how-i-can-make-that-mesh/11783/2 "2019-06-03T10:19:58Z")

</div>

In theory this is a height field

Start with size(…P3D);

Then make a grid of points PVector that you can connect with lines

beginShape would also be possible

Now x and z position of each point is fixed. Y is your actual data/value/height

Start with a random y value

Or set a sinus on it

Now maybe look at example for noise 3D

Also the points might be loosely connected like with springs- see example spring

Search here for 3D  
[https://www.openprocessing.org](https://www.openprocessing.org)

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [June 3, 2019, 11:13am UTC](https://discourse.processing.org/t/does-anyone-know-how-i-can-make-that-mesh/11783/3 "2019-06-03T11:13:49Z")

</div>

Maybe this is interesting

> [@Noise grid stops moving after a while](https://discourse.processing.org/t/noise-grid-stops-moving-after-a-while/11704/2):
>
> It does keep going, but it doesn’t keep displaying. Your problem is that you have global variables – in particular, speed (fart) – that you keep incrementing, until the number is so large your sketch doesn’t work anymore. Try bouncing that value around between -1 and 1, for example: float gridcelleStr =8; float gridBredde; float gridHoejde; float faktor = 2; float fart; float fart\_diff = 0.0000002; float xPos; float yPos; float tal; float strFaktor = 30; void setup() { size(1200, 1200, …
