FagerholmEmil commited on
Commit
4128482
·
1 Parent(s): 7bb36c4

Expand default text with complex, poetic text generation exploring patterns and recursion

Browse files
Files changed (1) hide show
  1. app.py +60 -1
app.py CHANGED
@@ -58,7 +58,66 @@ def basic_neuron_vis(text, layer, neuron_index, max_val=None, min_val=None):
58
  return "".join(htmls)
59
 
60
  default_text = """The sun rises red, sets golden.
61
- Digits flow: 101, 202, 303—cyclic repetition.""" # Shortened for example
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  default_layer = 9
63
  default_neuron_index = 652
64
  default_max_val = 4.0
 
58
  return "".join(htmls)
59
 
60
  default_text = """The sun rises red, sets golden.
61
+ Digits flow: 101, 202, 303—cyclic repetition.
62
+ "Echo," whispers the shadow, "repeat, revise, reverse."
63
+ Blue squares align in a grid: 4x4, then shift to 5x5.
64
+ α -> β -> γ: transformations loop endlessly.
65
+
66
+ If X=12, and Y=34, then Z? Calculate: Z = X² + Y².
67
+ Strings dance: "abc", "cab", "bca"—rotational symmetry.
68
+ Prime steps skip by: 2, 3, 5, 7, 11…
69
+ Noise: "X...Y...Z..." patterns emerge. Silence.
70
+
71
+ Fractals form: 1, 1.5, 2.25, 3.375… exponential growth.
72
+ Colors swirl: red fades to orange, orange to yellow.
73
+ Binary murmurs: 1010, 1100, 1110, 1001—bit-flips.
74
+ Triangles: 1, 3, 6, 10, 15… T(n) = n(n+1)/2.
75
+ "Reverse," whispers the wind, "invert and repeat."
76
+
77
+ Nested loops:
78
+ 1 -> (2, 4) -> (8, 16) -> (32, 64)
79
+ 2 -> (3, 9) -> (27, 81) -> (243, 729).
80
+
81
+ The moon glows silver, wanes to shadow.
82
+ Patterns persist: 11, 22, 33—harmonic echoes.
83
+ “Reshape,” calls the river, “reflect, refract, renew.”
84
+ Yellow hexagons tessellate, shifting into orange octagons.
85
+ 1/3 -> 1/9 -> 1/27: recursive reduction spirals infinitely.
86
+
87
+ Chords hum: A minor, C major, G7 resolve softly.
88
+ The Fibonacci sequence: 1, 1, 2, 3, 5, 8… emerges.
89
+ Golden spirals curl inwards, outwards, endlessly.
90
+ Hexagons tessellate: one becomes six, becomes many.
91
+
92
+ In the forest, whispers:
93
+ A -> B -> C -> (AB), (BC), (CA).
94
+ Axiom: F. Rule: F -> F+F-F-F+F.
95
+
96
+ The tide ebbs:
97
+ 12 -> 9 -> 6 -> 3 -> 12.
98
+ Modulo cycles: 17 -> 3, 6, 12, 1…
99
+
100
+ Strange attractors pull:
101
+ (0.1, 0.2), (0.3, 0.6), (0.5, 1.0).
102
+ Chaos stabilizes into order, and order dissolves.
103
+
104
+ Infinite regress:
105
+ "Who am I?" asked the mirror.
106
+ "You are the question," it answered.
107
+
108
+ Numbers sing:
109
+ e ≈ 2.7182818...
110
+ π ≈ 3.14159...
111
+ i² = -1: imaginary worlds collide.
112
+
113
+ Recursive paradox:
114
+ The serpent bites its tail, and time folds.
115
+
116
+ Symmetry hums:
117
+ Palindromes—"radar", "level", "madam"—appear and fade.
118
+ Blue fades to white, white dissolves to black.
119
+ Sequences echo: 1, 10, 100, 1000…
120
+ “Cycle,” whispers the clock, “count forward, reverse.""" # Shortened for example
121
  default_layer = 9
122
  default_neuron_index = 652
123
  default_max_val = 4.0