Message Boards Message Boards

[GIF] The Great Mystery

Posted 6 years ago

The Great Mystery

The image consists of multiple layers of circles in a hexagonal grid arrangement. The layer scaling factors are integer powers of the golden ratio. Seamless infinite zoom is achieved by gradually blending in / out the fine / large scale layers. Draw function draws a single animation frame:

v1 = {Cos[30 \[Degree]], Sin[30 \[Degree]]};
v2 = {Cos[90 \[Degree]], Sin[90 \[Degree]]};
n = 2;
g ={
    White,
    Table[
       Circle[i v1 + j v2, 1/2],
       {i, -3 n, 3 n, 1/2}, {j, -3 n, 3 n, 1/2}
    ]
};
m = 2;
Draw[ds_] :=
    Graphics[
       {AbsoluteThickness[5/3],
       Table[
         {Opacity[2/3 (m - Abs[i + ds])/m], 
         Scale[g, GoldenRatio^(i + ds), {0, 0}]}, 
         {i, -m, m}
       ]
       },
       PlotRange -> {{-n, n}, {-n, n}},
       Background -> Black,
       ImageSize -> 800
    ];
POSTED BY: Peter Karpov
7 Replies
Posted 6 years ago
POSTED BY: Nural I.
POSTED BY: Udo Krause
Posted 6 years ago

Forgot to mention, ds varies from 0 to 1. It is the fractional part of the scale exponents, so when it reaches 1 we have the same set of scales and a perfect loop. If there was an infinite number of layers, we could change ds from -inf to +inf.

POSTED BY: Peter Karpov

enter image description here - Congratulations! This post is now a Staff Pick as distinguished by a badge on your profile! Thank you, keep it coming!

POSTED BY: Moderation Team
Posted 6 years ago

That looks amazing with that added. If you really want to make it look trippy, add some color to it. lol

POSTED BY: Edgard Murr

Mysterious stuff!

Your posted animated GIF consists of 60 single frames, according to my Australian file manager, file size being 14MB woah. File seems attached to forum. I had thought that file size attachment limitation was 10MB.

Never mind. Loving it too!

POSTED BY: Raspi Rascal
Posted 6 years ago

Love it, great job!

POSTED BY: Bryan Lettner
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract