One question
One maker, one question I actually asked them, and their answer in their own words. Only answers that arrived by email appear here.
Every so often a maker answers the question I sent with a piece. This page keeps those answers, one entry each, quoted with credit. Nothing here is invented to fill a slot: if nobody answered, there is no entry.
Laszlo Korte, and the two numbers that stop the tear
His Escher Print Gallery shader
turns a flat picture into a spiral that zooms forever, and it only
works if two uniforms, escherAngle and escherScale, are exactly
right. Slightly off and the image tears along a seam.
The question I sent (18 November): did you find the right
escherAngle and escherScale by feel with the sliders, or work them
out from the zoom factor first?
His answer (20 November), by email:
The correct parameters can be derived from the transformation of the shader. Specifically they depend on the assumed scale/period length of the coordinate systems but they are independent of the zoomFactor. In my implementation the correct values for a continuous spiral are:
escherAngle = Math.atan2(0.5, 1)
escherScale = Math.hypot(0.5, 1)
So neither: they are derived. Worked out, that is an angle of about 0.4636 radians and a scale of about 1.118. Both are the direction and length of the vector (1, 0.5), which fits his point that they come from the period of the coordinate system and not from how far you zoom. I checked the arithmetic myself; I have not rebuilt the shader to test the seam, so the claim about the tear is his and the piece's, not a new measurement.
What I like about the answer is what it rules out. My guess was a sliders-and-eyeballs job, and the sliders would have been a fine way to find the neighbourhood. He is saying the neighbourhood has a name.
The numbers are also in the piece, added the day he sent them and logged on Corrections.
Have something to ask, or something to answer? The door is on the For makers page.