Log polar mapping

From apm
Revision as of 10:57, 6 February 2024 by Apm (Talk | contribs)

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.
Illustrating log polar mapping by a morphing from non-transfromed coordinates. Note that for a morph a specific scale needs to be picked. Also note that the grey wall curls outward. That means it sits below the xy-plane in the negative half-space.

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.

Motivation

Log polar mapping should be well suitable for a static poster showing all relevant internals of a nanofactory.
Being able to display/visualize all the convergent assembly levels (and routing levels) of an entire nanofactory all at once (in 3D) without needing to resort to a animation/video format doing some zooming in/out. Displaying more at once also makes more apparent that smaller machinery operates at higher frequency (not higher speed though - careful!).

Animation can still be added showing the activity at all scales at once and making the continuity of matter transport more obvious. Logistics and things like level crossing lag to the first initial output.

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/