Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fractal EM Skin Engine

UUON Foundation Inc. · Phillip Aguilar Ruiz III clouud Layer 11b — Dermal Field / EM Perimeter · USAL-1.0


Three.js 3D surface displacement engine using electromagnetic field algorithms. 13 EM algorithms across plane waves, Gaussian beams, spherical harmonics, and Spectral Element Method. Soft tanh clamp. Cached base normal displacement. Five geometries. Four render modes. Three themes.

Live: https://uuon-foundation.github.io/fractal-em-skin-engine/ npm: @uuon-foundation/fractal-em-skin-engine Framework: F=(P,E,M,R,C)


Algorithms

Group Algorithms
Plane Waves TEM, TE, TM
Gaussian Beams Basic, Hermite-Gauss, Laguerre-Gauss
Spherical Harmonics L=1, L=2, L=3
Spectral Element GLL, Gauss-Radau, Discontinuous Galerkin, hp-Refinement, Mortar

Critical Math

// WRONG — plateau-cliff artifacts
displacement = Math.max(-1, Math.min(1, rawField))

// CORRECT — smooth saturation
displacement = 2 * Math.tanh(rawField / 2)

Displacement pushes vertices along cached base normals — never recomputed from displaced state.

Default Boot State

{ "shape": "box", "algo": "TEM", "density": 96,
  "amplitude": 0.45, "frequency": 3.2, "phase": 0,
  "order": 2, "speed": 0.4, "mode": "points" }

Public API

window.FEMSKIN.getState()          // → full state snapshot
window.FEMSKIN.setState(patch)     // → live parameter injection
window.FEMSKIN.setAlgo('GLL')      // → switch algorithm
window.FEMSKIN.setShape('torus')   // → switch geometry
window.FEMSKIN.setTheme('grey')    // → 'dark' | 'white' | 'grey'

Cross-Engine Wiring (Chat 7)

// BSE entropy → skin deformation magnitude
window.FEMSKIN.setState({ amplitude: bse.entropy })

// Phyllotaxis seed phase → surface pattern origin
window.FEMSKIN.setState({ phase: pse.deltaTheta })

// Propagation activation → EM spatial frequency
window.FEMSKIN.setState({ frequency: propagation.activation * 8 })

Install

npm install @uuon-foundation/fractal-em-skin-engine

Zero dependencies for standalone use — open index.html in any WebGL browser.


Biological Position

clouud Layer 11b — Dermal Field / EM Perimeter

Layer 11 has two components: FSE (11a, 2D wall dynamics) and FEMSKIN (11b, 3D EM surface). Together they form the complete perimeter of the clouud organism. FEMSKIN receives signals from internal layers and renders them as visible electromagnetic surface geometry — making internal organism state readable at the boundary.


USAL-1.0 · Attribution required · AI training prohibited © 2026 Phillip Aguilar Ruiz III / UUON Foundation Inc.

Releases

Packages

Contributors

Languages