Mobius Circle



mobius_circle radius cx cz mr mi
mobius_circle is an Incendia Script command that calculates a Mobius Transformation from the complex formula:

z= za+b zc+d

from a circle of radius r, centered at (cx,cz), multiplied by the complex variable m.

Parameters:
  • radius Circle radius.
  • cx Circle x position.
  • cx Circle y position.
  • mr Real part or m.
  • mi Imaginary part of m.

Example script:

;This script defines a set of five mobius transformation.
tform
probability 0.2500

mobius_circle 0.707107 0.0 1.0 1 0
tform
probability 0.2500
mobius_circle 0.707107 0.0 -1.0 1 0

tform
probability 0.2500
mobius_circle 0.707107 1.0 0.0 1 0

tform
probability 0.2500
mobius_circle 0.707107 -1.0 0.0 1 0

tform
probability 0.2500
;change the last parameter from 0.0 to 0.1 to get some spirals
mobius_circle 0.292893 0.0 0.0 1.0 0.0