# Fractals/unroll

Unrolling is an example of plane transformation

# name

* wrap and unwrap
* rolling and unrolling
** a curve
** a surface
* fold and unfold
* Moebius mapping

# Examples
## circle

* unrolling the circumference of a unit circle o see how long it is
* "Unrolling these circles fills a triangle with base 2 π r and height r (where r is the radius of the filled disk). Such a triangle has area π r². This does not serve as a complete proof for why this is the area of a circle, but can give you some intuition for why it should be." Matthen
Image magic:

## ellipse

* Rolling ellipses of different dimensions to measure their perimeters

## cardioid

To unroll the cardioid do:
* cardioid to circle transforamtion
* unroll the circle

### history

* 1988 : Heinz-Otto Peitgen, Dietmar Saupe, Yuval Fisher, & 5 more in book "The Science of Fractal Images" : "A region along the cardioid is continuously blown up and stretched out, so that the respective segment of the cardioid becomes a line segment. ... Our blow-up factor is chosen accordingly to the result that all disks in Figure 4.22 have the same size."
* Linas Vepstas 2000
* Claude Heiland-Allen 2013

### algorithm

This image is made using algorithm described by Claude Heiland-Allen
Figure 4.22 on pages 204-205 of the book titled : "The Science Of Fractal Images" by Heinz-Otto Peitgen and D. Saupe has description:
A region along the cardioid is continuously blown up and stretched out, so that the respective segment of the cardioid becomes a line segment. ... Our blow-up factor is chosen accordingly to the result that all disks in Figure 4.22 have the same size.
transformation from line, thru half of the circle, to half of the cardioid
There are 3 complex planes :
* k-plane ( where are lines) in Claude Heiland-Allen notation
* w-plane ( where are circles)
* c-plane ( for cardioid )
2 steps from k-plane to c-plane:
* from k plane go to w plane using Moebius transformation fi
* from w plane go to the c plane using conformal map gi
so :

#### Maxima CAS src code

How to compute c from k without using CAS :
Check the gfi function with some known values :

### Compare with

* shadertoy : The trees are breathing by jld
* shadertoy : Mandelstrip by jid
* Mandelbrot Set - Convergent Evolution of P/Q Limbs in Seahorse Valley by izaytsev0
* elephants (demo 2 page 10) ? There is just a rotation and rescaling on a small region instead of the non-linear transformation." See program Mandel by Wolf Jung demo 2 page 10
* Mandelbrot Buds and Branches by Timothy Chase
* Fractalshades examples: Moebius mapping

# See also

* Loop unrolling in wikipedia
* slow mating of quadratic julia sets by Claude

# References

* ↑ motiontricks : unwrap-svg-circles-and-ellipses
* ↑ motiontricks : unroll-svg-circles-ellipses-and-spirals
* ↑ Rolling spirals by Valannorton
* ↑ mathematica.stackexchange question: unrolling-a-surface
* ↑ motiontricks : unfold-svg-shapes-and-lines
* ↑ blog.prepscholar : math-circles-geometry-formulas-and-strategies
* ↑ blog.matthen : unrolling-these-circles-fills-a-triangle-with-base
* ↑ stackoverflow question: converting-an-image-from-cartesian-to-polar-limb-darkening
* ↑ blog.matthen : tagged maths
* ↑ fractalforums.org : unrolled-or-uncurved-mandelbrot-main-left-circular-bulb
* ↑ stretching cusps by Claude Heiland-Allen
* ↑ wikipedia : Heinz-Otto Peitgen