One would think the dimension of this shape would be something >1, but since the Moran equation yields 0.97 which is <1, my algorithm in its current form settles for just plain 1.
The FractaSketch program that was the original inspiration for this applet does this as well.
___
I fixed a bug with the grid resizing feature; the version on the site would make the current shape invisible after resizing, and the code I was working with disabled grid-resizing altogether after starting to build a shape. Now users can change the grid size at any time without losing their work.
___
I also made a change in how the different orientations get treated through replication steps. It's hard to explain concisely but for an example: before, a yellow (y-axis reflection) segment reproduced by any other segment would be a yellow segment still, but now it gets composed with the segment reproducing it so when a purple (x-axis reflection) reproduces a yellow, it turns it into a blue (pi-rotation), and when a blue reproduces a yellow it turns it into a purple and so on. For illustration, take this seed and its second iteration (which looks the same in both versions):
Before, the third iteration looked like this:
After, the third iteration looks like this:
and after a while it looks like this:
Also this week I've started a new project - an applet to measure fractal dimension on networks.
No comments:
Post a Comment