penrose

program for generating penrose tilings.
Log | Files | Refs | README | LICENSE

commit 12df918c5098b5cb5443b6b51e73aa7f4fd15422
parent b0d238aff0cb7ae95db47d9e653f7ddc611aec5a
Author: mpizzzle <m@michaelpercival.xyz>
Date:   Fri, 23 Oct 2020 20:50:19 +0100

updating scrot2

Diffstat:
MREADME.md | 2++
Mpenrose.cpp | 2+-
Mscrot2.png | 0
3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -2,8 +2,10 @@ program for generating penrose tilings. +## P2 example: ![alt text](https://raw.githubusercontent.com/mpizzzle/penrose/master/scrot.png) +## P3 example: ![alt text](https://raw.githubusercontent.com/mpizzzle/penrose/master/scrot2.png) work in progress. diff --git a/penrose.cpp b/penrose.cpp @@ -17,7 +17,7 @@ static const bool p2 = false; //tiling type (p2, p3) static const glm::vec4 primary(0.7f, 0.0f, 0.35f, 1.0f); static const glm::vec4 secondary(0.35f, 1.0f, 0.7f, 1.0f); -static const glm::vec4 line(0.7f, 0.35f, 1.0f, 1.0f); +static const glm::vec4 line(1.0f, 0.35f, 1.0f, 1.0f); static const glm::vec4 background(0.35f, 0.15f, 0.35f, 1.0f); static const float phi = 1.0 / ((1.0 + sqrt(5.0)) / 2); diff --git a/scrot2.png b/scrot2.png Binary files differ.