How to generate a Penrose tessellation around a given tile?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite
1












Given a starting Penrose tile, I need to build a "spiraling" tessellation around it.



The following picture illustrates the request:



enter image description here



In this example, the starting tile is a "thin rhombus" (the pink one).




I need to write an algorithm which is able to generate the $n$ tiles (and whose output is, for instance a, SVG file), starting from any given tile, and with the possibility of coloring the tiles according to a given sequence of $n$ colors.




Thanks for your help!



NOTE: This post is related to this one.










share|cite|improve this question



















  • 1




    From a graph-point-of-view, you are traversing the dual-graph of the tiling, with the convention of taking the right-most turn each time.
    – Alex R.
    Sep 10 at 19:07










  • @AlexR. The dual graph is the network of the centers of the tiles, right? In this case, the problem becomes how to predict the $n$-th center, right?
    – Andrea Prunotto
    Sep 10 at 19:11










  • How is your penrose tiling stored?
    – Alex R.
    Sep 10 at 20:46










  • So far I made a Xfig file (mcj.sourceforge.net), which can be easily transformed into a SVG file and viceversa, perhaps more common. In practice, for each tile I have 4 points. But I'm not sure it is the best way to store it.
    – Andrea Prunotto
    Sep 10 at 21:10










  • Say, I would prefer not to store the underlying Penrose tiling, but to generate the next tile from first principles, a bit as i tried to depict in the figure above.
    – Andrea Prunotto
    Sep 10 at 21:16














up vote
3
down vote

favorite
1












Given a starting Penrose tile, I need to build a "spiraling" tessellation around it.



The following picture illustrates the request:



enter image description here



In this example, the starting tile is a "thin rhombus" (the pink one).




I need to write an algorithm which is able to generate the $n$ tiles (and whose output is, for instance a, SVG file), starting from any given tile, and with the possibility of coloring the tiles according to a given sequence of $n$ colors.




Thanks for your help!



NOTE: This post is related to this one.










share|cite|improve this question



















  • 1




    From a graph-point-of-view, you are traversing the dual-graph of the tiling, with the convention of taking the right-most turn each time.
    – Alex R.
    Sep 10 at 19:07










  • @AlexR. The dual graph is the network of the centers of the tiles, right? In this case, the problem becomes how to predict the $n$-th center, right?
    – Andrea Prunotto
    Sep 10 at 19:11










  • How is your penrose tiling stored?
    – Alex R.
    Sep 10 at 20:46










  • So far I made a Xfig file (mcj.sourceforge.net), which can be easily transformed into a SVG file and viceversa, perhaps more common. In practice, for each tile I have 4 points. But I'm not sure it is the best way to store it.
    – Andrea Prunotto
    Sep 10 at 21:10










  • Say, I would prefer not to store the underlying Penrose tiling, but to generate the next tile from first principles, a bit as i tried to depict in the figure above.
    – Andrea Prunotto
    Sep 10 at 21:16












up vote
3
down vote

favorite
1









up vote
3
down vote

favorite
1






1





Given a starting Penrose tile, I need to build a "spiraling" tessellation around it.



The following picture illustrates the request:



enter image description here



In this example, the starting tile is a "thin rhombus" (the pink one).




I need to write an algorithm which is able to generate the $n$ tiles (and whose output is, for instance a, SVG file), starting from any given tile, and with the possibility of coloring the tiles according to a given sequence of $n$ colors.




Thanks for your help!



NOTE: This post is related to this one.










share|cite|improve this question















Given a starting Penrose tile, I need to build a "spiraling" tessellation around it.



The following picture illustrates the request:



enter image description here



In this example, the starting tile is a "thin rhombus" (the pink one).




I need to write an algorithm which is able to generate the $n$ tiles (and whose output is, for instance a, SVG file), starting from any given tile, and with the possibility of coloring the tiles according to a given sequence of $n$ colors.




Thanks for your help!



NOTE: This post is related to this one.







geometry discrete-mathematics math-software hamiltonian-path tiling






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 3 hours ago

























asked Sep 10 at 18:43









Andrea Prunotto

1,401726




1,401726







  • 1




    From a graph-point-of-view, you are traversing the dual-graph of the tiling, with the convention of taking the right-most turn each time.
    – Alex R.
    Sep 10 at 19:07










  • @AlexR. The dual graph is the network of the centers of the tiles, right? In this case, the problem becomes how to predict the $n$-th center, right?
    – Andrea Prunotto
    Sep 10 at 19:11










  • How is your penrose tiling stored?
    – Alex R.
    Sep 10 at 20:46










  • So far I made a Xfig file (mcj.sourceforge.net), which can be easily transformed into a SVG file and viceversa, perhaps more common. In practice, for each tile I have 4 points. But I'm not sure it is the best way to store it.
    – Andrea Prunotto
    Sep 10 at 21:10










  • Say, I would prefer not to store the underlying Penrose tiling, but to generate the next tile from first principles, a bit as i tried to depict in the figure above.
    – Andrea Prunotto
    Sep 10 at 21:16












  • 1




    From a graph-point-of-view, you are traversing the dual-graph of the tiling, with the convention of taking the right-most turn each time.
    – Alex R.
    Sep 10 at 19:07










  • @AlexR. The dual graph is the network of the centers of the tiles, right? In this case, the problem becomes how to predict the $n$-th center, right?
    – Andrea Prunotto
    Sep 10 at 19:11










  • How is your penrose tiling stored?
    – Alex R.
    Sep 10 at 20:46










  • So far I made a Xfig file (mcj.sourceforge.net), which can be easily transformed into a SVG file and viceversa, perhaps more common. In practice, for each tile I have 4 points. But I'm not sure it is the best way to store it.
    – Andrea Prunotto
    Sep 10 at 21:10










  • Say, I would prefer not to store the underlying Penrose tiling, but to generate the next tile from first principles, a bit as i tried to depict in the figure above.
    – Andrea Prunotto
    Sep 10 at 21:16







1




1




From a graph-point-of-view, you are traversing the dual-graph of the tiling, with the convention of taking the right-most turn each time.
– Alex R.
Sep 10 at 19:07




From a graph-point-of-view, you are traversing the dual-graph of the tiling, with the convention of taking the right-most turn each time.
– Alex R.
Sep 10 at 19:07












@AlexR. The dual graph is the network of the centers of the tiles, right? In this case, the problem becomes how to predict the $n$-th center, right?
– Andrea Prunotto
Sep 10 at 19:11




@AlexR. The dual graph is the network of the centers of the tiles, right? In this case, the problem becomes how to predict the $n$-th center, right?
– Andrea Prunotto
Sep 10 at 19:11












How is your penrose tiling stored?
– Alex R.
Sep 10 at 20:46




How is your penrose tiling stored?
– Alex R.
Sep 10 at 20:46












So far I made a Xfig file (mcj.sourceforge.net), which can be easily transformed into a SVG file and viceversa, perhaps more common. In practice, for each tile I have 4 points. But I'm not sure it is the best way to store it.
– Andrea Prunotto
Sep 10 at 21:10




So far I made a Xfig file (mcj.sourceforge.net), which can be easily transformed into a SVG file and viceversa, perhaps more common. In practice, for each tile I have 4 points. But I'm not sure it is the best way to store it.
– Andrea Prunotto
Sep 10 at 21:10












Say, I would prefer not to store the underlying Penrose tiling, but to generate the next tile from first principles, a bit as i tried to depict in the figure above.
– Andrea Prunotto
Sep 10 at 21:16




Say, I would prefer not to store the underlying Penrose tiling, but to generate the next tile from first principles, a bit as i tried to depict in the figure above.
– Andrea Prunotto
Sep 10 at 21:16















active

oldest

votes











Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2912213%2fhow-to-generate-a-penrose-tessellation-around-a-given-tile%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2912213%2fhow-to-generate-a-penrose-tessellation-around-a-given-tile%23new-answer', 'question_page');

);

Post as a guest













































































這個網誌中的熱門文章

How to combine Bézier curves to a surface?

Why am i infinitely getting the same tweet with the Twitter Search API?

Carbon dioxide