# Help! I'm trying to tessellate a shape with random vertices

**URL:** <https://discourse.processing.org/t/help-im-trying-to-tessellate-a-shape-with-random-vertices/34093>\
**Category:** Beginners\
**Created:** [December 13, 2021, 8:19am UTC](https://discourse.processing.org/t/help-im-trying-to-tessellate-a-shape-with-random-vertices/34093 "2021-12-13T08:19:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrgrassoxen](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@mrgrassoxen](https://discourse.processing.org/u/mrgrassoxen)\
**Post date:** [December 13, 2021, 8:19am UTC](https://discourse.processing.org/t/help-im-trying-to-tessellate-a-shape-with-random-vertices/34093/1 "2021-12-13T08:19:32Z")

</div>

I am able to create a shape and tesselate it (using a for loop) when I have a FIXED number of vertices on the top/bottom and sides.

However when I try using a random number of vertices for top/bottom and sides, when I go to tesselate the shape, the randomness changes every time thus the tessellation fails.

What’s the best way to set this up?

Once I create a shape using randomness, how do i duplicate and move the the shape without the randomness regenerating new numbers?

Thanks
