Skip to content

About

Universal analytical vector equation engine, 199-spec zero-raster HTML replacement, Two-Tier N-D -> 3D BSP compression (VUXB v1.0), and pure-vector WASM32+WebGL2 Studio.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

VectorUXFramework

Universal 3D Analytical Equation UI, Complete 199-Spec Zero-Raster HTML Replacement, and Two-Tier $N$-D $\to$ 3D BSP Compression Architecture

The Vector Law: If a device has a display satisfying minimal physical separability, contrast, temporal realizability, and deterministic addressability axioms, it can render any finite VectorUX Equation Graph with deterministically bounded geometric error and zero raster assets.

Built in 100% zero-dependency Rust (edition = "2024", #![forbid(unsafe_code)] across all 6 core crates, 0 external runtime crates, 0 OS CRT libm calls, 0 B hardware Z-buffer across all 7 display classes).


Verified Empirical Highlights (Verbatim from proofs/)

Domain Verified Measurement Empirical Proof Receipt
Bare-Metal ARM Cortex-M0+ (thumbv6m) q16_class1a_core 25,891 B Flash ($\le 32\text{ KiB}$), 1,040 B SRAM, 0 __aeabi_d*, 0 alloc; q16_math_kernel (6,056 B) is 3.2543× smaller than soft-float f64 (19,708 B); OLED frame 227,507 weighted cycles (16.18× vs soft-float) thumbv6m_elf_audit.json, adr03_q16_vs_softfloat.json
Cross-ISA Bit-Exact Parity (x86_64 $\leftrightarrow$ wasm32) 100.0% identical SHA-256 across x86_64 -O0, x86_64 -O3, and zero-import wasm32-unknown-unknown (0 host/WASI imports) across all 4 workloads (math, font, bsp, html_render); Rust Q16 beats Node.js v24.16.0 BigInt 37.141× wasm32_parity.json, adr01_stack_parity.json
Zoom Scaling ($0.25\times \to 1000\times$) Dual-IR stays 23,600 B (ΔRAM = 0 B), max Hausdorff 0.229 px vs Adaptive Mesh 540 KB $\to$ 519.84 MB (962.67× growth); HPGL extraction 39.08× fewer segments & 264.78× faster than Quadtree Marching Squares adr02_dual_ir.json
Dual-Mode Analytical Font (vux-font) 486 glyphs (6,088 B core / 20,254 B full Mode 1 ROM), 0.0061 px max error @ $1000\times, 75^\circ$, 0 / 236,196 bold kerning collisions (f64 & Q16), UAX #9 BiDi / UAX #29 Zalgo / 5×7 Nyquist verified adr06_font_modes.json
Two-Tier Decoupled BSP (vux-bsp) 0 3D occlusion inversions across 36 poses (vs 1,616 direct $N$-D projection inversions), dynamic 32-slab update 0.010 ms (161.47× speedup), Stiefel $K=512$ rebuild 2.813 ms p99, ortho drift 0.0 <= 1e-14 adr05_two_tier_bsp.json
Zero-ULP VUXB v1.0 Compression & Queries Class A f32 lossless beats compact JSON 3.44×–6.10×, RFC 8949 CBOR 1.59×–5.67×, C zlib 1.15×–1.72× (0 ULP); lossy A2 Hadamard +16.38% MSE win vs KD-BSP (A1 +1.50% coherence ceiling); $O(h)$ range queries 47.0–168.35 μs scanning 1.75%–2.65% bytes; 100,000 fuzz mutations 0 panics adr04_bsp_families.json, adr07_vuxb_codec.json
Bounded <canvas> & Raster Vectorizer 0 B ΔRAM over 10k clearRect, 49,152 watermark (1.439 ms p99); vectorizer 0.0 px roughness @ $100\times$ (57.33 dB UI card, 55.30 dB schematic, 38.09 dB gradient; honest 18.15 dB natural high-freq texture bound) adr08_canvas_media.json
7-Backend Multi-Display Showcase Same 63-primitive / 353-glyph / 44-ARIA HTML5+SVG+MathML scene rendered to Braille (5,784 B), 1-bit PBM (1,034 B), PNG (922 KB), SVG (698 KB, 0 <text>), HPGL-2 (456 KB), Canvas2D JS (1.28 MB), WebGL2 GLSL 300 es (1.52 MB, 13 uniforms) — 0 B Z-buffer manifest.json, junit.xml (98/99 PASS)

Workspace Crates

Crate Layer / Profile Responsibility
crates/vux-math Layer 0 (#![no_std], #![forbid(unsafe_code)]) Q16.16/Q2.30/i64 integer kernel, pure-Rust det_f64 (1280-bit Payne-Hanek, Dekker pow), parametric curves, exact 2D/3D SDFs, 3-branch Spring ODE, RK4 fields, Dual OKLCH, SHA-256/CRC32, WAV+FFT DSP
crates/vux-font Layer 1 (#![no_std], #![forbid(unsafe_code)]) 486-glyph Dual-Mode analytical font (u16 BMP Mode 1 ROM, Multi-Master Mode 2 + Lengyel/Slug bands, collision-safe kerning, UAX #9 BiDi / UAX #29 graphemes, 5×7 Nyquist floor)
crates/vux-bsp Layer 1 (#![no_std], #![forbid(unsafe_code)]) Tier 1 $N$-D Data BSP + BFOS direct-cost DP + VUXB v1.0 wire codec (LEAF_CODEC_ADAPTIVE_COL, $O(h)$ queries), $O(N)$ SVD+Padé(13) Stiefel projector, Tier 2 Z-buffer-free 3D Render BSP (Q30 & f64)
crates/vux-html Layer 2A (no_std+alloc+f64, #![forbid(unsafe_code)]) Iterative HTML5/VUX-CSS-3D compiler covering all 199 normative specs (116 HTML + 22 <input> + 7 APIs + 26 SVG 2.0 + 28 MathML Core), Fenwick <table>, bounded <canvas> ring, BFOS raster vectorizer, ARIA tree
crates/vux-render Layer 2B (#![no_std] Class 0/1A, #![forbid(unsafe_code)]) 7 independent Vector-Law display backends (braille_tty, mono_1bit, rgb_raster+PNG, svg_path, plotter_hpgl, canvas2d_js, webgl2_sdf GLSL 300 es) — 0 B Z-buffer
crates/vux-cli Layer 3 (std, #![forbid(unsafe_code)]) Unified vux CLI (compile-html, render, bsp, audit-elf, verify-adrs, verify-all) and empirical proof receipt generator
crates/vux-thumb-harness Target Shim (thumbv6m-none-eabi, 0 unsafe blocks) Linked ARM Cortex-M0+ ELF32 footprint & symbol audit profiles (q16_math_kernel, softfloat_f64_baseline, q16_class1a_core, q16_class1a_with_font, q16_engine)
crates/vux-wasm-shim Target Shim (wasm32-unknown-unknown, 0 unsafe blocks) Zero-import WebAssembly cdylib proving 100% cross-ISA SHA-256 bit-parity under Node.js v24.16.0

Quickstart

# Run full workspace unit & integration tests
cargo test --workspace --release

# Render the canonical HTML5 + SVG + MathML showcase across all 7 display backends
cargo run --release -p vux-cli -- render showcase --backend all --out-dir proofs/renders/

# Execute the full ADR-01..ADR-08 + 7-backend empirical proof suite
cargo run --release -p vux-cli -- verify-all --receipt-dir proofs/

# Compress, query, and Stiefel-project an N-D CSV dataset with VUXB v1.0
cargo run --release -p vux-cli -- bsp encode data.csv -o data.vuxb --mode lossless --strategy hybrid
cargo run --release -p vux-cli -- bsp query data.vuxb --point 0.1,0.2,0.3
cargo run --release -p vux-cli -- bsp project data.vuxb --steps 30 --angle 1.5708 -o stiefel.json

Scientific Whitepaper, Figures & Specifications

About

Universal analytical vector equation engine, 199-spec zero-raster HTML replacement, Two-Tier N-D -> 3D BSP compression (VUXB v1.0), and pure-vector WASM32+WebGL2 Studio.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages