14

Made It! Look at bottom of the post!!!

Smart people of the world...

I'm trying to draw this grid using Processing (java), but I'm having trouble figuring out the smartest way around this. I could basically just plot each point in the repeating section, but I'm sure there's a better way around it.

grid

Any algorithm and language will do. I just need to see the concept.

EDIT

Updated with an image of the logo. This basically shows how I need to ability to "know" what areas are neighbors, in order to create a generative shape from the grid:

logo

EDIT 2

The grid is called a "quasi periodic eight fold grid" by the designer.

EDIT 3

Okay, that was harder than I thought. I've made a lot of progress, and you can find there code here: https://gist.github.com/3682600

I have the sub-divisioning working perfect for both shapes, however, when I start the recursion, something weird is going on. This is my output right now:

test

Any help is appreciated!

Edit 4

Okay, this is turning into an epic task. I've figured out that the problem arises when I the recursion becomes too deep. Either it's a problem with the rotation of the elements, or it's another thing I can't figure out. Anyway, here's the working sketch I have right now:

working

Edit 5

I made it! I had messed up the rotations of the cubes, which messed it all up. I changed it and it's working: https://gist.github.com/3682600. There may be a little too much stuff in there, but it's totally working. Proof:

leve1 level2 level3

4

2 回答 2

5

我不确定会有一个简单的方法,我开始寻找一个重复的部分,但它是准周期性的,或者几乎是重复的。

在此处输入图像描述

它显然在绿线上是对称的,但蓝色标记的图案实际上似乎并没有显示网格看起来远离中心延伸的图案。不过我可能是错的。

于 2012-09-08T20:45:27.713 回答
3

如果这确实是他的评论中提到的Ammann-Beenker 平铺@nm ,那么您最容易使用提供的替代规则对其进行编码。从任意瓷砖开始,然后用较小的瓷砖替换它,直到您有足够数量的瓷砖用于您的目的。请注意,替换规则显然处理有向的半正方形。

于 2012-09-08T20:53:18.493 回答