OOOOIIIIIIIIOOOO commited on
Commit
4867cfd
·
verified ·
1 Parent(s): d31deb2

​ ​

Browse files
.gitattributes CHANGED
@@ -101,3 +101,4 @@
101
  🧿/⏺️/🝱/ꓨИꟼ.𒋲.⚪⦻⛋ꖅ𑽇ⵙ◇ⵙ𑽇ꖅ⛋⦻⊚⁘꞉ⵔ·ⵔ꞉⁘⊚ᗱᗴᙏᗱᗴ옷ᑐᑕᔓᔕ⚪ᔓᔕ✻ᴥⓄᗯᗝꖴᙁⓄᔓᔕ⊚ⵘ✺ᔓᔕᑎИNᗱᗴᕤᕦᴥᗱᗴߦ人옷⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪옷人ߦᗱᗴᴥᕤᕦᗱᗴИNᑎᔓᔕ✺ⵘ⊚ᔓᔕⓄᙁꖴᗝᗯⓄᴥ✻ᔓᔕ⚪ᔓᔕᑐᑕ옷ᗱᗴᙏᗱᗴ⊚⁘꞉ⵔ·ⵔ꞉⁘⊚⦻⛋ꖅ𑽇ⵙ◇ⵙ𑽇ꖅ⛋⦻⚪.𒋲.PNG filter=lfs diff=lfs merge=lfs -text
102
  🧿/⏺️/🝱/ꓨИꟼ.𒋲.⚪⦻⛋ꖅ𑽇ⵙ◇ⵙ𑽇ꖅ⛋⦻⊚⠿𐧾ⵔ⁘ⵔ𐧾⠿⊚ᗱᗴᙏᗱᗴ옷ᑐᑕᔓᔕ⚪ᔓᔕ✻ᴥⓄᗯᗝꖴᙁⓄᔓᔕ⊚ⵘ✺ᔓᔕᑎИNᗱᗴᕤᕦᴥᗱᗴߦ人옷⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪옷人ߦᗱᗴᴥᕤᕦᗱᗴИNᑎᔓᔕ✺ⵘ⊚ᔓᔕⓄᙁꖴᗝᗯⓄᴥ✻ᔓᔕ⚪ᔓᔕᑐᑕ옷ᗱᗴᙏᗱᗴ⊚⠿𐧾ⵔ⁘ⵔ𐧾⠿⊚⦻⛋ꖅ𑽇ⵙ◇ⵙ𑽇ꖅ⛋⦻⚪.𒋲.PNG filter=lfs diff=lfs merge=lfs -text
103
  🧿/⏺️/🝱/ꓨИꟼ.𒋲.⚪ᗱᗴᙏᗱᗴ옷ᑐᑕᔓᔕ⚪ᔓᔕ✻ᴥⓄᗯᗝꖴᙁⓄᔓᔕ⊚ⵘ✺ᔓᔕᑎИNᗱᗴᕤᕦᴥᗱᗴߦ人옷⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪옷人ߦᗱᗴᴥᕤᕦᗱᗴИNᑎᔓᔕ✺ⵘ⊚ᔓᔕⓄᙁꖴᗝᗯⓄᴥ✻ᔓᔕ⚪ᔓᔕᑐᑕ옷ᗱᗴᙏᗱᗴ⚪.𒋲.PNG filter=lfs diff=lfs merge=lfs -text
 
 
101
  🧿/⏺️/🝱/ꓨИꟼ.𒋲.⚪⦻⛋ꖅ𑽇ⵙ◇ⵙ𑽇ꖅ⛋⦻⊚⁘꞉ⵔ·ⵔ꞉⁘⊚ᗱᗴᙏᗱᗴ옷ᑐᑕᔓᔕ⚪ᔓᔕ✻ᴥⓄᗯᗝꖴᙁⓄᔓᔕ⊚ⵘ✺ᔓᔕᑎИNᗱᗴᕤᕦᴥᗱᗴߦ人옷⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪옷人ߦᗱᗴᴥᕤᕦᗱᗴИNᑎᔓᔕ✺ⵘ⊚ᔓᔕⓄᙁꖴᗝᗯⓄᴥ✻ᔓᔕ⚪ᔓᔕᑐᑕ옷ᗱᗴᙏᗱᗴ⊚⁘꞉ⵔ·ⵔ꞉⁘⊚⦻⛋ꖅ𑽇ⵙ◇ⵙ𑽇ꖅ⛋⦻⚪.𒋲.PNG filter=lfs diff=lfs merge=lfs -text
102
  🧿/⏺️/🝱/ꓨИꟼ.𒋲.⚪⦻⛋ꖅ𑽇ⵙ◇ⵙ𑽇ꖅ⛋⦻⊚⠿𐧾ⵔ⁘ⵔ𐧾⠿⊚ᗱᗴᙏᗱᗴ옷ᑐᑕᔓᔕ⚪ᔓᔕ✻ᴥⓄᗯᗝꖴᙁⓄᔓᔕ⊚ⵘ✺ᔓᔕᑎИNᗱᗴᕤᕦᴥᗱᗴߦ人옷⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪옷人ߦᗱᗴᴥᕤᕦᗱᗴИNᑎᔓᔕ✺ⵘ⊚ᔓᔕⓄᙁꖴᗝᗯⓄᴥ✻ᔓᔕ⚪ᔓᔕᑐᑕ옷ᗱᗴᙏᗱᗴ⊚⠿𐧾ⵔ⁘ⵔ𐧾⠿⊚⦻⛋ꖅ𑽇ⵙ◇ⵙ𑽇ꖅ⛋⦻⚪.𒋲.PNG filter=lfs diff=lfs merge=lfs -text
103
  🧿/⏺️/🝱/ꓨИꟼ.𒋲.⚪ᗱᗴᙏᗱᗴ옷ᑐᑕᔓᔕ⚪ᔓᔕ✻ᴥⓄᗯᗝꖴᙁⓄᔓᔕ⊚ⵘ✺ᔓᔕᑎИNᗱᗴᕤᕦᴥᗱᗴߦ人옷⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪옷人ߦᗱᗴᴥᕤᕦᗱᗴИNᑎᔓᔕ✺ⵘ⊚ᔓᔕⓄᙁꖴᗝᗯⓄᴥ✻ᔓᔕ⚪ᔓᔕᑐᑕ옷ᗱᗴᙏᗱᗴ⚪.𒋲.PNG filter=lfs diff=lfs merge=lfs -text
104
+ 𑁍/⁜𑁍⁜/ꓨИꟼ.፨ꔹ፨.⅃MX.⁜𑁍⁜.XML.፨ꔹ፨.PNG filter=lfs diff=lfs merge=lfs -text
𑁍/⁜𑁍⁜/TXT.⅃MX.⁜𑁍⁜.XML.TXT ADDED
@@ -0,0 +1,271 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ comment:
2
+
3
+ trappedPoint.Index is the base circle index: 0 (center), 1-N (in ring)
4
+ trappedPoint.Delta is the level: 0 - Steps-1
5
+
6
+ See the paper:
7
+ "Evolution of Math into Art via Mobius Transformations"
8
+ by Anne M. Burns, Department of Mathematics,
9
+ Long Island University.
10
+ http://myweb.cwpost.liu.edu/aburns/
11
+
12
+ Also, see pages 88-89 in the book:
13
+ "Indra's Pearls, The Vision of Felix Klein"
14
+ by David Mumford, Caroline Series, David Wright.
15
+ http://klein.math.okstate.edu/IndrasPearls/
16
+
17
+ global:
18
+
19
+ Complex ShowCenter[] = LC1,LC2,LC3,LC4,LC5,LC6,LC7,LC8,LC9,LC10,LC11,LC12,LC13,LC14,LC15,LC16
20
+ Complex ShowRing[] = LR1,LR2,LR3,LR4,LR5,LR6,LR7,LR8,LR9,LR10,LR11,LR12,LR13,LR14,LR15,LR16
21
+ AbsV = Sqrt(AbsU^2 - 1)
22
+ u = AbsU * Cis(DegreeToRadian(ArgU))
23
+ v = AbsV * Cis(DegreeToRadian(ArgV))
24
+ Mobius UnitCircleGroup = Mobius(u, v, Conj(v), Conj(u))
25
+
26
+ ' =============================================
27
+ ' DEFINE FOUR APOLLONIAN CIRCLES AS GENERATORS
28
+ ' (scaled by 2 to match default trap Scale=2)
29
+ ' =============================================
30
+ scaleFactor = 2
31
+ customRadius = 0.08578644 * scaleFactor
32
+
33
+ ' Total generators = 1 (center) + N (ring) + 4 custom
34
+ totalGen = 1 + N + 4
35
+ Mobius m[totalGen]
36
+ '
37
+ ' Given N, find radius R such that N circles with radius R can be
38
+ ' placed along the inside of the unit circle, each tangent to the
39
+ ' unit circle and each of its two adjacent neighbors.
40
+ '
41
+ r = 1/(1+1/Sin(Math.PI/N))
42
+
43
+ step = 2*Math.PI/N
44
+ ang = IIf(Shift, step/2, 0)
45
+ '
46
+ ' Center generator (index 0)
47
+ '
48
+ m[0] = Mobius(1-2*r, 0, 0, 1)
49
+ '
50
+ ' Ring generators (indices 1..N)
51
+ '
52
+ for (i = 1, i <= N, i += 1) {
53
+ rotate = Cis(ang)
54
+ m[i] = Mobius.Multiply( \
55
+ Mobius(r*rotate, (1-r)*rotate, 0, 1), \
56
+ UnitCircleGroup \
57
+ )
58
+ ang += step
59
+ }
60
+ '
61
+ ' Custom generators (indices N+1 .. N+4)
62
+ '
63
+ m[N+1] = Mobius(customRadius, Complex( 0.29289322*scaleFactor, 0.29289322*scaleFactor), 0, 1)
64
+ m[N+2] = Mobius(customRadius, Complex(-0.29289322*scaleFactor, -0.29289322*scaleFactor), 0, 1)
65
+ m[N+3] = Mobius(customRadius, Complex( 0.29289322*scaleFactor, -0.29289322*scaleFactor), 0, 1)
66
+ m[N+4] = Mobius(customRadius, Complex(-0.29289322*scaleFactor, 0.29289322*scaleFactor), 0, 1)
67
+
68
+ '
69
+ ' Assign Total = the total number of circles.
70
+ '
71
+ const Complex Total = 0
72
+ count = totalGen
73
+
74
+ for (i = 0, i < Steps, i += 1) {
75
+ Total += count
76
+ count *= totalGen
77
+ }
78
+ const Circle c[Total]
79
+ const Complex index[Total]
80
+ const Complex level[Total]
81
+ Circle UnitCircle = CircleC(0, 1)
82
+ '
83
+ ' Generate the base circles (all generators applied to unit circle)
84
+ '
85
+ for (i = 0, i < totalGen, i += 1) {
86
+ c[i] = Mobius.TransformCircle(m[i], UnitCircle)
87
+ index[i] = i
88
+ level[i] = 0
89
+ }
90
+ count = totalGen
91
+ max = 0
92
+ '
93
+ ' Generate the remaining circles by applying all generators iteratively.
94
+ '
95
+ if (Steps > 1) {
96
+ for (i = 1, i < Steps, i += 1) {
97
+ min = max
98
+ max = count
99
+
100
+ for (j = min, j < max, j += 1) {
101
+ for (k = 0, k < totalGen, k += 1) {
102
+ c[count] = Mobius.TransformCircle(m[k], c[j])
103
+ if (c[count].Radius >= RadiusMin) {
104
+ index[count] = index[j]
105
+ level[count] = i
106
+ count += 1
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
112
+ Total = count
113
+
114
+ CurveTrap.Initialize( \
115
+ Center, DegreeToRadian(Angle), Scale, AlternateAngle, 6, False, LineWidth \
116
+ )
117
+ '
118
+ ' Add the circles to the trap.
119
+ '
120
+ for (i = 0, i < Total, i += 1) {
121
+ lev = level[i]
122
+ idx = index[i]
123
+ if (idx = 0) {
124
+ if (ShowCenter[lev]) {
125
+ CurveTrap.AddCircle2(c[i], Solid, IIf(Solid, lev, 0), idx, lev)
126
+ }
127
+ } else {
128
+ if (ShowRing[lev]) {
129
+ CurveTrap.AddCircle2(c[i], Solid, IIf(Solid, lev, 0), idx, lev)
130
+ }
131
+ }
132
+ }
133
+
134
+ trap:
135
+
136
+ trappedPoint = CurveTrap.Apply(z)
137
+
138
+ properties:
139
+
140
+ divider {
141
+ caption = "General Options"
142
+ }
143
+ option Center {
144
+ type = Complex
145
+ caption = "Center"
146
+ details = "Center of trap"
147
+ default = 0
148
+ }
149
+ option Angle {
150
+ type = Float
151
+ caption = "Angle"
152
+ details = "Angle of rotation"
153
+ default = 0
154
+ range = [-360,360]
155
+ }
156
+ option Scale {
157
+ type = Float
158
+ caption = "Scale"
159
+ details = "Scale factor applied to trap"
160
+ range = (0,)
161
+ default = 2
162
+ }
163
+ option Solid {
164
+ type = Boolean
165
+ caption = "Solid"
166
+ details = "Check to create solid trap"
167
+ default = False
168
+ }
169
+ option AlternateAngle {
170
+ type = Boolean
171
+ caption = "Alternate Angle"
172
+ details = "Use alternate angle calculation"
173
+ default = False
174
+ }
175
+ option LineWidth {
176
+ type = Float
177
+ caption = "Line Width"
178
+ details = "Extent of trap on either side of curve (> 0)"
179
+ range = (0,)
180
+ default = 0.00411522633744855967078189300413
181
+ enabled = ~Solid
182
+ }
183
+ divider {
184
+ caption = "U/V Controls"
185
+ }
186
+ option AbsU {
187
+ type = Float
188
+ caption = "Abs(U)"
189
+ details = "Magnitude of U (1-2)"
190
+ default = 1.1
191
+ range = [1,2]
192
+ }
193
+ option ArgU {
194
+ type = Float
195
+ caption = "Arg(U)"
196
+ details = "Angle of U"
197
+ default = 0
198
+ range = [-360,360]
199
+ }
200
+ option ArgV {
201
+ type = Float
202
+ caption = "Arg(V)"
203
+ details = "Angle of V"
204
+ default = 180
205
+ range = [-360,360]
206
+ }
207
+ divider {
208
+ caption = "Circle Controls"
209
+ }
210
+ option N {
211
+ type = IntegerEnum(3,12)
212
+ caption = "N"
213
+ details = "Number of base circles"
214
+ default = 4
215
+ }
216
+ option Steps {
217
+ type = IntegerEnum(1,16)
218
+ caption = "Steps"
219
+ details = "Number of inversion steps"
220
+ default = 4 ' <-- REDUCED from 8 to 4 to avoid memory crash
221
+ }
222
+ option Shift {
223
+ type = Boolean
224
+ caption = "Shift"
225
+ details = "Check to rotate initial chain by pi/N"
226
+ default = False
227
+ }
228
+ option RadiusMin {
229
+ type = Float
230
+ caption = "Radius Min"
231
+ details = "Minimum acceptable circle radius"
232
+ default = 0
233
+ range = [0,)
234
+ }
235
+ #define ShowLevel(Index)
236
+
237
+ divider {
238
+ caption = "Level #Index# Options"
239
+ }
240
+ option LR#Index# {
241
+ type = Boolean
242
+ caption = "Show Ring"
243
+ details = "Show ring of circles at level #Index#"
244
+ default = True
245
+ enabled = Steps >= #Index#
246
+ }
247
+ option LC#Index# {
248
+ type = Boolean
249
+ caption = "Show Center"
250
+ details = "Show center circle at level #Index#"
251
+ default = True
252
+ enabled = Steps >= #Index#
253
+ }
254
+ #end
255
+
256
+ #include ShowLevel("1")
257
+ #include ShowLevel("2")
258
+ #include ShowLevel("3")
259
+ #include ShowLevel("4")
260
+ #include ShowLevel("5")
261
+ #include ShowLevel("6")
262
+ #include ShowLevel("7")
263
+ #include ShowLevel("8")
264
+ #include ShowLevel("9")
265
+ #include ShowLevel("10")
266
+ #include ShowLevel("11")
267
+ #include ShowLevel("12")
268
+ #include ShowLevel("13")
269
+ #include ShowLevel("14")
270
+ #include ShowLevel("15")
271
+ #include ShowLevel("16")
𑁍/⁜𑁍⁜/⅃MX.⁜𑁍⁜.XML ADDED
@@ -0,0 +1,619 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8" standalone="yes"?>
2
+ <Fractal FilterWeight="Weight3x3" FilterPower="-1" BackgroundVisible="True" BackColor="FFFFFFFF" BorderWidth="0" StripBorder="True" PixelSize="0.00182926570157948" Pixels.X="2187" Pixels.Y="2187" ClassicProcessing="None" OrbitTrapProcessing="ActivateControllers" ClassicMaxDwell="1" CycleDetectionActive="False" SolidGuessing="None">
3
+ <FractalNotes><![CDATA[]]></FractalNotes>
4
+ <FractalEquation Id="adb85431-618d-491f-b8c5-08555b119814" Title="Pixel" MaxPower="1">
5
+ <Instructions><![CDATA[
6
+ comment:
7
+
8
+ This equation can be used when no equation is necessary.
9
+ By setting the MinDwell/MaxDwell to 1 below, we limit
10
+ the iteration to a single step for best performance.
11
+
12
+ global:
13
+
14
+ FSK.OverrideValue("MinDwell", 1)
15
+ FSK.OverrideValue("MaxDwell", 1)
16
+
17
+ iterate:
18
+
19
+ z = c
20
+ ]]></Instructions>
21
+ <PropertyValueOverrides />
22
+ </FractalEquation>
23
+ <TransformationArray>
24
+ <Transformation Id="7fc4bc2c-b961-4431-b074-277d7b29842b" Title="Identity">
25
+ <Instructions><![CDATA[]]></Instructions>
26
+ <PropertyValueOverrides />
27
+ </Transformation>
28
+ </TransformationArray>
29
+ <TransformationArray>
30
+ <Transformation Id="7fc4bc2c-b961-4431-b074-277d7b29842b" Title="Identity">
31
+ <Instructions><![CDATA[]]></Instructions>
32
+ <PropertyValueOverrides />
33
+ </Transformation>
34
+ </TransformationArray>
35
+ <AlternateValueInfo />
36
+ <AlternateValueInfo />
37
+ <OrbitTrapInfo TrapValueNTrapPreProcessing="CenterReflect" TrapValueNTrapStyle="Flat" TrapValueNSmoothing="Linear" TrapValueNTrapPreProcessing1="CenterReflect" TrapValueNTrapStyle1="Flat" TrapValueNSmoothing1="Linear" TrapValueNTrapPreProcessing2="CenterReflect" TrapValueNTrapStyle2="Flat" TrapValueNSmoothing2="Linear" TrapValueNTrapPreProcessing3="CenterReflect" TrapValueNTrapStyle3="Flat" TrapValueNSmoothing3="Linear">
38
+ <OrbitTrapArray TrapIndexMapping="CombinedIndex" TrapDeltaMapping="TrapDelta" BlendValues="False">
39
+ <OrbitTransform />
40
+ <OrbitTransform />
41
+ <TransformationArray>
42
+ <Transformation Id="7fc4bc2c-b961-4431-b074-277d7b29842b" Title="Identity">
43
+ <Instructions><![CDATA[]]></Instructions>
44
+ <PropertyValueOverrides />
45
+ </Transformation>
46
+ </TransformationArray>
47
+ <TransformationArray>
48
+ <Transformation Id="7fc4bc2c-b961-4431-b074-277d7b29842b" Title="Identity">
49
+ <Instructions><![CDATA[]]></Instructions>
50
+ <PropertyValueOverrides />
51
+ </Transformation>
52
+ </TransformationArray>
53
+ <SymmetryTransformation Id="8301dc6c-2273-4fb9-ada8-2ded2833031f" Title="Identity">
54
+ <Instructions><![CDATA[]]></Instructions>
55
+ <PropertyValueOverrides />
56
+ </SymmetryTransformation>
57
+ <OrbitTrapItem>
58
+ <OrbitTrap Id="098874d7-1e7c-4775-86a4-efefbc2017bf" Title="+Unit Circle Group+">
59
+ <Instructions><![CDATA[comment:
60
+
61
+ trappedPoint.Index is the base circle index: 0 (center), 1-N (in ring)
62
+ trappedPoint.Delta is the level: 0 - Steps-1
63
+
64
+ See the paper:
65
+ "Evolution of Math into Art via Mobius Transformations"
66
+ by Anne M. Burns, Department of Mathematics,
67
+ Long Island University.
68
+ http://myweb.cwpost.liu.edu/aburns/
69
+
70
+ Also, see pages 88-89 in the book:
71
+ "Indra's Pearls, The Vision of Felix Klein"
72
+ by David Mumford, Caroline Series, David Wright.
73
+ http://klein.math.okstate.edu/IndrasPearls/
74
+
75
+ global:
76
+
77
+ Complex ShowCenter[] = LC1,LC2,LC3,LC4,LC5,LC6,LC7,LC8,LC9,LC10,LC11,LC12,LC13,LC14,LC15,LC16
78
+ Complex ShowRing[] = LR1,LR2,LR3,LR4,LR5,LR6,LR7,LR8,LR9,LR10,LR11,LR12,LR13,LR14,LR15,LR16
79
+ AbsV = Sqrt(AbsU^2 - 1)
80
+ u = AbsU * Cis(DegreeToRadian(ArgU))
81
+ v = AbsV * Cis(DegreeToRadian(ArgV))
82
+ Mobius UnitCircleGroup = Mobius(u, v, Conj(v), Conj(u))
83
+
84
+ ' =============================================
85
+ ' DEFINE FOUR APOLLONIAN CIRCLES AS GENERATORS
86
+ ' (scaled by 2 to match default trap Scale=2)
87
+ ' =============================================
88
+ scaleFactor = 2
89
+ customRadius = 0.08578644 * scaleFactor
90
+
91
+ ' Total generators = 1 (center) + N (ring) + 4 custom
92
+ totalGen = 1 + N + 4
93
+ Mobius m[totalGen]
94
+ '
95
+ ' Given N, find radius R such that N circles with radius R can be
96
+ ' placed along the inside of the unit circle, each tangent to the
97
+ ' unit circle and each of its two adjacent neighbors.
98
+ '
99
+ r = 1/(1+1/Sin(Math.PI/N))
100
+
101
+ step = 2*Math.PI/N
102
+ ang = IIf(Shift, step/2, 0)
103
+ '
104
+ ' Center generator (index 0)
105
+ '
106
+ m[0] = Mobius(1-2*r, 0, 0, 1)
107
+ '
108
+ ' Ring generators (indices 1..N)
109
+ '
110
+ for (i = 1, i <= N, i += 1) {
111
+ rotate = Cis(ang)
112
+ m[i] = Mobius.Multiply( \
113
+ Mobius(r*rotate, (1-r)*rotate, 0, 1), \
114
+ UnitCircleGroup \
115
+ )
116
+ ang += step
117
+ }
118
+ '
119
+ ' Custom generators (indices N+1 .. N+4)
120
+ '
121
+ m[N+1] = Mobius(customRadius, Complex( 0.29289322*scaleFactor, 0.29289322*scaleFactor), 0, 1)
122
+ m[N+2] = Mobius(customRadius, Complex(-0.29289322*scaleFactor, -0.29289322*scaleFactor), 0, 1)
123
+ m[N+3] = Mobius(customRadius, Complex( 0.29289322*scaleFactor, -0.29289322*scaleFactor), 0, 1)
124
+ m[N+4] = Mobius(customRadius, Complex(-0.29289322*scaleFactor, 0.29289322*scaleFactor), 0, 1)
125
+
126
+ '
127
+ ' Assign Total = the total number of circles.
128
+ '
129
+ const Complex Total = 0
130
+ count = totalGen
131
+
132
+ for (i = 0, i < Steps, i += 1) {
133
+ Total += count
134
+ count *= totalGen
135
+ }
136
+ const Circle c[Total]
137
+ const Complex index[Total]
138
+ const Complex level[Total]
139
+ Circle UnitCircle = CircleC(0, 1)
140
+ '
141
+ ' Generate the base circles (all generators applied to unit circle)
142
+ '
143
+ for (i = 0, i < totalGen, i += 1) {
144
+ c[i] = Mobius.TransformCircle(m[i], UnitCircle)
145
+ index[i] = i
146
+ level[i] = 0
147
+ }
148
+ count = totalGen
149
+ max = 0
150
+ '
151
+ ' Generate the remaining circles by applying all generators iteratively.
152
+ '
153
+ if (Steps > 1) {
154
+ for (i = 1, i < Steps, i += 1) {
155
+ min = max
156
+ max = count
157
+
158
+ for (j = min, j < max, j += 1) {
159
+ for (k = 0, k < totalGen, k += 1) {
160
+ c[count] = Mobius.TransformCircle(m[k], c[j])
161
+ if (c[count].Radius >= RadiusMin) {
162
+ index[count] = index[j]
163
+ level[count] = i
164
+ count += 1
165
+ }
166
+ }
167
+ }
168
+ }
169
+ }
170
+ Total = count
171
+
172
+ CurveTrap.Initialize( \
173
+ Center, DegreeToRadian(Angle), Scale, AlternateAngle, 6, False, LineWidth \
174
+ )
175
+ '
176
+ ' Add the circles to the trap.
177
+ '
178
+ for (i = 0, i < Total, i += 1) {
179
+ lev = level[i]
180
+ idx = index[i]
181
+ if (idx = 0) {
182
+ if (ShowCenter[lev]) {
183
+ CurveTrap.AddCircle2(c[i], Solid, IIf(Solid, lev, 0), idx, lev)
184
+ }
185
+ } else {
186
+ if (ShowRing[lev]) {
187
+ CurveTrap.AddCircle2(c[i], Solid, IIf(Solid, lev, 0), idx, lev)
188
+ }
189
+ }
190
+ }
191
+
192
+ trap:
193
+
194
+ trappedPoint = CurveTrap.Apply(z)
195
+
196
+ properties:
197
+
198
+ divider {
199
+ caption = "General Options"
200
+ }
201
+ option Center {
202
+ type = Complex
203
+ caption = "Center"
204
+ details = "Center of trap"
205
+ default = 0
206
+ }
207
+ option Angle {
208
+ type = Float
209
+ caption = "Angle"
210
+ details = "Angle of rotation"
211
+ default = 0
212
+ range = [-360,360]
213
+ }
214
+ option Scale {
215
+ type = Float
216
+ caption = "Scale"
217
+ details = "Scale factor applied to trap"
218
+ range = (0,)
219
+ default = 2
220
+ }
221
+ option Solid {
222
+ type = Boolean
223
+ caption = "Solid"
224
+ details = "Check to create solid trap"
225
+ default = False
226
+ }
227
+ option AlternateAngle {
228
+ type = Boolean
229
+ caption = "Alternate Angle"
230
+ details = "Use alternate angle calculation"
231
+ default = False
232
+ }
233
+ option LineWidth {
234
+ type = Float
235
+ caption = "Line Width"
236
+ details = "Extent of trap on either side of curve (> 0)"
237
+ range = (0,)
238
+ default = 0.00411522633744855967078189300413
239
+ enabled = ~Solid
240
+ }
241
+ divider {
242
+ caption = "U/V Controls"
243
+ }
244
+ option AbsU {
245
+ type = Float
246
+ caption = "Abs(U)"
247
+ details = "Magnitude of U (1-2)"
248
+ default = 1.1
249
+ range = [1,2]
250
+ }
251
+ option ArgU {
252
+ type = Float
253
+ caption = "Arg(U)"
254
+ details = "Angle of U"
255
+ default = 0
256
+ range = [-360,360]
257
+ }
258
+ option ArgV {
259
+ type = Float
260
+ caption = "Arg(V)"
261
+ details = "Angle of V"
262
+ default = 180
263
+ range = [-360,360]
264
+ }
265
+ divider {
266
+ caption = "Circle Controls"
267
+ }
268
+ option N {
269
+ type = IntegerEnum(3,12)
270
+ caption = "N"
271
+ details = "Number of base circles"
272
+ default = 4
273
+ }
274
+ option Steps {
275
+ type = IntegerEnum(1,16)
276
+ caption = "Steps"
277
+ details = "Number of inversion steps"
278
+ default = 4 ' <-- REDUCED from 8 to 4 to avoid memory crash
279
+ }
280
+ option Shift {
281
+ type = Boolean
282
+ caption = "Shift"
283
+ details = "Check to rotate initial chain by pi/N"
284
+ default = False
285
+ }
286
+ option RadiusMin {
287
+ type = Float
288
+ caption = "Radius Min"
289
+ details = "Minimum acceptable circle radius"
290
+ default = 0
291
+ range = [0,)
292
+ }
293
+ #define ShowLevel(Index)
294
+
295
+ divider {
296
+ caption = "Level #Index# Options"
297
+ }
298
+ option LR#Index# {
299
+ type = Boolean
300
+ caption = "Show Ring"
301
+ details = "Show ring of circles at level #Index#"
302
+ default = True
303
+ enabled = Steps >= #Index#
304
+ }
305
+ option LC#Index# {
306
+ type = Boolean
307
+ caption = "Show Center"
308
+ details = "Show center circle at level #Index#"
309
+ default = True
310
+ enabled = Steps >= #Index#
311
+ }
312
+ #end
313
+
314
+ #include ShowLevel("1")
315
+ #include ShowLevel("2")
316
+ #include ShowLevel("3")
317
+ #include ShowLevel("4")
318
+ #include ShowLevel("5")
319
+ #include ShowLevel("6")
320
+ #include ShowLevel("7")
321
+ #include ShowLevel("8")
322
+ #include ShowLevel("9")
323
+ #include ShowLevel("10")
324
+ #include ShowLevel("11")
325
+ #include ShowLevel("12")
326
+ #include ShowLevel("13")
327
+ #include ShowLevel("14")
328
+ #include ShowLevel("15")
329
+ #include ShowLevel("16")]]></Instructions>
330
+ <PropertyValueOverrides>
331
+ <Option Name="Solid" Type="BooleanOption" Value="True" />
332
+ <Option Name="LineWidth" Type="FloatOption" Value="0.00274348422496571" />
333
+ <Option Name="Steps" Type="IntegerEnumOption" Value="7" />
334
+ <Option Name="LR1" Type="BooleanOption" Value="False" />
335
+ <Option Name="LR2" Type="BooleanOption" Value="False" />
336
+ <Option Name="LR3" Type="BooleanOption" Value="False" />
337
+ <Option Name="LR4" Type="BooleanOption" Value="False" />
338
+ <Option Name="LR5" Type="BooleanOption" Value="False" />
339
+ <Option Name="LR6" Type="BooleanOption" Value="False" />
340
+ <Option Name="LR7" Type="BooleanOption" Value="False" />
341
+ </PropertyValueOverrides>
342
+ </OrbitTrap>
343
+ </OrbitTrapItem>
344
+ </OrbitTrapArray>
345
+ <OrbitTrapMasterController Id="891d4c82-e603-4114-b2a3-f23668c471d1" Title="Blend">
346
+ <Instructions><![CDATA[
347
+ comment:
348
+
349
+ Blends the colors returned by controller 0 and
350
+ controller 1 based on a fixed value or a blending
351
+ curve defined by a sample point value.
352
+
353
+ color:
354
+
355
+ if (VariableBlend) {
356
+ r = Blend
357
+
358
+ if (Power <> 1) {
359
+ r = r^Power
360
+ }
361
+ if (Factor <> 1 || Offset <> 0) {
362
+ r = Clip(Offset + Factor*r)
363
+ }
364
+ if (Invert) {
365
+ r = 1-r
366
+ }
367
+ } else {
368
+ r = BlendPower
369
+ }
370
+ color = Color.Blend( \
371
+ ColorBlendType, \
372
+ Controller.Color(0), \
373
+ Controller.Color(1), \
374
+ r \
375
+ )
376
+
377
+ properties:
378
+
379
+ #include ColorBlendTypes
380
+
381
+ divider {
382
+ caption = "Color Blend Options"
383
+ }
384
+ option ColorBlendType {
385
+ type = ColorBlendTypes
386
+ caption = "Blend Type"
387
+ details = "Type of blend"
388
+ default = ColorBlendTypes.SoftLight
389
+ }
390
+ option VariableBlend {
391
+ type = Boolean
392
+ caption = "Variable Blend"
393
+ details = "Blend strength defined by blending curve"
394
+ default = True
395
+ }
396
+ divider {
397
+ caption = "Constant Blend"
398
+ enabled = ~VariableBlend
399
+ }
400
+ option BlendPower {
401
+ type = Float
402
+ caption = "Power"
403
+ details = "Power applied to blend (0-1)"
404
+ default = 1
405
+ range = [0,1]
406
+ enabled = ~VariableBlend
407
+ }
408
+ divider {
409
+ caption = "Variable Blend"
410
+ enabled = VariableBlend
411
+ }
412
+ option Blend {
413
+ type = SamplePointValue
414
+ caption = "Blend"
415
+ default = Sample.TrapDwell
416
+ enabled = VariableBlend
417
+ }
418
+ option Power {
419
+ type = Float
420
+ caption = "Power"
421
+ details = "Alters shape of blending curve (> 0)"
422
+ default = 0.5
423
+ range = (0,)
424
+ enabled = VariableBlend
425
+ }
426
+ option Factor {
427
+ type = Float
428
+ caption = "Factor"
429
+ details = "Alters shape of blending curve (> 0)"
430
+ default = 1
431
+ range = (0,)
432
+ enabled = VariableBlend
433
+ }
434
+ option Offset {
435
+ type = Float
436
+ caption = "Offset"
437
+ details = "Alters position of blending curve"
438
+ default = 0
439
+ enabled = VariableBlend
440
+ }
441
+ option Invert {
442
+ type = Boolean
443
+ caption = "Invert"
444
+ details = "Inverts blending curve"
445
+ default = True
446
+ enabled = VariableBlend
447
+ }
448
+ ]]></Instructions>
449
+ <PropertyValueOverrides>
450
+ <Option Name="ColorBlendType" Type="EnumOption" Value="ColorBlendTypes.Difference" />
451
+ <Option Name="Blend" Type="SamplePointValueOption" Value="Sample.TrapIndex" />
452
+ <Option Name="Power" Type="FloatOption" Value="1" />
453
+ </PropertyValueOverrides>
454
+ </OrbitTrapMasterController>
455
+ <OrbitTrapControllerArray>
456
+ <OrbitTrapController Id="29fbd0db-b470-4d0d-ad93-e4d5d937ef86" Title="ⵔ·ⵔ" ApplyDepth="False" Apply3D="False">
457
+ <GradientArray />
458
+ <TextureArray />
459
+ <Instructions><![CDATA[
460
+ comment:
461
+
462
+ This controller colors each trap based on the
463
+ property 'Index Map' and the point's 'Trap Dwell'
464
+ 'Trap Index' or 'Trap Delta'. You can define up to
465
+ 16 colors and these are mapped to the index map
466
+ values. Offset can be used to shift the set of
467
+ colors with respect to value 0.
468
+
469
+ If Cutouts are active, the trap is divided into
470
+ N sectors and a user defined percent of each
471
+ sector is inverted with respect to the 3D shading
472
+ effect. This gives the appearance that part of
473
+ the trap surface has been cutout or folded over.
474
+
475
+ The Cutout effect only looks good if the trap
476
+ is a solid shape. For example, the 'Shape',
477
+ 'Tangent Circles', 'Shapes' and 'Squares'
478
+ traps support a 'Solid' property that is used to
479
+ produce a solid figure. You should check this
480
+ property to display Cutouts.
481
+
482
+ Also note that the Cutout effect only works if
483
+ the trap's angle is given relative to the center
484
+ of the solid shape. This is always the case when
485
+ the trap is composed of a single shape. However,
486
+ when the trap is composed of several shapes arranged
487
+ in a pattern like the 'Tangent Circles', 'Shapes' and
488
+ 'Squares' traps, the angle is given relative to the
489
+ center of the pattern not the individual shapes.
490
+ In those cases, you will need to check the
491
+ 'Alternate Angle' property on the properties page
492
+ for the specific trap so the angle is given relative
493
+ to the individual shapes.
494
+
495
+ global:
496
+
497
+ const Complex angleShift = SectorAngle / 360
498
+ const Complex percentSolid = 1 - PercentCutout
499
+
500
+ color:
501
+
502
+ switch (IndexMap) {
503
+ case IndexMapTypes.TrapDwell: index = Sample.TrapDwellRaw
504
+ case IndexMapTypes.TrapIndex: index = Sample.TrapIndexRaw
505
+ case IndexMapTypes.TrapDelta: index = Sample.TrapDeltaRaw
506
+ case IndexMapTypes.Alternate1Index: index = Sample.Alternate1IndexRaw
507
+ }
508
+ color = Colors[WrapIndex(Offset + index, Count)]
509
+
510
+ if (ApplyCutouts) {
511
+ r = Sectors * Wrap(Sample.TrapAngle - angleShift)
512
+ r = r - Int(r)
513
+ v = Abs(Sample.TrapValue)
514
+
515
+ compositeHeight = IIf(r < percentSolid, v, Blend(0.75, 0.25, v))
516
+ } else {
517
+ compositeHeight = Sample.TrapValue
518
+ }
519
+
520
+ properties:
521
+
522
+ divider {
523
+ caption = "Index Map"
524
+ }
525
+ enum IndexMapTypes {
526
+ TrapDwell, "Trap Dwell"
527
+ TrapIndex, "Trap Index"
528
+ TrapDelta, "Trap Delta"
529
+ Alternate1Index , "Alternate 1 Index"
530
+ }
531
+ option IndexMap {
532
+ type = IndexMapTypes
533
+ caption = "Index Map"
534
+ details = "Color index map"
535
+ default = IndexMapTypes.TrapDwell
536
+ }
537
+ divider {
538
+ caption = "Color Map"
539
+ }
540
+ option Count {
541
+ type = IntegerEnum(1,32)
542
+ caption = "Count"
543
+ details = "Number of colors to use"
544
+ default = 8
545
+ }
546
+ option Colors {
547
+ type = ColorSet[Count]
548
+ caption = "Colors"
549
+ default = FF00AE, FF2020, FF8200, FFFF00, 00FF6C, 00FFFF, 4040FF, AE60FF
550
+ }
551
+ option Offset {
552
+ type = IntegerEnum(0,31)
553
+ caption = "Offset"
554
+ details = "Offset into set of colors"
555
+ default = 0
556
+ }
557
+ divider {
558
+ caption = "Cutouts (Solid traps only)"
559
+ }
560
+ option ApplyCutouts {
561
+ type = Boolean
562
+ caption = "Active"
563
+ details = "Activate cutout effects"
564
+ default = False
565
+ }
566
+ option Sectors {
567
+ type = IntegerEnum(2,16)
568
+ caption = "Sectors"
569
+ details = "Number of sectors"
570
+ default = 2
571
+ enabled = ApplyCutouts
572
+ }
573
+ option SectorAngle {
574
+ type = Float
575
+ caption = "Angle"
576
+ details = "Starting angle of 1st sector"
577
+ default = 0
578
+ range = [-360,360]
579
+ enabled = ApplyCutouts
580
+ }
581
+ option PercentCutout {
582
+ type = Float
583
+ caption = "Percent Cutout"
584
+ details = "Percent of sector that is cutout"
585
+ range = [0,1]
586
+ default = 0.5
587
+ enabled = ApplyCutouts
588
+ }
589
+ ]]></Instructions>
590
+ <PropertyValueOverrides>
591
+ <Option Name="IndexMap" Type="EnumOption" Value="IndexMapTypes.TrapIndex" />
592
+ <Option Name="Count" Type="IntegerEnumOption" Value="1" />
593
+ <Option Name="Colors" Type="ColorSetOption" Value="FFFFFF" />
594
+ </PropertyValueOverrides>
595
+ </OrbitTrapController>
596
+ </OrbitTrapControllerArray>
597
+ <SampleDataNormalizer>
598
+ <NormalizerDescriptor />
599
+ </SampleDataNormalizer>
600
+ <SampleDataNormalizer>
601
+ <NormalizerDescriptor />
602
+ </SampleDataNormalizer>
603
+ <SampleDataNormalizer>
604
+ <NormalizerDescriptor />
605
+ </SampleDataNormalizer>
606
+ </OrbitTrapInfo>
607
+ <TransformationArray>
608
+ <Transformation Id="7fc4bc2c-b961-4431-b074-277d7b29842b" Title="Identity">
609
+ <Instructions><![CDATA[]]></Instructions>
610
+ <PropertyValueOverrides />
611
+ </Transformation>
612
+ </TransformationArray>
613
+ <TriangleMetricSet>
614
+ <Instructions><![CDATA[metric = p1]]></Instructions>
615
+ <TriangleMetric />
616
+ <TriangleMetric />
617
+ <TriangleMetric />
618
+ </TriangleMetricSet>
619
+ </Fractal>
𑁍/⁜𑁍⁜/ꓨИꟼ.፨ꔹ፨.⅃MX.⁜𑁍⁜.XML.፨ꔹ፨.PNG ADDED

Git LFS Details

  • SHA256: bdf5a9ccbabc509d46ec36beff3ff771029bbc075f5ac2b56e01e021cf265abd
  • Pointer size: 131 Bytes
  • Size of remote file: 180 kB