Skip to content

Commit

Permalink
Added progress report to Popcorn Fractal. Additional details:...
Browse files Browse the repository at this point in the history
Additional details: Didn't added it to Thorn Fractal because it was slowing down the filter too much regardless of what I do if anyone asks.
  • Loading branch information
Reptorian1125 committed Sep 1, 2020
1 parent e2d3115 commit 0f3c070
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/reptorian.gmic
Expand Up @@ -89,11 +89,13 @@ l.
const ocx=origin_x*cx;
const ocy=origin_y*cy;
const angcondition=($6-360*floor($6/360))?1;
const total_pts=wh*pts;
rot_x(a,b)=a*cos(ang)-b*sin(ang);
rot_y(a,b)=a*sin(ang)+b*cos(ang);
fvx()="$fvx";
fvy()="$fvy";
count=0;
np=0;
if($9,
if(narg($10),
if(($10%4)==0,func_a(a)=sin(a);,
Expand Down Expand Up @@ -280,6 +282,8 @@ l.
);
xx=xnew;
yy=ynew;
np++;
if(!(np%100000),run('progress ',100*(np/total_pts)));
);
);
);
Expand Down

0 comments on commit 0f3c070

Please sign in to comment.