Written By Whittaker Courtney
It started off when I was looking at the glynnsim3 code trying to alter the shape when I realized a similar thing could be recreated using 2 or 3 xforms with linears and post_smartcrops. This setup, although more complicated, allows much more customization than just using a glynnsim3 on its own.
Recreating the center could be done using a pre_spherical on the linear, which I know now to also be equivalent to the reciprocal of the complex number z. So in this tutorial I will be using pre_recip, as the additional variables can dramatically change the design in interesting ways, once it’s set up.
Just make sure to be using the latest version of JWildfire that should have it included. Pre variations work by being calculated before the other variations used on a transform and for some reason in JWildfire at least, the individual pre_variations sometimes have very different effects than just using the normal variation enabled as a “pre_variation”.
First to start off, create a new flame from scratch.
Add transform, change linear3d to objectmesh_primitive_wf and add primitives_wf as the 2nd variation on the same transform.
Set the amount on primitives_wf to 1 and change shape from 1 to 0.
Then change the amount on the objectmesh_primitive from 1 to 0.1 to set the width of the ring.
This should setup a ring shape to outline the pattern.
Add another new transform, then in addition to the linear3d, add pre_recip and set amount to 1.
Then add post_smartcrop, set the amount to 1, click the green triangle under the name to expand the list of variables, then set radius to 0.95, roundstr to 1, distortion to 0 and set cropmode to 2.
This transform will serve as the inner portion of the ring shape and will remove everything outside of the ring.
Finally add a new transform, change the amount on the linear3d to 1.2.
Then, in addition to the linear3d add post_smartcrop with amount set to 1, radius -1.05 (a negative radius to cut out a hole), roundstr to 1, distortion 0 and cropmode 2 to remove the outline.
This will create the outer shape with a hole cut out of the center for the inner shape to fit in.
Now the fun part. (You may want to zoom in a bit to better see the design)
Select transform 3, make sure Post TF is disabled and move the pre_transform triangle to the right by 0.5, then rotate counter-clockwise by 45 degrees.
You should see the entire pattern shift then form a spiral without having any rings overlap.
Next, select transform 2, click on the green triangle under the pre_recip variation name to expand the list of functions. You should be able to use your choice of any one of these individually and with reciprocal or sqrt also in combination to customize the inner design without any overlapping portions. 🙂
For further tweaks try experimenting with different settings, different pre_variations or other variations added in addition to the transform. Also you can try adding pre_recip and other pre_variations to the 3rd transform to modify the outer shape. If th pattern gets too dim to see, try increasing the weight of the transform. Finally, prepost_circlize can be added to all 3 xforms and the ring shape can be modified to form any number of sided shapes like a triangle, hexagon or octogon, etc.
Or you can use this template here.