# Computational Geometry: Regular Distribution of Points inside of a Polygon

**URL:** <https://discourse.julialang.org/t/computational-geometry-regular-distribution-of-points-inside-of-a-polygon/39523>\
**Category:** Numerics\
**Tags:** polygons\
**Created:** [May 15, 2020, 1:43pm UTC](https://discourse.julialang.org/t/computational-geometry-regular-distribution-of-points-inside-of-a-polygon/39523 "2020-05-15T13:43:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [May 15, 2020, 2:00pm UTC](https://discourse.julialang.org/t/computational-geometry-regular-distribution-of-points-inside-of-a-polygon/39523/2 "2020-05-15T14:00:28Z")

</div>

See also this discussion: [Mesh/grid over convex polytope](https://discourse.julialang.org/t/mesh-grid-over-convex-polytope/36047) (and also [Is there a simple way to generate uniform points within a given region?](https://discourse.julialang.org/t/is-there-a-simple-way-to-generate-uniform-points-within-a-given-region/29800)). The former thread includes [example code](https://discourse.julialang.org/t/mesh-grid-over-convex-polytope/36047/11) that produces a picture very similar to the one you linked.

---

_[View the full topic](https://discourse.julialang.org/t/computational-geometry-regular-distribution-of-points-inside-of-a-polygon/39523)._
