This posting showed various approaches for creating an image that was similar to paintings by the artist Vasarely. All of the images used a surface initially created in Rhino. When I tried to use a similarly shaped surface created in GH I was unable to get comparable results.
H S Kim was able to explain why this was the case: the Rhino surface had a Cartesian coordinate system, but the GH surface I created had a polar coordinate system. As a result the SrfMap function, which is the key to the entire process, behaved differently with the 2 surfaces.
Fortunately for me this posting appeared shortly later and it showed how to make a similarly shaped surface in GH that had a Cartesian coordinate system. So I incorporated that method into my GH script, tweaked the parameters a bit (actually a pretty big bit) and produced this surface:
Using this one I was able to properly map an array of circles onto it and then use SrfSplit to get this:
A thing of beauty is it not? But then I also got this:
And of course this:
Interestingly enough the top view of this exact same geometry looks like this:
Things I have yet to figure out are
- Why, in the top view, the circles still look like circles, even though the image shading clearly shows the 3D-ness of the geometry.
- Why the orange circle at the center looks flat and lacks the 3D curvature of the base surface’s rounded point.
- Why the circles around the outside perimeter are much more distorted than they should be.
I’m going to try some alternate shapes for the cutouts (ellipses and stars) to see what they will show. I’m also going to try to understand how the formula that generates the surface (z * sin(pi * y * x) * exp(u * x)) works.
Many thanks to everyone who contributed to this; it has been a great learning experience for me.