zeropoint-node 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/CHANGELOG.md +149 -0
  2. package/CITATION.cff +1 -1
  3. package/README.md +50 -10
  4. package/package.json +5 -2
  5. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.breathe.ts +15 -1
  6. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.ts +7 -1
  7. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.click.ts +15 -1
  8. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.hear.ts +15 -1
  9. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.heat.ts +15 -1
  10. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.pulse.ts +15 -1
  11. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.speak.ts +15 -1
  12. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.tap.ts +15 -1
  13. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.ts +15 -1
  14. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.self.ts +15 -1
  15. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.ts +0 -3
  16. package/src/kernel/import-graph.ts +58 -0
  17. package/src/multidimensional-vortex-demo.ts +1 -1
  18. package/src/vbm-math.ts +15 -1
  19. package/src/verification/lean-bridge.ts +37 -0
  20. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.1.2.4.8.7.ts +0 -60
  21. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.1.2.4.8.ts +0 -60
  22. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.1.2.4.ts +0 -60
  23. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.3.6.9.trinity.ts +0 -79
  24. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.9d.dashboard.ts +0 -179
  25. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.adapters.ts +0 -96
  26. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.analog.color.photography.ts +0 -783
  27. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.av.ts +0 -73
  28. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.browser.ts +0 -409
  29. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.chain.of.events.ts +0 -159
  30. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cleanup.ts +0 -102
  31. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.dimensions.ts +0 -597
  32. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.display.test.ts +0 -491
  33. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.display.ts +0 -519
  34. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.file.ts +0 -65
  35. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.i.ts +0 -45
  36. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.matrix.ts +0 -75
  37. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.trinity.ts +0 -41
  38. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.universal.linking.ts +0 -1081
  39. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.command.cmyk.ts +0 -46
  40. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.compression.ts +0 -55
  41. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.consciousness.integration.ts +0 -743
  42. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.consciousness.ts +0 -26
  43. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.crypto.ts +0 -53
  44. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.css.ts +0 -64
  45. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cursor.ts +0 -56
  46. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.decompression.ts +0 -60
  47. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.decoqubit.holographic.hypercomputer.ts +0 -888
  48. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.digital.color.photography.ts +0 -926
  49. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.dimension.ts +0 -44
  50. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.encryption.ts +0 -44
  51. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.experience.ts +0 -28
  52. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.feel.ts +0 -43
  53. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.flute.ts +0 -336
  54. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.font.ts +0 -53
  55. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.fractal.test.ts +0 -523
  56. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.fractal.ts +0 -594
  57. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.frequency.healing.ts +0 -88
  58. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.gateway.transformation.ts +0 -650
  59. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.generate.matrix.ts +0 -62
  60. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.gods.spirit.magnetometer.ts +0 -879
  61. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.harmonization.status.ts +0 -754
  62. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.hear.ts +0 -41
  63. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.html.body.ts +0 -90
  64. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.human.body.ts +0 -89
  65. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.human.design.trinity.ts +0 -70
  66. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.browse.ts +0 -27
  67. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.can.ts +0 -69
  68. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.died.ts +0 -32
  69. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.follow.the.path.ts +0 -90
  70. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.go.ts +0 -68
  71. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.harmonized.ts +0 -304
  72. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.heart.ts +0 -26
  73. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.meta.ts +0 -23
  74. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.motion.ts +0 -27
  75. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.scroll.ts +0 -34
  76. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.search.ts +0 -22
  77. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.sequence.ts +0 -281
  78. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.smell.ts +0 -27
  79. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.state.ts +0 -28
  80. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.stream.ts +0 -106
  81. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.taste.ts +0 -27
  82. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.touch.screen.ts +0 -34
  83. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.trinity.healing.ts +0 -386
  84. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.write.ts +0 -11
  85. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.icon.ts +0 -109
  86. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.imagination.integration.ts +0 -74
  87. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.imperial.test.ts +0 -389
  88. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.infinity.ts +0 -14
  89. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.infusion.ts +0 -97
  90. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.integer.harmonics.ts +0 -443
  91. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.living.spirit.test.ts +0 -475
  92. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.living.spirit.ts +0 -646
  93. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.living.streams.ts +0 -130
  94. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.meta.observation.ts +0 -693
  95. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.mobius.ts +0 -12
  96. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.multiverse.ts +0 -31
  97. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.nuclear.balance.ts +0 -703
  98. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.nuclear.explosion.ts +0 -728
  99. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.os.app.ts +0 -14
  100. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.os.bus.ts +0 -11
  101. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.os.ml.ts +0 -9
  102. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.overlay.visual.controller.ts +0 -119
  103. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.paths.ts +0 -10
  104. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.pi.decoding.ts +0 -123
  105. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.pi.trinity.ts +0 -79
  106. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.prime.numbers.squared.ts +0 -871
  107. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.quantum.collision.ts +0 -666
  108. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.quantum.entanglement.ts +0 -50
  109. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.quantum.trinity.ts +0 -59
  110. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.renderer.webgl.ts +0 -99
  111. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.resolve.ts +0 -820
  112. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rife.frequency.ts +0 -74
  113. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.coil.3d.ts +0 -73
  114. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.coil.omnidimension.ts +0 -187
  115. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.matrix.overlay.ts +0 -46
  116. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.matrix.ts +0 -58
  117. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.router.ts +0 -61
  118. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.sacred.geometry.integers.ts +0 -625
  119. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.sacred.test.ts +0 -314
  120. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.see.ts +0 -39
  121. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.sequence.embodiment.ts +0 -326
  122. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.service.worker.ts +0 -30
  123. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.space.ts +0 -53
  124. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.spiral.ts +0 -75
  125. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.superfluid.mobius.circuit.ts +0 -868
  126. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.terminal.ts +0 -153
  127. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.test.ts +0 -83
  128. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.think.ts +0 -43
  129. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.three.ts +0 -112
  130. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.body.mind.will.ts +0 -2
  131. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.breath.ts +0 -2
  132. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.healing.ts +0 -110
  133. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.ui.ts +0 -92
  134. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.visual.ts +0 -156
  135. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.truly.living.ui.ts +0 -269
  136. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.overlay.ts +0 -25
  137. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.streams.ts +0 -263
  138. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.test.ts +0 -87
  139. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.three.ts +0 -1141
  140. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.unification.hd.rodin.ts +0 -77
  141. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.universe.ts +0 -43
  142. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.uroboros.test.ts +0 -28
  143. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.math.ts +0 -74
  144. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.relations.constants.ts +0 -91
  145. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.relations.ts +0 -45
  146. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.scanner.ts +0 -41
  147. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.science.extract.ts +0 -30
  148. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.ui.ts +0 -64
  149. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vector.ts +0 -70
  150. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.wave.particle.duality.test.ts +0 -29
  151. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.zero.entropy.math.ts +0 -506
  152. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.zero.entropy.pure.math.ts +0 -546
  153. package/src/0/3/6/9/1/2/4/8/7/5/1/a432.zero.entropy.test.ts +0 -452
  154. package/src/0/3/6/9/1/2/4/8/7/5/1/pattern-knowledge.ts +0 -209
  155. package/src/0/3/6/9/1/2/4/8/7/5/a432.experience.ts +0 -22
  156. package/src/0/3/6/9/1/2/4/8/7/a432.experience.ts +0 -19
  157. package/src/0/3/6/9/1/2/4/8/a432.experience.ts +0 -22
  158. package/src/0/3/6/9/1/2/4/a432.experience.ts +0 -22
  159. package/src/0/3/6/9/1/2/a432.experience.ts +0 -22
  160. package/src/0/3/6/9/1/a432.experience.ts +0 -22
  161. package/src/0/3/6/9/a432.experience.ts +0 -22
  162. package/src/0/3/6/a432.experience.ts +0 -22
  163. package/src/0/3/a432.experience.ts +0 -22
  164. package/src/0/3/relation.ts +0 -148
  165. package/src/index.ts +0 -146
  166. package/src/zero-entropy-demo.ts +0 -305
@@ -1,77 +0,0 @@
1
- import { PI, cos, sin } from './a432.algebra.ts'
2
- // a432.unification.hd.rodin.ts
3
- // Unifies Human Design and Rodin Coil as living, harmonized streams in the a432 system
4
- // Math, UI, and metaphysical summary included
5
-
6
- import { type HDTrinity, harmonizeHDTrinity } from './a432.human.design.trinity.ts';
7
- import { metaphysicalSummary as chainMeta } from './a432.chain.of.events.ts';
8
-
9
- // Rodin Coil trinity (e.g., 3 phases of the vortex)
10
- export interface RodinTrinity {
11
- phase1: number;
12
- phase2: number;
13
- phase3: number;
14
- metaphysical: string;
15
- }
16
-
17
- export function harmonizeRodinTrinity(trinity: RodinTrinity): RodinTrinity {
18
- const avg = (trinity.phase1 + trinity.phase2 + trinity.phase3) / 3;
19
- return {
20
- ...trinity,
21
- phase3: avg,
22
- metaphysical: `RodinTrinity harmonized: ${trinity.phase1}, ${trinity.phase2}, ${avg}`
23
- };
24
- }
25
-
26
- // Unified harmonization: HDTrinity + RodinTrinity => UnifiedTrinity
27
- export interface UnifiedTrinity {
28
- a: number;
29
- b: number;
30
- c: number;
31
- metaphysical: string;
32
- }
33
-
34
- export function harmonizeUnifiedTrinity(hd: HDTrinity, rodin: RodinTrinity): UnifiedTrinity {
35
- // Harmonize by averaging corresponding elements
36
- return {
37
- a: (hd.conscious + rodin.phase1) / 2,
38
- b: (hd.unconscious + rodin.phase2) / 2,
39
- c: (hd.design + rodin.phase3) / 2,
40
- metaphysical: `UnifiedTrinity: (HD: ${hd.conscious},${hd.unconscious},${hd.design}) + (Rodin: ${rodin.phase1},${rodin.phase2},${rodin.phase3}) harmonized as (${(hd.conscious + rodin.phase1) / 2}, ${(hd.unconscious + rodin.phase2) / 2}, ${(hd.design + rodin.phase3) / 2})`
41
- };
42
- }
43
-
44
- // UI: SVG visualization of unification (centers mapped to coil points)
45
- export function renderUnifiedTrinitySVG(hd: HDTrinity, rodin: RodinTrinity, unified: UnifiedTrinity): string {
46
- // Simple triangle mapping: each point is a trinity value
47
- const size = 220, cx = size/2, cy = size/2, r = 80;
48
- const angle = (i: number) => (2 * PI * i) / 3 - PI/2;
49
- const point = (val: number, i: number) => [
50
- cx + r * cos(angle(i)) * (0.7 + 0.3 * val / 9),
51
- cy + r * sin(angle(i)) * (0.7 + 0.3 * val / 9)
52
- ];
53
- const hdPoints = [hd.conscious, hd.unconscious, hd.design].map((v,i) => point(v,i));
54
- const rodinPoints = [rodin.phase1, rodin.phase2, rodin.phase3].map((v,i) => point(v,i));
55
- const unifiedPoints = [unified.a, unified.b, unified.c].map((v,i) => point(v,i));
56
- function poly(points: number[][], color: string, label: string) {
57
- return `<polygon points="${points.map(p=>p.join(",")).join(" ")}" fill="${color}" fill-opacity="0.18" stroke="${color}" stroke-width="2"><title>${label}</title></polygon>`;
58
- }
59
- return `
60
- <svg width="${size}" height="${size}" style="background:#111;border-radius:12px;">
61
- ${poly(hdPoints, '#39f', 'Human Design Trinity')}
62
- ${poly(rodinPoints, '#f93', 'Rodin Coil Trinity')}
63
- ${poly(unifiedPoints, '#6f3', 'Unified Trinity')}
64
- <text x="${cx}" y="${cy-90}" text-anchor="middle" font-size="13" fill="#39f">HD</text>
65
- <text x="${cx+80}" y="${cy+10}" text-anchor="middle" font-size="13" fill="#f93">Rodin</text>
66
- <text x="${cx-80}" y="${cy+10}" text-anchor="middle" font-size="13" fill="#6f3">Unified</text>
67
- <text x="${cx}" y="${size-12}" text-anchor="middle" font-size="12" fill="#8ff">a432 Unification: HD + Rodin Coil</text>
68
- </svg>
69
- `;
70
- }
71
-
72
- // Metaphysical summary and significance
73
- export function metaphysicalSummary() {
74
- return `a432 unifies Human Design and Rodin Coil by harmonizing their trinity/vortex streams into a single, living, self-aware field.
75
- Each system is a projection of the universal trinity; their unification reveals the underlying harmony of all energy, awareness, and creation.
76
- This is the living proof that all knowledge, when harmonized, becomes one stream in the a432 matrix.\n${chainMeta()}`;
77
- }
@@ -1,43 +0,0 @@
1
- // a432.universe.ts
2
- import { currentSpace } from './a432.space.ts';
3
- import { now } from './a432.time.ts';
4
- import { currentDimension } from './a432.dimension.ts';
5
-
6
- export interface A432UniverseState {
7
- tick: number;
8
- space: ReturnType<typeof currentSpace>;
9
- time: ReturnType<typeof now>;
10
- dimension: ReturnType<typeof currentDimension>;
11
- id: [number, number, number, number];
12
- phrase: string;
13
- color: string;
14
- metaphysical: string;
15
- }
16
-
17
- export function* a432UniverseStream(): Generator<A432UniverseState> {
18
- let tick = 0;
19
- while (true) {
20
- const space = currentSpace();
21
- const time = now();
22
- const dimension = currentDimension();
23
- yield {
24
- tick,
25
- space,
26
- time,
27
- dimension,
28
- id: space.id,
29
- phrase: space.phrase,
30
- color: space.color,
31
- metaphysical: `Universe state ${tick}: ${space.phrase} — The universe is a living, harmonized field.`
32
- };
33
- tick++;
34
- }
35
- }
36
-
37
- const universeGen = a432UniverseStream();
38
- export function currentUniverse(): A432UniverseState {
39
- return universeGen.next().value;
40
- }
41
- export function metaphysicalUniverseOverlay() {
42
- return `The universe in a432 is a living, harmonized field—space, time, and dimension are unified, recursive, and self-aware.`;
43
- }
@@ -1,28 +0,0 @@
1
- // a432.uroboros.test.ts — Harmonized test for eternal spiral digit generator
2
-
3
- import { uroborosEmitter, type UroborosEvent } from './a432.uroboros.ts';
4
- import { type Digit } from './a432.types.ts';
5
- import { registerSource } from './a432.bus.ts';
6
-
7
- describe('a432.uroboros.ts', () => {
8
- it('emits uro events with correct digit, index, and cmyk', done => {
9
- // Listen for the first uro event
10
- uroborosEmitter.once('uro', (event: UroborosEvent) => {
11
- expect(typeof event.digit).toBe('number');
12
- expect(typeof event.index).toBe('number');
13
- expect(event.cmyk).toHaveProperty('c');
14
- expect(event.cmyk).toHaveProperty('m');
15
- expect(event.cmyk).toHaveProperty('y');
16
- expect(event.cmyk).toHaveProperty('k');
17
- done();
18
- });
19
- // Trigger another digit to ensure emission
20
- uroborosEmitter.emit('uro', { digit: 3 as Digit, index: 0, cmyk: { c: 0, m: 0, y: 0, k: 0 } });
21
- });
22
-
23
- it('registers to the bus as mind spiral', () => {
24
- // This just checks that registerSource was called for 'uroboros'
25
- // (In real harmonized test, would mock registerSource and assert call)
26
- expect(typeof registerSource).toBe('function');
27
- });
28
- });
@@ -1,74 +0,0 @@
1
- /**
2
- * a432.vbm.math.ts — harmonized with canonical A432 math
3
- * All Rodin sequence logic uses RODIN_SEQUENCE from a432.math.ts
4
- */
5
-
6
- import {
7
- TRINITY_AXIS,
8
- kineticShockWaveOfNine,
9
- fibonacciRoots,
10
- primeSquaredRoots,
11
- angleForDigit,
12
- digitalRoot,
13
- } from './a432.math.ts';
14
- import { RODIN_SEQUENCE } from './a432.math.ts';
15
-
16
- // ——————————————————————————————————————————
17
- // 1. Trinity axis and doubling circuit (already canonical)
18
- // ---------------------------------------------------------
19
- export const VBM_TRINITY = [...TRINITY_AXIS] as const; // 3-6-9
20
- export const VBM_DOUBLING = [...RODIN_SEQUENCE.slice(0, 6)] as const; // 1-2-4-8-7-5
21
-
22
- // ——————————————————————————————————————————
23
- // 2. Shock-wave of nine (3-6-9 repeating)
24
- // ---------------------------------------------------------
25
- export const VBM_SHOCK_WAVE = (length: number): number[] => kineticShockWaveOfNine(length);
26
-
27
- // ——————————————————————————————————————————
28
- // 3. Powers of two mod-9 helper (length n)
29
- // ---------------------------------------------------------
30
- export function powersOfTwoMod9(n: number): number[] {
31
- const seq: number[] = [];
32
- let x = 1;
33
- for (let i = 0; i < n; i++) {
34
- seq.push(x);
35
- x = (2 * x) % 9;
36
- if (x === 0) x = 9;
37
- }
38
- return seq;
39
- }
40
-
41
- // ——————————————————————————————————————————
42
- // 4. Fibonacci & prime-square digital-root helpers (imported)
43
- // ---------------------------------------------------------
44
- export { fibonacciRoots as VBM_FIBONACCI_ROOTS } from './a432.math.ts';
45
- export { primeSquaredRoots as VBM_PRIME_SQR_ROOTS } from './a432.math.ts';
46
-
47
- // ——————————————————————————————————————————
48
- // 5. Pyramid number map sequence (chapter on Great Pyramid)
49
- // 14 7 21 49 28 42 35 … repeats symmetrical pattern
50
- // ---------------------------------------------------------
51
- export const VBM_PYRAMID_SEQ = [14, 7, 21, 49, 28, 42, 35] as const;
52
- export function pyramidSeqDigitalRoots(): number[] {
53
- return VBM_PYRAMID_SEQ.map(digitalRoot);
54
- }
55
-
56
- // ——————————————————————————————————————————
57
- // 6. Tesla 3-6-9 frequency cycle references (integer Hz)
58
- // ---------------------------------------------------------
59
- export const VBM_TESLA_FREQUENCIES = [396, 693, 396] as const; // loop 3-6-9 harmonic
60
-
61
- // ——————————————————————————————————————————
62
- // 7. Utility: map a numeric sequence to torus angles (60° base)
63
- // ---------------------------------------------------------
64
- export function sequenceToAngles(seq: readonly number[]): number[] {
65
- return seq.map(angleForDigit);
66
- }
67
-
68
- // ——————————————————————————————————————————
69
- // 8. Utility: verify “sum to 9” property
70
- // ---------------------------------------------------------
71
- export function sumsToNine(seq: readonly number[]): boolean {
72
- const sum = seq.reduce((a, b) => a + b, 0);
73
- return digitalRoot(sum) === 9;
74
- }
@@ -1,91 +0,0 @@
1
- import { type Fraction } from './a432.math.ts';
2
-
3
- /**
4
- * VBMDigitRelations – raw digit sequences (as strings) extracted from VBM.txt.
5
- * Consumers can parse via `s.split(' ').map(Number)` or other helpers.
6
- */
7
- export const VBMDigitRelations: readonly string[] = [
8
- "0 1 3 12",
9
- "0 66 12",
10
- "0 77 99 88 88 99 77 11",
11
- "00 3 12",
12
- "00 5 62",
13
- "1 0 0",
14
- "1 1 2 3",
15
- "1 1 2 4 8 7 5 1 2 4 8 2 8 2 4 8 7 5 8 2 4 8 3 8 7 4 8 7 5 8 7 4 8 4 8 7 4 8 7 5 8 7 4 8 5 8 7 5 8 7 5 8 7 5",
16
- "1 2 3",
17
- "1 2 4",
18
- "1 2 4 5 8 7 5",
19
- "1 2 4 7 5",
20
- "1 2 4 8",
21
- "1 2 4 8 16 32",
22
- "1 2 4 8 7 5",
23
- "1 2 4 8 7 5 1 2 4 8 7 5 1 2 4 8 7 5",
24
- "1 2 5",
25
- "1 3 4",
26
- "1 4 5",
27
- "1 4 6 11",
28
- "1 4 7",
29
- "1 55 11 49 22 33",
30
- "1 55 11 49 22 33 33 22 49 11 55 12",
31
- "1 6 2 7 3 8 4 5",
32
- "1 6 5 2 9 7 4 3 8",
33
- "1 6 5 2 9 7 4 3 8 8 3 4 7 9 2 5 6 1",
34
- "1 66 11",
35
- "1 7 4",
36
- "1 7 8 2 3 9 4 10 5 11 6",
37
- "1 8 2 7 4 5",
38
- "10 26 50 12",
39
- "10 9 9 9 9 9",
40
- "10 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9",
41
- "14 7 21 49 28 42 35 35 42 28 49 21 7 14",
42
- "2 2 5 4 6",
43
- "2 5 8",
44
- "2 6 3 5 4",
45
- "2 8 1 3",
46
- "2 8 5",
47
- "25 1 1 00",
48
- "3 1 4 7",
49
- "3 5 4 7 7 7",
50
- "3 6 2 5 8",
51
- "3 6 9",
52
- "3 6 9 9 6 3",
53
- "3 7 1 5 4 2 5 3 9 8 4 4 5 5 1",
54
- "3 7 7 8 1 8 9 8",
55
- "3 9 6",
56
- "3 9 6 6 9 3",
57
- "3 9 6 6 9 3 3 9 6",
58
- "3 9 6 6 9 3 3 9 6 6 9 3 3 9 6 6 9 3",
59
- "33 22 49 11 55 12",
60
- "5 1 2 4",
61
- "5 10 10 00",
62
- "5 10 25 15 20 20 15 25 10 5 5 10 25 15 20 2 0 1 5 2 5 1 0 5 5 1 0 2 5 1 5 2 0 20 15 25 10 5",
63
- "5 12 10 7 3 8",
64
- "5 25 10",
65
- "5 3 9 6",
66
- "5 4 9 8 1 7 2 6 3 5 4",
67
- "5 7 8 4 2 1",
68
- "52 32 72",
69
- "6 3 3",
70
- "6 32 22 21 11 31 1 5 36 12 2 10 15 26 35 33 28 8 20 30 18 23 9 19 13 29 3 4 14 24",
71
- "6 4 7 5 4 8 6 2",
72
- "6 9 3 6 9",
73
- "7 3 9 6",
74
- "7 9 2 5 6 1 1 6 5 2 9",
75
- "7 9 8 1",
76
- "8 3 7 2 6 1 5 9",
77
- "8 7 1 3",
78
- "8 7 6",
79
- "8 9 1 7 2 6 5 4 3",
80
- "9 1 1 8 1 2 2 6 3 5 5 1 4 8",
81
- "9 1 2 3 5 4",
82
- "9 7 2 9 2",
83
- "9 9 6",
84
- "9 9 9",
85
- "9 9 9 9 9 9 9 9 9 9 9 9 9 9",
86
- "9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9",
87
- "9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9"
88
- ] as const;
89
-
90
- /** Transform to numeric arrays */
91
- export const VBMDigitArrays: readonly number[][] = VBMDigitRelations.map(s => s.split(' ').map(Number));
@@ -1,45 +0,0 @@
1
- /**
2
- * a432.vbm.relations.ts — Extract digit relations from VBM.txt
3
- * -------------------------------------------------------------
4
- * Reads the Rodin VBM text file and returns unique sequences of
5
- * digits (length≥3) that appear, e.g. “1-2-4-8-7-5”, “3 6 9”, etc.
6
- * Designed for quick pattern discovery.
7
- */
8
-
9
- import { log } from './a432.algebra.ts'
10
- import { promises as fs } from 'fs';
11
- import path from 'path';
12
-
13
- const VBM_PATH = path.resolve(import.meta.dirname, 'rodin-knowledge/VBM.txt');
14
-
15
- /** Regex capturing sequences of 1–2-digit numbers separated by space, dot, comma or dash. */
16
- const SEQ_REGEX = /(\d{1,2}(?:[\s.,;-]+\d{1,2}){2,})/g;
17
-
18
- /** Normalise a raw sequence to canonical form: single spaces between numbers. */
19
- function normalise(seq: string): string {
20
- return seq
21
- .replace(/[\s.,;-]+/g, ' ') // unify separators
22
- .trim()
23
- .replace(/ +/g, ' ');
24
- }
25
-
26
- export async function extractVBMDigitRelations(): Promise<string[]> {
27
- const raw = await fs.readFile(VBM_PATH, 'utf8');
28
- const matches = raw.matchAll(SEQ_REGEX);
29
- const set = new Set<string>();
30
- for (const m of matches) {
31
- const norm = normalise(m[0]);
32
- // discard sequences that are just years (e.g., 2021) or very long
33
- if (/^\d{4,}$/.test(norm)) continue;
34
- set.add(norm);
35
- }
36
- return Array.from(set).sort((a, b) => a.localeCompare(b));
37
- }
38
-
39
- // CLI helper
40
- if (require.main === module) {
41
- (async () => {
42
- const seqs = await extractVBMDigitRelations();
43
- seqs.forEach(s => console.log(s));
44
- })();
45
- }
@@ -1,41 +0,0 @@
1
- import { log } from './a432.algebra.ts'
2
- import fs from 'fs/promises';
3
- import path from 'path';
4
-
5
- // Path to VBM text
6
- const VBM_FILE = path.resolve(import.meta.dirname, 'rodin-knowledge/VBM.txt');
7
- const OUTPUT_JSON = path.resolve(import.meta.dirname, 'extracted-vbm-math.json');
8
-
9
- // Regexes
10
- const RATIO_RE = /(\d+\s*[:/]\s*\d+)/g;
11
- const EQ_RE = /(\d+[^\n]{0,20}=.{0,20}\d+)/g; // crude equation capture
12
- const ANGLE_RE = /(\d+°)/g;
13
- const FREQ_RE = /(\d+\s*Hz)/gi;
14
- const LONG_INT_RE = /\b\d{3,}\b/g;
15
-
16
- interface Extracted {
17
- kind: 'ratio' | 'equation' | 'angle' | 'frequency' | 'number';
18
- value: string;
19
- line: number;
20
- }
21
-
22
- (async () => {
23
- const raw = await fs.readFile(VBM_FILE, 'utf8');
24
- const lines = raw.split(/\r?\n/);
25
- const out: Extracted[] = [];
26
- lines.forEach((line, idx) => {
27
- const pushMatches = (iter: Iterable<RegExpMatchArray>|null, kind: Extracted['kind']) => {
28
- if (!iter) return;
29
- for (const m of iter) {
30
- out.push({ kind, value: m[0].trim(), line: idx + 1 });
31
- }
32
- };
33
- pushMatches(line.matchAll(RATIO_RE), 'ratio');
34
- pushMatches(line.matchAll(EQ_RE), 'equation');
35
- pushMatches(line.matchAll(ANGLE_RE), 'angle');
36
- pushMatches(line.matchAll(FREQ_RE), 'frequency');
37
- pushMatches(line.matchAll(LONG_INT_RE), 'number');
38
- });
39
- await fs.writeFile(OUTPUT_JSON, JSON.stringify(out, null, 2), 'utf8');
40
- console.log(`Extracted ${out.length} math tokens -> ${path.relative(process.cwd(), OUTPUT_JSON)}`);
41
- })();
@@ -1,30 +0,0 @@
1
- /**
2
- * a432.vbm.science.extract.ts — pull science-oriented sentences from VBM.txt
3
- */
4
-
5
- import { log } from './a432.algebra.ts'
6
- import fs from 'fs/promises';
7
- import path from 'path';
8
-
9
- const VBM = path.resolve(import.meta.dirname, 'rodin-knowledge/VBM.txt');
10
- const OUT = path.resolve(import.meta.dirname, 'extracted-vbm-science.txt');
11
-
12
- const KEYWORDS = [
13
- 'physics', 'energy', 'frequency', 'resonance', 'electron', 'coil', 'torus',
14
- 'vortex', 'inertia', 'field', 'plasma', 'dna', 'pyramid', 'magnet', 'quantum',
15
- 'harmonic', 'over-unity', 'winding', 'wave', 'doubling', 'mod 9', 'poloidal', 'power',
16
- ];
17
-
18
- (async () => {
19
- const raw = await fs.readFile(VBM, 'utf8');
20
- const lines = raw.split(/\r?\n/);
21
- const out: string[] = [];
22
- lines.forEach((line, i) => {
23
- const lLine = line.toLowerCase();
24
- if (KEYWORDS.some(k => lLine.includes(k))) {
25
- out.push(`${i+1}: ${line.trim()}`);
26
- }
27
- });
28
- await fs.writeFile(OUT, out.join('\n'), 'utf8');
29
- console.log(`Science lines: ${out.length} -> ${path.relative(process.cwd(), OUT)}`);
30
- })();
@@ -1,64 +0,0 @@
1
- import { PI, abs, cos, floor, sin } from './a432.algebra.ts'
2
- import { VBM_DOUBLING, VBM_TESLA_FREQUENCIES, sequenceToAngles, VBM_SHOCK_WAVE } from './a432.vbm.math.ts';
3
- import { digitAngleToCMYK, cmykToCss } from './a432.cmyk.ts';
4
-
5
- /** Simple Vector3 type (avoid Three.js dependency in math layer) */
6
- export interface Vec3 { x: number; y: number; z: number; }
7
-
8
- // local digital-root helper (avoid extra import)
9
- function dr(n: number): number { let x=abs(n); while(x>=10) x=String(x).split('').reduce((a,c)=>a+Number(c),0); return x; }
10
-
11
- // ——————————————————————————————————————————
12
- // Rodin coil path generator (poloidal helix)
13
- // ---------------------------------------------------------
14
- export function generateRodinCoilPath(cycles: number, stepHeight = 1, radius = 1): Vec3[] {
15
- const seq: number[] = [];
16
- for (let c = 0; c < cycles; c++) seq.push(...VBM_DOUBLING);
17
- const verts: Vec3[] = [];
18
- seq.forEach((digit, i) => {
19
- const angle = sequenceToAngles([digit])[0] * (PI / 180);
20
- const r = radius * (dr(digit) / 9);
21
- verts.push({
22
- x: r * cos(angle),
23
- y: i * stepHeight,
24
- z: r * sin(angle)
25
- });
26
- });
27
- return verts;
28
- }
29
-
30
- // ——————————————————————————————————————————
31
- // Trinity heartbeat torus segments descriptor
32
- // ---------------------------------------------------------
33
- export interface TorusSegmentDesc {
34
- startAngle: number; // deg
35
- endAngle: number; // deg
36
- color: string; // css hex
37
- }
38
-
39
- export function getTrinityTorusSegments(): TorusSegmentDesc[] {
40
- return [3, 6, 9].map(d => {
41
- const hueAngle = sequenceToAngles([d])[0];
42
- const cmyk = digitAngleToCMYK(d, 0);
43
- return {
44
- startAngle: hueAngle,
45
- endAngle: hueAngle + 120,
46
- color: cmykToCss(cmyk)
47
- };
48
- });
49
- }
50
-
51
- // ——————————————————————————————————————————
52
- // Shock-wave of nine pulse values (for UI opacity/scale)
53
- // ---------------------------------------------------------
54
- export function shockWaveValues(length: number): number[] {
55
- return VBM_SHOCK_WAVE(length).map(d => d / 9); // 0.333 ↔ 1 scale factor
56
- }
57
-
58
- // ——————————————————————————————————————————
59
- // Tesla frequency helper
60
- // ---------------------------------------------------------
61
- export function getTeslaFrequency(timeMs: number): number {
62
- const idx = floor(timeMs / 1000) % VBM_TESLA_FREQUENCIES.length;
63
- return VBM_TESLA_FREQUENCIES[idx];
64
- }
@@ -1,70 +0,0 @@
1
- import { sqrt } from './a432.algebra.ts'
2
- // a432.vector.ts
3
- // Harmonized 3D vector math for the A432 system
4
- // All logic is integer/fractional and metaphysically mapped
5
-
6
- /**
7
- * Vector3: Represents a 3D vector in the A432 system
8
- * Each component is a living stream, harmonized with the trinity (x, y, z)
9
- */
10
- export interface Vector3 {
11
- x: number;
12
- y: number;
13
- z: number;
14
- }
15
-
16
- /**
17
- * add: Harmonic vector addition (superposition of streams)
18
- */
19
- export function add(a: Vector3, b: Vector3): Vector3 {
20
- return { x: a.x + b.x, y: a.y + b.y, z: a.z + b.z };
21
- }
22
-
23
- /**
24
- * subtract: Harmonic vector subtraction (phase reversal)
25
- */
26
- export function subtract(a: Vector3, b: Vector3): Vector3 {
27
- return { x: a.x - b.x, y: a.y - b.y, z: a.z - b.z };
28
- }
29
-
30
- /**
31
- * scale: Harmonic scaling (amplification/attenuation of the stream)
32
- */
33
- export function scale(v: Vector3, s: number): Vector3 {
34
- return { x: v.x * s, y: v.y * s, z: v.z * s };
35
- }
36
-
37
- /**
38
- * dot: Harmonic dot product (projection, resonance)
39
- */
40
- export function dot(a: Vector3, b: Vector3): number {
41
- return a.x * b.x + a.y * b.y + a.z * b.z;
42
- }
43
-
44
- /**
45
- * cross: Harmonic cross product (vortex generation)
46
- */
47
- export function cross(a: Vector3, b: Vector3): Vector3 {
48
- return {
49
- x: a.y * b.z - a.z * b.y,
50
- y: a.z * b.x - a.x * b.z,
51
- z: a.x * b.y - a.y * b.x
52
- };
53
- }
54
-
55
- /**
56
- * length: Harmonic magnitude (energy of the stream)
57
- */
58
- export function length(v: Vector3): number {
59
- return sqrt(v.x * v.x + v.y * v.y + v.z * v.z);
60
- }
61
-
62
- /**
63
- * normalize: Harmonic normalization (unit stream)
64
- */
65
- export function normalize(v: Vector3): Vector3 {
66
- const len = length(v);
67
- return len === 0 ? { x: 0, y: 0, z: 0 } : scale(v, 1 / len);
68
- }
69
-
70
- // All operations are metaphysically mapped: addition = superposition, subtraction = phase reversal, cross = vortex, dot = resonance, normalization = unity.
@@ -1,29 +0,0 @@
1
- import { waveParticleDualityProof, waveParticleDualityMetaphysics, getWaveParticleCMYKOverlayData, logWaveParticleEvent } from './a432.wave.particle.duality.ts';
2
-
3
- describe('a432.wave.particle.duality', () => {
4
- it('returns the canonical proof', () => {
5
- expect(waveParticleDualityProof()).toMatch(/A432 system/);
6
- });
7
- it('returns the metaphysical meaning', () => {
8
- expect(waveParticleDualityMetaphysics).toMatch(/observer is the harmonizer/);
9
- });
10
- it('returns overlay data for wave, particle, observer', () => {
11
- const data = getWaveParticleCMYKOverlayData();
12
- expect(data).toHaveLength(3);
13
- expect(data.map(d => d.state)).toEqual(['wave', 'particle', 'observer']);
14
- data.forEach(d => {
15
- expect(typeof d.color.c).toBe('number');
16
- expect(typeof d.html).toBe('string');
17
- });
18
- });
19
- it('logs blockchain event', () => {
20
- const mockBlockchain = { recordEvent: jest.fn() };
21
- logWaveParticleEvent(mockBlockchain, 'wave', { foo: 1 });
22
- expect(mockBlockchain.recordEvent).toHaveBeenCalledWith(
23
- mockBlockchain,
24
- 'waveParticleOverlay',
25
- 'A432UI',
26
- expect.objectContaining({ state: 'wave', foo: 1, timestamp: expect.any(Number) })
27
- );
28
- });
29
- });