Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/help/rest/incoloring.txt
blob: 80eff953bd4e1c7d69a20b76e3b318f8e07b245c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
.. _incoloring:
.. _mincoloring:
.. _in1:
.. _in2:
.. _in3:
.. _in4:
.. _in5:
.. _in6:
.. _in7:
.. _in8:
.. _in9:
.. _in10:
.. _in0:

.. index::
   pair: command line option; incoloring
   pair: command; incoloring
   pair: menu; Incoloring mode

Inside coloring mode
====================

**Syntax**:(incoloring integer)

Areas inside the set are usually filled in black, but this is only a
convention; you could color them in differently to make the fractal look more
interesting. The only method available to make areas inside the set visible is
to display the value of the latest orbit as the value of each pixel.

The :tutor:`tutorial on incoloring <incolor.xaf>` has more information
and examples.

XaoS has many different ways to show that value. The cryptic names of the modes
are mathematical formulae, where **real** means the real part of the latest
orbit, and **imag** means the imaginary part. **zmag** uses the magnitude of
the value. The **Decomposition-like** method uses the angle of the orbit. Also,
:ref:`truecolor <tcolor>` incoloring modes are available, that display one
value in each of the red, blue and green color planes (or, for some modes, in
each of the hue, saturation and value planes). In the scripting language, the
incoloring mode is specified by one of the following integers:

0

    0 (default)

1

    zmag

2

    Decomposition-like

3

    real/imag

4

    abs(abs(c)-abs(r))

5

    cos(mag)

6

    mag*cos(real^2)

7

    sin(real^2-imag^2)

8

    atan(real*imag*creal*cimag)

9

    squares

10

    Truecolor. To set exact parameters for truecolor coloring use the
    :ref:`tcolor <tcolor>` command.

**Available as**: command line option, command