Log polar mapping

From apm
Revision as of 10:12, 6 February 2024 by Apm (Talk | contribs) (added link to svg version)

Jump to: navigation, search
As this is logarithmic infinitely small scale is infinitely far down the z-direction. The inner yellow cylinders inner volume is mapped from the entire positive half-space. The outer blue cylinder rings volume is mapped from the entire negative half-space. As the latter is heavily distorted it's better to stick just to the former for visualizations. The positive z-axis remains on the z axis. That's perhaps the easiest to comprehend part. The xy-plane maps to the yellow cylinders wall. The negative z axis maps to the outermost blue cylinder wall. Outside that there is forbidden space not being mapped to from any real valued xyz-position. This forbidden space is safely ignorable. Scaleable vectrorgrapic version

This page is about a generalization of log-polar mapping to 3D space.
Specifically usable as one of the visualization methods for gemstone metamaterial factories and
as one of the distorted visualization methods for convergent assembly.

Displaying many scales and their relation simultaneously

This can be done by generalizing log polar mapping to 3D like so:

  • x'(x,y,z) = pi/2 - atan2( z, sqrt(pow(x,2) + pow(y,2)) ) * cos(atan2(y,x)))
  • y'(x,y,z) = pi/2 - atan2( z, sqrt(pow(x,2) + pow(y,2)) ) * sin(atan2(y,x)))
  • z'(x,y,z) = log( sqrt(pow(x,2) + pow(y,2) + pow(z,2)) ) / log(base)

Related

External links

Not log polar mapping but mercator projection to the extreme.
This should be locally similar to log polar mapping in that math in the limit becomes identical.
https://mrgris.com/projects/merc-extreme/