@fundamental-engine/elements 0.9.1 → 0.9.3
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/README.md +12 -3
- package/custom-elements.json +587 -11
- package/dist/field-cell.d.ts +34 -2
- package/dist/field-cell.d.ts.map +1 -1
- package/dist/field-cell.js +75 -7
- package/dist/field-cell.js.map +1 -1
- package/dist/index.d.ts +38 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +133 -21
- package/dist/index.js.map +1 -1
- package/dist/platform-runtime.d.ts.map +1 -1
- package/dist/platform-runtime.js +20 -9
- package/dist/platform-runtime.js.map +1 -1
- package/dist/preregistration-queue.d.ts +31 -0
- package/dist/preregistration-queue.d.ts.map +1 -0
- package/dist/preregistration-queue.js +136 -0
- package/dist/preregistration-queue.js.map +1 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -49,9 +49,10 @@ each frame — style with them (`var(--field-density)`, etc.) to make content re
|
|
|
49
49
|
## `<field-root>` attributes
|
|
50
50
|
|
|
51
51
|
`accent` · `density` · `waves` · `render` (`dots` / `trails` / `links` / `streamlines` / `metaballs` /
|
|
52
|
-
`voronoi`
|
|
53
|
-
`causality`. The engine ships
|
|
54
|
-
diagnostics); the others are reached through
|
|
52
|
+
`voronoi` / `knockout` / `redshift` / `blackbody` / `depth`) · `palette` (`ours` / `heatmap` /
|
|
53
|
+
`infrared` / `spectrum`) · `mass` · `attention` · `causality`. The engine ships 20 render modes in
|
|
54
|
+
all (including `field-lines`, `heatmap`, and the diagnostics); the others are reached through
|
|
55
|
+
`setRender()` / the core, not this attribute.
|
|
55
56
|
|
|
56
57
|
## Methods — the `FieldHandle`, proxied onto the element
|
|
57
58
|
|
|
@@ -95,6 +96,14 @@ const field = mountField({ render: 'trails', accent: '#2dd4bf' });
|
|
|
95
96
|
formation inside a frame), separate from the page-wide `<field-root>`. It runs a deliberately
|
|
96
97
|
simplified in-frame model, not the canonical engine math.
|
|
97
98
|
|
|
99
|
+
> **Boundary statement — `<field-cell>` is a demo pool, not the engine.** A cell owns its own
|
|
100
|
+
> particle pool, canvas, and lifecycle, seeded with the host's local `Math.random()`. It carries
|
|
101
|
+
> **none of the core guarantees**: no determinism, no snapshot/causal replay, no cross-plane
|
|
102
|
+
> conformance, and no physics parity with `@fundamental-engine/core` or the Swift/Kotlin ports. Its
|
|
103
|
+
> numbers are illustrative, not a source of truth — never assert against a cell in a conformance or
|
|
104
|
+
> replay test. When you need the real engine (deterministic, replayable, parity-held), use
|
|
105
|
+
> `<field-root>` or `createField()`, not `<field-cell>`.
|
|
106
|
+
|
|
98
107
|
## Framework use
|
|
99
108
|
|
|
100
109
|
The custom elements work unchanged in React, Vue, Svelte, Solid, Angular, or plain HTML — register once
|