TITLE: Fractal identification
QUESTION [12 upvotes]: I was trying different algorithms out, and after a while, I found this fractal:

The generation has similarities to Koch's curve, but instead of putting triangles on triangles, I put circles on top of circles.
The algorithm is the following:
I go trough the angles between 0 and 360 degrees, and for each angle, I calculate the x and y positions of the next point on the curve with
$P_{x}=\sum_{i=1}^{n} \cos (a \cdot4^{i})\cdot r / 4^{i}$
$P_{y}=\sum_{i=1}^{n} \sin (a \cdot4^{i})\cdot r / 4^{i}$
where a is the current angle, r is the radius if the original circle, n is the level of the fractal and P is the position of the next point.
I looked for hours on the internet, but I couldn't find a similar fractal to this. Does this have a name or is it documented?

REPLY [8 votes]: This is not an actual answer, but it's too long for a comment.
Here is a similar construction:

Here is a Matlab code to plot this family of fractals:
N = 10000; % Number of points
R = 1; % Radius of outer circle
K = 4; % Parameter K
i = 0; % Initial point
f = 1; % Final point
d = f-i;
k = abs(K);
Q = round(log(N*R*(k-1)/d)/log(k)); % Number of iterations
t = 2*pi*(i:d/N:f-d/N);
[a,N] = size(t);
x = zeros(1,N);
y = zeros(1,N);
for q=1:Q
    x = x - (R*(k-1)/k^q)*sin(t*K^q/k);
    y = y + (R*(k-1)/k^q)*cos(t*K^q/k);
end
plot(x,y)
axis equal

The fractal in the link above is for $K = -3$. In your case, you used $K = 4$:

I was particularly interested in the case $K = -2$ and created this animated gif: