I needed to create this fill for the attached stereogram. It took me several days to figure it out.
Anyone want to have a shot at it? The fill is on the depth image that I used for the stereogram.
Printable View
I needed to create this fill for the attached stereogram. It took me several days to figure it out.
Anyone want to have a shot at it? The fill is on the depth image that I used for the stereogram.
I would perhaps start out with a long rectangle with gradient
the fun bit, working out the angles at which to slice and splice where it changes direction...
great result with the stereogram :)
Gary, I drew a line from the start of the shape with a series of straight corners.
I then set the Line Width to 96px.
After setting it to Butt Cap & Mitre Join, it was a case of moving the nodes into position.
I then Cloned it and converted Line to Shape.
I previously noted the Line Length (Perimeter) was 3462.5px.
I created a Box of that Width and Height 96 px (Hereafter the "Ribbon").
I added a Linear Fill of the Start and End Colours of your shape.
It was then a case of laying the Ribbon along the shape and Intersecting All Shapes.
I then butted the cut Ribbon parts together along their touching edges.
I put a copy of the Line underneath with a mid-grey colour.
Along such edges, I would then add a Rounded Corner Rectangle with an Elliptical Transparency to finish off the Fill.
Attachment 128883.
It took me an hour and probably another if I chose to get it exact.
Acorn
Good solution Acorn, but that is not how I did it. You cannot see the difference at the corners which is what was the challenge for me.
@acorn - that's good, but you can see the joins in your example, where the gradient suddenly changes [gary's point] - one solution would be a patch, same in the way I thought of above which is sort of what you might do with a traditional animation rig, eg patching elbows so gaps do not appear when moving the forearm only... in this case to give continuity of texture
Visualise the shape as a combination (in this case) of two asymmetric quadrangles with diagonal linear fills; clone and subtract the shapes are required (more precisely than I have done here). The bottom of the image requires some additional steps to ensure a seamless colour transition across the join, but it is close.
The end shape has two smooth linear fills across the the diagonals of the top and bottom parts of the shape; the vertical bar has a flat fill (as in the original).
It is an imperfect replica of the original (where the fill looks like it was mathematically generated - place the colour dropper over the original to see this).
Attachment 128890 Attachment 128891Attachment 128898
XAR attached. You can play around with the start and end handle colours and create some interesting effects, as well as adding matching linear fills to the vertical bar in the shape. Would have been a lot easier with two symmetric rectangles!
Gary
I drew 3 shapes then duplicate shape 2 and 3, flip it and bring it in position. Fill with gradients until it fit.
Ernie - That's great. I tried three color and four color fills and every other kind of fill. They did not work for me.
experience will out :D