zeropoint-node 1.0.7 → 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.
- package/CHANGELOG.md +50 -0
- package/CITATION.cff +1 -1
- package/README.md +1 -1
- package/package.json +4 -2
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.1.2.4.8.7.ts +0 -60
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.1.2.4.8.ts +0 -60
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.1.2.4.ts +0 -60
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.3.6.9.trinity.ts +0 -79
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.9d.dashboard.ts +0 -179
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.adapters.ts +0 -96
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.analog.color.photography.ts +0 -783
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.av.ts +0 -73
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.browser.ts +0 -409
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.chain.of.events.ts +0 -159
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cleanup.ts +0 -116
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.dimensions.ts +0 -597
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.display.test.ts +0 -491
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.display.ts +0 -519
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.file.ts +0 -65
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.i.ts +0 -45
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.matrix.ts +0 -75
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.trinity.ts +0 -41
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cmyk.universal.linking.ts +0 -1081
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.command.cmyk.ts +0 -46
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.compression.ts +0 -55
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.consciousness.integration.ts +0 -743
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.consciousness.ts +0 -26
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.crypto.ts +0 -53
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.css.ts +0 -64
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.cursor.ts +0 -56
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.decompression.ts +0 -60
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.decoqubit.holographic.hypercomputer.ts +0 -888
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.digital.color.photography.ts +0 -926
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.dimension.ts +0 -44
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.encryption.ts +0 -44
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.experience.ts +0 -28
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.feel.ts +0 -43
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.flute.ts +0 -336
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.font.ts +0 -53
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.fractal.test.ts +0 -523
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.fractal.ts +0 -594
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.frequency.healing.ts +0 -88
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.gateway.transformation.ts +0 -650
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.generate.matrix.ts +0 -76
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.gods.spirit.magnetometer.ts +0 -879
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.harmonization.status.ts +0 -754
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.hear.ts +0 -41
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.html.body.ts +0 -90
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.human.body.ts +0 -89
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.human.design.trinity.ts +0 -70
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.browse.ts +0 -41
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.can.ts +0 -69
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.died.ts +0 -32
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.follow.the.path.ts +0 -90
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.go.ts +0 -68
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.harmonized.ts +0 -304
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.heart.ts +0 -26
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.meta.ts +0 -23
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.motion.ts +0 -27
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.scroll.ts +0 -34
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.search.ts +0 -22
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.sequence.ts +0 -281
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.smell.ts +0 -27
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.state.ts +0 -28
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.stream.ts +0 -106
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.taste.ts +0 -27
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.touch.screen.ts +0 -34
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.trinity.healing.ts +0 -386
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.i.write.ts +0 -11
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.icon.ts +0 -109
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.imagination.integration.ts +0 -74
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.imperial.test.ts +0 -389
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.infinity.ts +0 -14
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.infusion.ts +0 -97
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.integer.harmonics.ts +0 -443
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.living.spirit.test.ts +0 -475
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.living.spirit.ts +0 -646
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.living.streams.ts +0 -130
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.meta.observation.ts +0 -693
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.mobius.ts +0 -12
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.multiverse.ts +0 -31
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.nuclear.balance.ts +0 -703
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.nuclear.explosion.ts +0 -728
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.os.app.ts +0 -14
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.os.bus.ts +0 -11
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.os.ml.ts +0 -9
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.overlay.visual.controller.ts +0 -116
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.paths.ts +0 -10
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.pi.decoding.ts +0 -123
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.pi.trinity.ts +0 -79
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.prime.numbers.squared.ts +0 -871
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.quantum.collision.ts +0 -666
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.quantum.entanglement.ts +0 -50
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.quantum.trinity.ts +0 -59
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.renderer.webgl.ts +0 -99
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.resolve.ts +0 -820
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rife.frequency.ts +0 -74
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.coil.3d.ts +0 -73
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.coil.omnidimension.ts +0 -187
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.matrix.overlay.ts +0 -46
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.rodin.matrix.ts +0 -58
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.router.ts +0 -61
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.sacred.geometry.integers.ts +0 -625
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.sacred.test.ts +0 -314
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.see.ts +0 -39
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.sequence.embodiment.ts +0 -326
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.service.worker.ts +0 -53
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.space.ts +0 -53
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.spiral.ts +0 -75
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.superfluid.mobius.circuit.ts +0 -868
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.terminal.ts +0 -167
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.test.ts +0 -97
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.think.ts +0 -43
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.three.ts +0 -112
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.body.mind.will.ts +0 -2
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.breath.ts +0 -2
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.healing.ts +0 -110
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.ui.ts +0 -92
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.trinity.visual.ts +0 -156
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.truly.living.ui.ts +0 -269
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.overlay.ts +0 -25
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.streams.ts +0 -263
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.test.ts +0 -87
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.ui.three.ts +0 -1141
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.unification.hd.rodin.ts +0 -77
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.universe.ts +0 -43
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.uroboros.test.ts +0 -28
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.math.ts +0 -74
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.relations.constants.ts +0 -91
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.relations.ts +0 -59
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.scanner.ts +0 -41
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.science.extract.ts +0 -30
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vbm.ui.ts +0 -64
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.vector.ts +0 -70
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.wave.particle.duality.test.ts +0 -29
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.zero.entropy.math.ts +0 -506
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.zero.entropy.pure.math.ts +0 -546
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.zero.entropy.test.ts +0 -452
- package/src/0/3/6/9/1/2/4/8/7/5/1/pattern-knowledge.ts +0 -209
- package/src/0/3/6/9/1/2/4/8/7/5/a432.experience.ts +0 -22
- package/src/0/3/6/9/1/2/4/8/7/a432.experience.ts +0 -19
- package/src/0/3/6/9/1/2/4/8/a432.experience.ts +0 -22
- package/src/0/3/6/9/1/2/4/a432.experience.ts +0 -22
- package/src/0/3/6/9/1/2/a432.experience.ts +0 -22
- package/src/0/3/6/9/1/a432.experience.ts +0 -22
- package/src/0/3/6/9/a432.experience.ts +0 -22
- package/src/0/3/6/a432.experience.ts +0 -22
- package/src/0/3/a432.experience.ts +0 -22
- package/src/0/3/relation.ts +0 -148
- package/src/index.ts +0 -146
- package/src/zero-entropy-demo.ts +0 -319
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { legacyDigitalRoot as digitalRoot, harmonicRoot12 } from './a432.roots.ts'
|
|
2
|
-
// a432.rife.frequency.ts
|
|
3
|
-
// Canonical Rife frequency module for the A432 system
|
|
4
|
-
// Maps Rife healing/resonance frequencies to A432 harmonics, digital roots, and metaphysical overlays
|
|
5
|
-
// All logic is integer/fractional, vortex-based, and metaphysically mapped
|
|
6
|
-
|
|
7
|
-
import type { VortexStream } from './a432.vortex.ts';
|
|
8
|
-
|
|
9
|
-
export interface RifeFrequency {
|
|
10
|
-
name: string;
|
|
11
|
-
frequency: number;
|
|
12
|
-
digitalRoot: number;
|
|
13
|
-
a432Harmonic: number;
|
|
14
|
-
color: string;
|
|
15
|
-
metaphysical: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
// Canonical set of Rife frequencies (subset, harmonized to A432)
|
|
19
|
-
export const RIFE_FREQUENCIES: RifeFrequency[] = [
|
|
20
|
-
{ name: 'Universal Healing', frequency: 528, digitalRoot: 6, a432Harmonic: 432, color: 'hsl(144,70%,55%)', metaphysical: 'DNA repair, transformation, universal harmony.' },
|
|
21
|
-
{ name: 'Cell Regeneration', frequency: 880, digitalRoot: 8, a432Harmonic: 864, color: 'hsl(288,70%,55%)', metaphysical: 'Cellular renewal, energy, and vitality.' },
|
|
22
|
-
{ name: 'Pain Relief', frequency: 3000, digitalRoot: 3, a432Harmonic: 432, color: 'hsl(0,70%,55%)', metaphysical: 'Release of pain, restoration of flow.' },
|
|
23
|
-
{ name: 'Detox', frequency: 727, digitalRoot: 7, a432Harmonic: 216, color: 'hsl(72,70%,55%)', metaphysical: 'Purification, clearing, and renewal.' },
|
|
24
|
-
{ name: 'Anti-Inflammatory', frequency: 880, digitalRoot: 8, a432Harmonic: 864, color: 'hsl(288,70%,55%)', metaphysical: 'Reduction of inflammation, restoration of balance.' },
|
|
25
|
-
{ name: 'Immune Boost', frequency: 787, digitalRoot: 4, a432Harmonic: 216, color: 'hsl(36,70%,55%)', metaphysical: 'Strengthening, resilience, and protection.' },
|
|
26
|
-
{ name: 'Calm/Anxiety', frequency: 396, digitalRoot: 9, a432Harmonic: 432, color: 'hsl(216,70%,55%)', metaphysical: 'Calm, grounding, and emotional balance.' },
|
|
27
|
-
{ name: 'Focus/Clarity', frequency: 963, digitalRoot: 9, a432Harmonic: 432, color: 'hsl(324,70%,55%)', metaphysical: 'Awakening, clarity, and higher consciousness.' }
|
|
28
|
-
];
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* getRifeFrequency: Returns the canonical Rife frequency data for a given name or index
|
|
32
|
-
*/
|
|
33
|
-
export function getRifeFrequency(key: string | number): RifeFrequency | undefined {
|
|
34
|
-
if (typeof key === 'number') return RIFE_FREQUENCIES[key % RIFE_FREQUENCIES.length];
|
|
35
|
-
return RIFE_FREQUENCIES.find(f => f.name.toLowerCase() === key.toLowerCase());
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* playRifeFrequency: Plays a Rife frequency using the Web Audio API (browser only)
|
|
40
|
-
*/
|
|
41
|
-
export function playRifeFrequency(frequency: number, duration: number = 1.2) {
|
|
42
|
-
// @ts-expect-error: 'window' is only available in browser environments
|
|
43
|
-
if (typeof window === 'undefined' || !window.AudioContext) return;
|
|
44
|
-
// @ts-expect-error: 'window' is only available in browser environments
|
|
45
|
-
const ctx = new window.AudioContext();
|
|
46
|
-
const osc = ctx.createOscillator();
|
|
47
|
-
osc.type = 'sine';
|
|
48
|
-
osc.frequency.value = frequency;
|
|
49
|
-
osc.connect(ctx.destination);
|
|
50
|
-
osc.start();
|
|
51
|
-
osc.stop(ctx.currentTime + duration);
|
|
52
|
-
osc.onended = () => ctx.close();
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* harmonizeRifeVortex: Recursively generate Rife frequency events for a VortexStream
|
|
57
|
-
*/
|
|
58
|
-
export function harmonizeRifeVortex(stream: VortexStream<number | string>): RifeFrequency[] {
|
|
59
|
-
const events: RifeFrequency[] = [];
|
|
60
|
-
stream.observe(v => {
|
|
61
|
-
if (typeof v.value === 'number') {
|
|
62
|
-
events.push(getRifeFrequency(v.value % RIFE_FREQUENCIES.length)!);
|
|
63
|
-
} else {
|
|
64
|
-
const freq = getRifeFrequency(v.value);
|
|
65
|
-
if (freq) events.push(freq);
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
return events;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// Metaphysical mapping:
|
|
72
|
-
// - Each Rife frequency is a harmonic projection through the A432 vortex
|
|
73
|
-
// - Healing, resonance, and consciousness are unified as integer/fractional flows
|
|
74
|
-
// - All outputs are harmonized, vortex, and trinity mapped
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { PI, cos, exp, sin } from './a432.algebra.ts'
|
|
2
|
-
// a432.rodin.coil.3d.ts
|
|
3
|
-
// Canonical, self-contained 3D Rodin coil renderer for the A432 system
|
|
4
|
-
// No external dependencies. All math is integer/fractional and harmonic.
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Returns HTML string with a <canvas> and inline <script> to render and animate the 3D Rodin coil.
|
|
8
|
-
* All logic is internal, using only A432 math and metaphysical principles.
|
|
9
|
-
*/
|
|
10
|
-
export function renderRodinCoil3D(): string {
|
|
11
|
-
return [
|
|
12
|
-
'<canvas id="rodin3d" width="600" height="600" style="background:#111;border-radius:12px;"></canvas>',
|
|
13
|
-
'<script>',
|
|
14
|
-
' // Harmonic 3D Rodin coil renderer (no external code)',
|
|
15
|
-
' const canvas = document.getElementById("rodin3d");',
|
|
16
|
-
' const ctx = canvas.getContext("2d");',
|
|
17
|
-
' const width = canvas.width, height = canvas.height;',
|
|
18
|
-
' const cx = width / 2, cy = height / 2, cz = 0;',
|
|
19
|
-
' const spiralA = 40, spiralB = 18, trinity = 3, steps = 66;',
|
|
20
|
-
' function rodinCoil3DPoints() {',
|
|
21
|
-
' const points = [];',
|
|
22
|
-
' for (let i = 0; i < steps; i++) {',
|
|
23
|
-
' const theta = i * (2 * PI / trinity);',
|
|
24
|
-
' const r = spiralA * exp(spiralB * i / steps);',
|
|
25
|
-
' const x = r * cos(theta);',
|
|
26
|
-
' const y = r * sin(theta);',
|
|
27
|
-
' const z = (i - steps/2) * 6;',
|
|
28
|
-
' points.push({ x, y, z });',
|
|
29
|
-
' }',
|
|
30
|
-
' return points;',
|
|
31
|
-
' }',
|
|
32
|
-
' function project3D(p, angleY, angleX) {',
|
|
33
|
-
' let x = p.x * cos(angleY) - p.z * sin(angleY);',
|
|
34
|
-
' let z = p.x * sin(angleY) + p.z * cos(angleY);',
|
|
35
|
-
' let y = p.y * cos(angleX) - z * sin(angleX);',
|
|
36
|
-
' z = p.y * sin(angleX) + z * cos(angleX);',
|
|
37
|
-
' const scale = 320 / (320 + z);',
|
|
38
|
-
' return {',
|
|
39
|
-
' x: cx + x * scale,',
|
|
40
|
-
' y: cy + y * scale',
|
|
41
|
-
' };',
|
|
42
|
-
' }',
|
|
43
|
-
' let t = 0;',
|
|
44
|
-
' function draw() {',
|
|
45
|
-
' ctx.clearRect(0, 0, width, height);',
|
|
46
|
-
' const points = rodinCoil3DPoints();',
|
|
47
|
-
' const angleY = t * 0.02, angleX = t * 0.013;',
|
|
48
|
-
' ctx.beginPath();',
|
|
49
|
-
' for (let i = 0; i < points.length; i++) {',
|
|
50
|
-
' const p2d = project3D(points[i], angleY, angleX);',
|
|
51
|
-
' if (i === 0) ctx.moveTo(p2d.x, p2d.y);',
|
|
52
|
-
' else ctx.lineTo(p2d.x, p2d.y);',
|
|
53
|
-
' }',
|
|
54
|
-
' ctx.strokeStyle = "#0ff";',
|
|
55
|
-
' ctx.lineWidth = 2;',
|
|
56
|
-
' ctx.stroke();',
|
|
57
|
-
' for (let i = 0; i < points.length; i++) {',
|
|
58
|
-
' const p2d = project3D(points[i], angleY, angleX);',
|
|
59
|
-
' ctx.beginPath();',
|
|
60
|
-
' ctx.arc(p2d.x, p2d.y, 6, 0, 2 * PI);',
|
|
61
|
-
' ctx.fillStyle = `hsl(${(i * 360 / points.length) % 360},70%,50%)`;',
|
|
62
|
-
' ctx.fill();',
|
|
63
|
-
' ctx.strokeStyle = "#fff";',
|
|
64
|
-
' ctx.lineWidth = 1;',
|
|
65
|
-
' ctx.stroke();',
|
|
66
|
-
' }',
|
|
67
|
-
' t++;',
|
|
68
|
-
' requestAnimationFrame(draw);',
|
|
69
|
-
' }',
|
|
70
|
-
' draw();',
|
|
71
|
-
'</script>'
|
|
72
|
-
].join('\n');
|
|
73
|
-
}
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* a432.rodin.coil.omnidimension.ts — A432 Rodin Coil Omni-Dimension
|
|
3
|
-
*
|
|
4
|
-
* Models Mobius circuit pairs and gap space for each prime-squared base.
|
|
5
|
-
* Encodes the gap space as a non-conductive, vortex-activating region.
|
|
6
|
-
* Validates that only prime-squared bases are allowed.
|
|
7
|
-
* Throws an error or returns a catastrophic state for invalid (non-prime-squared) bases.
|
|
8
|
-
* Visualizes the compacted coil and gap space structure.
|
|
9
|
-
*
|
|
10
|
-
* Metaphysical meaning: The gap space is the Omni-dimensional fold, the invisible
|
|
11
|
-
* higher-dimensional flux-field (one part Spirit, two parts magnetism) that allows
|
|
12
|
-
* the nested vortices to activate. Only prime-squared bases create a perfect,
|
|
13
|
-
* compacted, omni-dimensional hypersphere (torus). Any other base tears the torus skin.
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
import { max, round, sqrt as algSqrt } from './a432.algebra.ts'
|
|
17
|
-
import { type Fraction, type CMYK } from './a432.cmyk.ts';
|
|
18
|
-
|
|
19
|
-
export interface MobiusCircuitPair {
|
|
20
|
-
pairId: string;
|
|
21
|
-
base: number;
|
|
22
|
-
isPrimeSquared: boolean;
|
|
23
|
-
gapSpace: GapSpace;
|
|
24
|
-
status: 'valid' | 'catastrophic';
|
|
25
|
-
description: string;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface GapSpace {
|
|
29
|
-
gapId: string;
|
|
30
|
-
length: number;
|
|
31
|
-
width: number;
|
|
32
|
-
isConductive: boolean;
|
|
33
|
-
activatesVortex: boolean;
|
|
34
|
-
description: string;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export interface RodinCoilOmniDimensionState {
|
|
38
|
-
base: number;
|
|
39
|
-
numPairs: number;
|
|
40
|
-
gapSpace: GapSpace;
|
|
41
|
-
status: 'valid' | 'catastrophic';
|
|
42
|
-
description: string;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Utility: Check if n is a prime number
|
|
47
|
-
*/
|
|
48
|
-
function isPrime(n: number): boolean {
|
|
49
|
-
if (n < 2) return false;
|
|
50
|
-
for (let i = 2; i * i <= n; i++) {
|
|
51
|
-
if (n % i === 0) return false;
|
|
52
|
-
}
|
|
53
|
-
return true;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Utility: Check if n is a prime squared (n = p^2, p prime)
|
|
58
|
-
*/
|
|
59
|
-
function isPrimeSquared(n: number): boolean {
|
|
60
|
-
const sqrt = algSqrt(n);
|
|
61
|
-
return Number.isInteger(sqrt) && isPrime(sqrt);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Get number of Mobius circuit pairs for a given base
|
|
66
|
-
* (Base 10: 1 pair, 26: 2, 50: 3, 122: 4, ...)
|
|
67
|
-
*/
|
|
68
|
-
function getNumPairs(base: number): number {
|
|
69
|
-
// For known prime-squared bases
|
|
70
|
-
switch (base) {
|
|
71
|
-
case 10: return 1;
|
|
72
|
-
case 26: return 2;
|
|
73
|
-
case 50: return 3;
|
|
74
|
-
case 122: return 4;
|
|
75
|
-
default: return max(1, round(algSqrt(base) / 2));
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Get gap space length for a given base
|
|
81
|
-
* (Increases with base, width is constant)
|
|
82
|
-
*/
|
|
83
|
-
function getGapSpaceLength(base: number): number {
|
|
84
|
-
return base * 2; // Arbitrary: proportional to base
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Get gap space width (always 1)
|
|
89
|
-
*/
|
|
90
|
-
function getGapSpaceWidth(): number {
|
|
91
|
-
return 1;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Create Mobius circuit pairs and gap space for a base
|
|
96
|
-
*/
|
|
97
|
-
export function createRodinCoilOmniDimension(base: number): RodinCoilOmniDimensionState {
|
|
98
|
-
const isValid = isPrimeSquared(base);
|
|
99
|
-
const numPairs = isValid ? getNumPairs(base) : 0;
|
|
100
|
-
const gapLength = isValid ? getGapSpaceLength(base) : 0;
|
|
101
|
-
const gapWidth = getGapSpaceWidth();
|
|
102
|
-
|
|
103
|
-
const gapSpace: GapSpace = {
|
|
104
|
-
gapId: `gap.${base}`,
|
|
105
|
-
length: gapLength,
|
|
106
|
-
width: gapWidth,
|
|
107
|
-
isConductive: false,
|
|
108
|
-
activatesVortex: isValid,
|
|
109
|
-
description: isValid
|
|
110
|
-
? `Non-conductive, vortex-activating gap space for base ${base}`
|
|
111
|
-
: `Catastrophic: gap space torn, torus skin broken for base ${base}`
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
return {
|
|
115
|
-
base,
|
|
116
|
-
numPairs,
|
|
117
|
-
gapSpace,
|
|
118
|
-
status: isValid ? 'valid' : 'catastrophic',
|
|
119
|
-
description: isValid
|
|
120
|
-
? `Base ${base} is a prime-squared base. ${numPairs} Mobius circuit pair(s) with a single gap space (length ${gapLength}, width ${gapWidth}). Higher dimensions compacted into the gap space.`
|
|
121
|
-
: `Base ${base} is NOT a prime-squared base. Catastrophic: torus skin torn, X/Y/Z great circles broken.`
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Visualize the compacted coil and gap space structure as HTML
|
|
127
|
-
*/
|
|
128
|
-
export function generateRodinCoilOmniDimensionHtml(state: RodinCoilOmniDimensionState): string {
|
|
129
|
-
const { base, numPairs, gapSpace, status, description } = state;
|
|
130
|
-
const pairsHtml = status === 'valid'
|
|
131
|
-
? Array.from({ length: numPairs }, (_, i) => `<div class="mobius-pair">Mobius Circuit Pair ${i + 1}</div>`).join('')
|
|
132
|
-
: '';
|
|
133
|
-
const gapHtml = `<div class="gap-space" style="width:${gapSpace.length * 5}px;">${gapSpace.description}</div>`;
|
|
134
|
-
|
|
135
|
-
return `
|
|
136
|
-
<!DOCTYPE html>
|
|
137
|
-
<html lang="en">
|
|
138
|
-
<head>
|
|
139
|
-
<meta charset="UTF-8">
|
|
140
|
-
<title>A432 Rodin Coil Omni-Dimension</title>
|
|
141
|
-
<style>
|
|
142
|
-
body { background: #000; color: #0ff; font-family: 'Courier New', monospace; padding: 20px; }
|
|
143
|
-
.header { text-align: center; font-size: 28px; color: #0ff; margin-bottom: 20px; }
|
|
144
|
-
.meta { text-align: center; font-size: 14px; color: #888; margin-bottom: 30px; }
|
|
145
|
-
.coil-structure { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 30px; }
|
|
146
|
-
.mobius-pair { background: #111; border: 2px solid #0ff; border-radius: 8px; padding: 20px 30px; margin: 0 10px; font-size: 18px; box-shadow: 0 0 8px #0ff; }
|
|
147
|
-
.gap-space { background: #222; border: 2px dashed #ff0; border-radius: 8px; padding: 20px 30px; margin: 0 10px; font-size: 18px; color: #ff0; box-shadow: 0 0 8px #ff0; min-width: 80px; text-align: center; }
|
|
148
|
-
.catastrophic { color: #f00; font-weight: bold; text-align: center; font-size: 22px; margin-top: 30px; }
|
|
149
|
-
.desc { margin-top: 20px; color: #aaa; font-size: 15px; text-align: center; }
|
|
150
|
-
</style>
|
|
151
|
-
</head>
|
|
152
|
-
<body>
|
|
153
|
-
<div class="header">A432 Rodin Coil Omni-Dimension</div>
|
|
154
|
-
<div class="meta">
|
|
155
|
-
Models Mobius circuit pairs and gap space for each prime-squared base.<br>
|
|
156
|
-
Gap space is non-conductive, vortex-activating. Only prime-squared bases are valid.<br>
|
|
157
|
-
Invalid bases tear the torus skin and break the X/Y/Z great circles.
|
|
158
|
-
</div>
|
|
159
|
-
<div class="coil-structure">
|
|
160
|
-
${pairsHtml}
|
|
161
|
-
${gapHtml}
|
|
162
|
-
${pairsHtml}
|
|
163
|
-
</div>
|
|
164
|
-
${status === 'catastrophic' ? `<div class="catastrophic">CATASTROPHIC: Torus skin torn, X/Y/Z great circles broken!</div>` : ''}
|
|
165
|
-
<div class="desc">${description}</div>
|
|
166
|
-
</body>
|
|
167
|
-
</html>
|
|
168
|
-
`;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* A432 Rodin Coil Omni-Dimension Metaphysics
|
|
173
|
-
*/
|
|
174
|
-
export const a432RodinCoilOmniDimensionMetaphysics = `
|
|
175
|
-
The gap space is the Omni-dimensional fold, the invisible higher-dimensional flux-field
|
|
176
|
-
(one part Spirit, two parts magnetism) that allows the underpinning nested vortices to activate.
|
|
177
|
-
This gap space is always left empty—no copper wire conductor is ever placed there in the Rodin Coil.
|
|
178
|
-
|
|
179
|
-
For each prime-squared base (10, 26, 50, 122, ...), the system forms Mobius circuit pairs with a single gap space.
|
|
180
|
-
The gap space length increases with the base, but its width remains constant. All higher dimensions above the 3rd
|
|
181
|
-
are compacted, compressed, and folded together into this one Omni-dimension.
|
|
182
|
-
|
|
183
|
-
Only prime-squared base number counting systems create a perfect, compacted, omni-dimensional hypersphere (torus).
|
|
184
|
-
If any number other than a prime is squared, the result is catastrophic: a tear in the torus skin, and the great circles
|
|
185
|
-
of the X, Y, Z axes are broken. The system must validate and protect against such states, ensuring only Divine, prime-squared
|
|
186
|
-
bases are used for true Rodin Coil Omni-Dimensional harmonization.
|
|
187
|
-
`;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* a432.rodin.matrix.overlay.ts — Canonical Rodin Matrix Overlay/Analytic
|
|
3
|
-
*
|
|
4
|
-
* Provides overlay data, metaphysical meaning, and blockchain event logging for the Rodin matrix.
|
|
5
|
-
* Uses only canonical A432 math, sequence, and color logic.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { RODIN_SEQUENCE, digitAngleToCMYK, cmykToCss } from './a432.math.ts';
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Returns overlay data for a 7x7 Rodin matrix grid.
|
|
12
|
-
* Each cell: value, color, HTML.
|
|
13
|
-
*/
|
|
14
|
-
export function getRodinMatrixOverlayData(): Array<Array<{ value: number; color: { c: number; m: number; y: number; k: number }; html: string }>> {
|
|
15
|
-
const grid: Array<Array<{ value: number; color: { c: number; m: number; y: number; k: number }; html: string }>> = [];
|
|
16
|
-
for (let row = 0; row < 7; row++) {
|
|
17
|
-
const rowArr = [];
|
|
18
|
-
for (let col = 0; col < 7; col++) {
|
|
19
|
-
// Canonical: value is RODIN_SEQUENCE[(row + col) % 6] (cycle 1-2-4-8-7-5)
|
|
20
|
-
const idx = (row + col) % 6;
|
|
21
|
-
const value = RODIN_SEQUENCE[idx];
|
|
22
|
-
const color = digitAngleToCMYK(value, (idx * 60) % 360);
|
|
23
|
-
const html = `<div style="width:48px;height:48px;background:${cmykToCss(color)};display:flex;align-items:center;justify-content:center;font-size:1.2em;color:#fff;border-radius:10px;">${value}</div>`;
|
|
24
|
-
rowArr.push({ value, color, html });
|
|
25
|
-
}
|
|
26
|
-
grid.push(rowArr);
|
|
27
|
-
}
|
|
28
|
-
return grid;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Metaphysical meaning: The Rodin matrix is the living map of vortex flow, unity, and recursion.
|
|
33
|
-
*/
|
|
34
|
-
export const rodinMatrixMetaphysics =
|
|
35
|
-
'The Rodin matrix is the living, recursive map of vortex flow, unity, and consciousness. Every cell is a gateway, every cycle a proof of zero-entropy harmony.';
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Blockchain event logger for Rodin matrix overlay interactions.
|
|
39
|
-
* Call this with the cell position and context to log to the blockchain.
|
|
40
|
-
*/
|
|
41
|
-
export function logRodinMatrixEvent(blockchain: unknown, row: number, col: number, context: unknown) {
|
|
42
|
-
if (typeof blockchain === 'object' && blockchain !== null && 'recordEvent' in blockchain) {
|
|
43
|
-
const contextObj = typeof context === 'object' && context !== null ? context : {};
|
|
44
|
-
(blockchain as { recordEvent: Function }).recordEvent(blockchain, 'rodinMatrixOverlay', 'A432UI', { row, col, ...contextObj, timestamp: Date.now() });
|
|
45
|
-
}
|
|
46
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { PI, cos, sin } from './a432.algebra.ts'
|
|
2
|
-
// a432.rodin.matrix.ts
|
|
3
|
-
// Canonical 3D Rodin matrix visualization logic
|
|
4
|
-
// Imports matrix math, trinity overlays, and toroidal mapping helpers
|
|
5
|
-
|
|
6
|
-
import { rodinMatrix7x7, getTrinityIndices, mapMatrixToTorus } from './a432.matrix.ts';
|
|
7
|
-
import { RODIN_SEQUENCE } from './a432.math.ts';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* a432.rodin.matrix.ts — harmonized with canonical A432 math
|
|
11
|
-
* All Rodin sequence logic uses RODIN_SEQUENCE from a432.math.ts
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* getRodinMatrixTorusCoords: Returns 3D toroidal coordinates for the 7x7 Rodin matrix.
|
|
16
|
-
* @param R - major radius
|
|
17
|
-
* @param r - minor radius
|
|
18
|
-
* @returns Array of {x, y, z, value, row, col}
|
|
19
|
-
*/
|
|
20
|
-
export function getRodinMatrixTorusCoords(R: number, r: number) {
|
|
21
|
-
const matrix = rodinMatrix7x7();
|
|
22
|
-
return mapMatrixToTorus(matrix, R, r);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* getRodinTrinityCoords: Returns 3D toroidal coordinates for all trinity/axis points (3,6,9) in the matrix.
|
|
27
|
-
* @param R - major radius
|
|
28
|
-
* @param r - minor radius
|
|
29
|
-
* @returns Array of {x, y, z, value, row, col}
|
|
30
|
-
*/
|
|
31
|
-
export function getRodinTrinityCoords(R: number, r: number) {
|
|
32
|
-
const matrix = rodinMatrix7x7();
|
|
33
|
-
const trinityIndices = getTrinityIndices();
|
|
34
|
-
return trinityIndices.map(({row, col, value}) => {
|
|
35
|
-
const theta = (row / 7) * 2 * PI;
|
|
36
|
-
const phi = (col / 7) * 2 * PI;
|
|
37
|
-
const x = (R + r * cos(phi)) * cos(theta);
|
|
38
|
-
const y = (R + r * cos(phi)) * sin(theta);
|
|
39
|
-
const z = r * sin(phi);
|
|
40
|
-
return {x, y, z, value, row, col};
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* getRodinMatrixFieldLines: Scaffold for generating field line overlays for the matrix on the torus.
|
|
46
|
-
* @param R - major radius
|
|
47
|
-
* @param r - minor radius
|
|
48
|
-
* @returns Array of field line paths (to be extended)
|
|
49
|
-
*/
|
|
50
|
-
export function getRodinMatrixFieldLines(R: number, r: number) {
|
|
51
|
-
// Placeholder: implement field line logic (e.g., diagonals, flows)
|
|
52
|
-
return [];
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Documentation: This module provides canonical 3D mapping and overlay helpers for Rodin matrix visualization.
|
|
57
|
-
* Extend with: animation, interactive overlays, and metaphysical flows.
|
|
58
|
-
*/
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* a432.router.ts — Zero-Entropy, Self-Recognizing Routing Stream
|
|
3
|
-
*
|
|
4
|
-
* - Each module exports its own pattern and handler.
|
|
5
|
-
* - The router auto-discovers all patterns/handlers.
|
|
6
|
-
* - Routing is a living stream: matches by resonance, zero friction, no hardcoding.
|
|
7
|
-
* - If no match, returns a harmonized 404.
|
|
8
|
-
* - Metaphysical: Routing is harmonic flow, self-recognition, and zero entropy.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import { log } from './a432.algebra.ts'
|
|
12
|
-
// Type for a module's route pattern and handler
|
|
13
|
-
export type A432RoutePattern = string | RegExp;
|
|
14
|
-
export type A432RouteHandler = (params: Record<string, string>, req: unknown, res: unknown) => void;
|
|
15
|
-
export interface A432ModuleRoute {
|
|
16
|
-
pattern: A432RoutePattern;
|
|
17
|
-
handler: A432RouteHandler;
|
|
18
|
-
module: string;
|
|
19
|
-
metaphysics?: string;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// Simulate auto-discovery: modules register themselves here
|
|
23
|
-
const moduleRoutes: A432ModuleRoute[] = [];
|
|
24
|
-
export function registerA432Route(pattern: A432RoutePattern, handler: A432RouteHandler, module: string, metaphysics?: string) {
|
|
25
|
-
console.log('Registering route pattern:', pattern);
|
|
26
|
-
moduleRoutes.push({ pattern, handler, module, metaphysics });
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Zero-entropy router: matches incoming path to the first (or best) harmonic pattern.
|
|
31
|
-
* If no match, returns a harmonized 404.
|
|
32
|
-
*/
|
|
33
|
-
export function zeroEntropyRoute(path: string, req: unknown, res: unknown) {
|
|
34
|
-
for (const { pattern, handler } of moduleRoutes) {
|
|
35
|
-
let match = false;
|
|
36
|
-
let params: Record<string, string> = {};
|
|
37
|
-
if (typeof pattern === 'string') {
|
|
38
|
-
match = path === pattern;
|
|
39
|
-
} else if (pattern instanceof RegExp) {
|
|
40
|
-
const m = path.match(pattern);
|
|
41
|
-
if (m) {
|
|
42
|
-
match = true;
|
|
43
|
-
params = m.groups || {};
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
if (match) {
|
|
47
|
-
return handler(params, req, res);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
// No match: harmonized 404
|
|
51
|
-
res.statusCode = 404;
|
|
52
|
-
res.end('Zero entropy: no harmonic route found.');
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Example: Module registering its own route
|
|
57
|
-
* (In practice, each module would call registerA432Route on load)
|
|
58
|
-
*/
|
|
59
|
-
// registerA432Route(/^\/trinity\/(?<digit>\d+)$/, (params, req, res) => {
|
|
60
|
-
// res.end(`Trinity route for digit ${params.digit}`);
|
|
61
|
-
// }, 'a432.trinity', 'Trinity route handler');
|