You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiterator/readme.md
+38-30Lines changed: 38 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,6 @@
1
1
[Visit Live Version](https://aefgp.github.io/compiterator/index.html)
2
2
3
-
Compiterator Version 1.9 Beta
4
-
5
-
DOCUMENTATION UPDATED FOR 1.8.2, NOT UP TO DATE FOR 1.9
3
+
Compiterator Version 1.9
6
4
7
5
## Controls
8
6
@@ -16,27 +14,31 @@ DOCUMENTATION UPDATED FOR 1.8.2, NOT UP TO DATE FOR 1.9
16
14
*`left arrow`: Previous layer
17
15
--RENDER--
18
16
*`Q`: Toggle render (freeze)
19
-
*`R`: Clear render
20
-
*`W`: Move mouse-selector point up
21
-
*`A`: Move mouse-selector point left
22
-
*`S`: Move mouse-selector point down
23
-
*`D`: Move mouse-selector point right
24
-
*`1`: Change to complex parameter mouse-selector mode
25
-
*`2`: Change to colour origin mouse-selector mode
26
-
*`3`: Change to iterated point mouse-selector mode
27
-
*`4`: Change to iterated cluster mouse-selector mode
28
-
*`5`: Change to probability mouse-selector mode
29
-
*`6`: Change to latest node mouse-selector mode
30
-
*`~`: Cycle mouse-selector mode
17
+
*`R`: Clear render (and randomise point)
18
+
*`U`: Toggle max iteration checking
31
19
*`E`: Cycle iteration mode
32
-
*`B`: Cycle colour mode (clears window also)
33
20
*`N`: Cycle node exclusion
34
21
*`M`: Cycle layer exclusion
35
22
*`H`: Jumble node order
36
23
*`K`: Jumble layer order
24
+
*`shift`: Toggle toggling of N and M to their broken functions in prior versions
25
+
*`~`: Cycle mouse-selector mode
26
+
*`W`: Move mouse-selector point up
27
+
*`A`: Move mouse-selector point left
28
+
*`S`: Move mouse-selector point down
29
+
*`D`: Move mouse-selector point right
30
+
*`1`: Complex parameter mouse-selector mode
31
+
*`2`: Iterated point mouse-selector mode
32
+
*`3`: Iterated cluster mouse-selector mode
33
+
*`4`: Latest node mouse-selector mode
34
+
*`5`: Probability mouse-selector mode
35
+
*`6`: Render origin mouse-selector mode
36
+
*`7`: Render rotation mouse-selector mode
37
+
*`8`: Colour origin mouse-selector mode
38
+
*`9`: Colour rotation mouse-selector mode
37
39
*`<`: Decrease colour cycle depth
38
40
*`>`: Increase colour cycle depth
39
-
*`shift`: Toggle toggling of N and M to their broken functions in prior versions (read the instructions).
41
+
*`B`: Cycle colour mode
40
42
*`enter`: Save Image (Right click the canvas and save manually if this doesn't work)
41
43
42
44
## Instructions
@@ -62,17 +64,23 @@ Pressing `Q` toggles the rendering so that no changes occur, useful for pausing
62
64
Pressing `E` will cycle the different algorithms for the chaos game, it will not clear the screen.
63
65
1. linear interpolation algorithm.
64
66
2. constant distance algorithm.
65
-
3. linear interpolation algorithm with exponential sum output parameter
66
-
4. Polynomial function iteration.
67
+
3. Polynomial function iteration.
68
+
4. Polynomial Newton's method iteration.
69
+
5. linear interpolation algorithm with exponential sum output parameter
70
+
6. linear interpolation algorithm with pseudo-exponential sum output parameter
67
71
68
72
Pressing `~` will cycle the different mouse-selector modes.
69
-
The mouse (or `WASD` keys) will set/move the point that controls the:
70
-
1. Complex parameter for the various algorithms.
71
-
2. Location of the origin for colouring.
72
-
3. Location of the iterated point, can be used to demonstrate the attractor properties.
73
-
4. Point at which the plot is drawn towards, also useful to demonstrate the attractors.
74
-
5. Game probabilities, with the probability of iterated point resetting as x and layer swapping as y respectively.
75
-
6. Most recently created node, mostly for making small adjustments in the exponential sum mode.
73
+
The mouse (or `WASD` keys) will set/move the point that controls different parameters:
74
+
1. Complex parameter for the various iteration modes.
75
+
1. Location of the iterated point, can be used to demonstrate the attractor properties.
76
+
1. Point at which the plot is drawn towards, also useful to demonstrate the attractors.
77
+
1. Most recently created node, useful for making small adjustments to the shape.
78
+
2. Probabilities, with the probability of iterated point resetting as x and layer swapping as y respectively.
79
+
3. Location of the origin of the plot.
80
+
4. Rotation & scaling of the plot.
81
+
5. Location of the origin for colouring.
82
+
6. Rotation & scaling of the colour map.
83
+
76
84
77
85
You can budge the point specified by the input settings that would otherwise be set by the mouse a small distance from its current position by pressing `WASD` in the way you would expect, `W` = up, `A` = left, `S` = down, `D` = right.
78
86
This can be used to observe how small changes in the current state effect the outcome without having to locate the old point with the mouse.
@@ -100,12 +108,12 @@ This program completes 500 iterations a frame.
100
108
What layers and nodes can be selected in relevance to the previously selected layers and nodes can be changed.
101
109
The image is coloured based on previous iterations to highlight the fractal elements of the image such as the self-similarities and symmetries.
102
110
103
-
There are three algorithms for the iteration:
111
+
There are four algorithms for the iteration with sensible definitions:
104
112
1. The iterated point moves on a linear interpolation to the chosen node with a complex parameter.
105
113
The parameter, based on the screen position, is mapped from the whole plane into the unit disk.
106
114
1. The iterated point moves by a rotation of a constant complex vector towards the chosen node.
107
115
The parameter, based on the screen position, is mapped in the reals by an exponential and in the imaginary by a branched logarithm.
108
-
1. The iterated point moves on a linear interpolation to the chosen node with a complex parameter of the output of the sum of a complex expoentiation function and the chosen node.
109
-
2. The iterated point moves to the output of a polynomial function that has the current layer as zeroes and multiplied by a complex parameter.
116
+
1. The iterated point moves to the output of a polynomial function that has the current layer as zeroes and multiplied by a complex parameter.
117
+
1. The iterated point moves according to applications of Newton's method over the same polynomial function as above.
110
118
111
-
Sometimes the polynomial can escape the canvas, simply refresh the canvas or enable the randomisation.
119
+
Sometimes the polynomial can escape the canvas, simply refresh the canvas or enable the randomisation or max iterations (max iterations is enabled by default)
0 commit comments