# Voronoi 2-D

**URL:** <https://forum.dynamobim.com/t/voronoi-2-d/38206>\
**Category:** Geometry\
**Created:** [July 11, 2019, 11:10am UTC](https://forum.dynamobim.com/t/voronoi-2-d/38206 "2019-07-11T11:10:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![inleiva](https://avatars.discourse-cdn.com/v4/letter/i/b3f665/32.png) [@inleiva](https://forum.dynamobim.com/u/inleiva)\
**Post date:** [July 11, 2019, 11:10am UTC](https://forum.dynamobim.com/t/voronoi-2-d/38206/1 "2019-07-11T11:10:38Z")

</div>

When I apply Voronoi to a flat surface, I am not getting the lines that I expect.

I put random points on a surface, and got the result of the first image. But if I do the Voronoi by hand, I get the second image. Hoy can I get that with Dynamo? The red lines are the tessellation, the black lines where just my guides to do it by hand.

As you can see, Dynamo only returns one of the lines.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/7/178c9d19f90af15805c8411658817a34d6ac79b4.png)

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/6/c642ee0d7d4400649d82988bc5b2cd67c377a622.png)

---

<div class="post-metadata">

**Author:** ![Dimitar\_Venkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dimitar_venkov/32/2068_2.png) [@Dimitar\_Venkov](https://forum.dynamobim.com/u/Dimitar_Venkov)\
**Post date:** [July 11, 2019, 12:02pm UTC](https://forum.dynamobim.com/t/voronoi-2-d/38206/2 "2019-07-11T12:02:54Z")

</div>

The voronoi implementation in Dynamo is pretty limited. It has a hard time working with small datasets and works best with lots of points:

 ![QWCRmWWhdC](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/e/6e11c15143a9256e60c915342742db36786feab4.gif)

But in either case some cell borders are missing and the curves are never properly bounded by the surface’s perimeter…
