# Algorithms for penrose tiling patterns

**URL:** <https://discourse.processing.org/t/algorithms-for-penrose-tiling-patterns/27741>\
**Category:** Coding Questions\
**Created:** [February 11, 2021, 8:55pm UTC](https://discourse.processing.org/t/algorithms-for-penrose-tiling-patterns/27741 "2021-02-11T20:55:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [February 11, 2021, 9:01pm UTC](https://discourse.processing.org/t/algorithms-for-penrose-tiling-patterns/27741/2 "2021-02-11T21:01:15Z")

</div>

Perhaps this might help.

> [@Help a newbie with Penrose tilling](https://discourse.processing.org/t/help-a-newbie-with-penrose-tilling/2392):
>
> Hello guys, i have been trying to draw this Penrose tile, I already got the pentagon but now i’m stuck with the other figure. Any help? I’m new to this. [Capture] By the way here’s the code: void setup(){ size(400,400); } void draw(){ beginShape(); vertex(100,100); vertex(140,100); vertex(140+40sin(0.314159),100-40cos(0.314159)); vertex(120,100-40cos(0.314159)-40cos(0.942478)); vertex(100-40sin(0.314159),100-40cos(0.314159)); vertex(100,100);; endShape(); }

Remember this forum has a search function.

---

_[View the full topic](https://discourse.processing.org/t/algorithms-for-penrose-tiling-patterns/27741)._
