From 0f3c0707a6a3de95b2a8cdc978371d2115945282 Mon Sep 17 00:00:00 2001 From: Miguel Lopez Date: Tue, 1 Sep 2020 16:32:38 -0400 Subject: [PATCH] Added progress report to Popcorn Fractal. Additional details:... 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. --- include/reptorian.gmic | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/reptorian.gmic b/include/reptorian.gmic index 74c36bc0..d67cf642 100644 --- a/include/reptorian.gmic +++ b/include/reptorian.gmic @@ -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);, @@ -280,6 +282,8 @@ l. ); xx=xnew; yy=ynew; + np++; + if(!(np%100000),run('progress ',100*(np/total_pts))); ); ); );