@descix/frqtl-web 0.6.0-p0.2 → 0.6.0-p4.1
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/CLAUDE.md +26 -11
- package/README.md +53 -10
- package/dist/artifact/double-slit.html +4 -1
- package/dist/dist-manifest.json +78 -71
- package/dist/experiments/empty/index.html +6 -6
- package/dist/frqtl/assets/vendor/acorn.LICENSE +21 -0
- package/dist/frqtl/assets/vendor/acorn.PINNED.json +9 -0
- package/dist/frqtl/assets/vendor/acorn.mjs +6266 -0
- package/dist/frqtl/compat/renderer/lo-drawn-center.js +41 -0
- package/dist/frqtl/experiments/_shared/doors.js +19 -14
- package/dist/frqtl/objects/FrqtlApp.js +136 -30
- package/dist/frqtl/objects/ObjectFactory.js +4 -5
- package/dist/frqtl/objects/RecipeContext.js +617 -9
- package/dist/frqtl/objects/instruments/hosted-eyes.js +268 -57
- package/dist/frqtl/objects/objects/QuantumEmitter.js +1 -1
- package/dist/frqtl/objects/record/Record.js +326 -0
- package/dist/frqtl/objects/record/open-record.js +22 -0
- package/dist/frqtl/objects/schema/index.js +72 -0
- package/dist/frqtl/parts/DetectorWall.js +1 -1
- package/dist/frqtl/parts/FrqtlControlsPanel.js +4 -2
- package/dist/frqtl/parts/FrqtlVision.js +21 -6
- package/dist/frqtl/parts/Wall.js +2 -0
- package/dist/frqtl/scenes/absorbing-wall-3d.js +18 -14
- package/dist/frqtl/scenes/absorbing-wall.js +18 -14
- package/dist/frqtl/scenes/atomic-model.js +3 -0
- package/dist/frqtl/scenes/big-bang.js +3 -0
- package/dist/frqtl/scenes/blackbody.js +14 -11
- package/dist/frqtl/scenes/circuit-sat.js +7 -4
- package/dist/frqtl/scenes/collision-matrix-3d.js +3 -0
- package/dist/frqtl/scenes/counting-wall-3d.js +19 -15
- package/dist/frqtl/scenes/counting-wall.js +19 -15
- package/dist/frqtl/scenes/double-slit.js +3 -0
- package/dist/frqtl/scenes/dse-one-emitter.js +64 -58
- package/dist/frqtl/scenes/dse-one-slit.js +59 -55
- package/dist/frqtl/scenes/dse-photoelectric.js +28 -24
- package/dist/frqtl/scenes/dse-tunnel-rebuild.js +124 -99
- package/dist/frqtl/scenes/dse-two-emitters.js +64 -58
- package/dist/frqtl/scenes/dse-two-slits.js +69 -65
- package/dist/frqtl/scenes/empty.js +3 -0
- package/dist/frqtl/scenes/laser-buildup.js +23 -16
- package/dist/frqtl/scenes/mirror-3d.js +31 -27
- package/dist/frqtl/scenes/mirror-route.js +4 -1
- package/dist/frqtl/scenes/mirror.js +24 -20
- package/dist/frqtl/scenes/omni-3d.js +7 -4
- package/dist/frqtl/scenes/omni-source.js +7 -4
- package/dist/frqtl/scenes/self-interference.js +13 -10
- package/dist/frqtl/scenes/smoking-gun.js +15 -11
- package/dist/frqtl/scenes/straight-walk.js +7 -4
- package/dist/frqtl/scenes/sun.js +11 -8
- package/dist/frqtl/scenes/two-source.js +22 -17
- package/dist/frqtl/scenes/wave.js +10 -7
- package/dist/frqtl-web.min.js +60 -27
- package/dist/notebooks/gallery-atomic-model.html +3 -0
- package/dist/notebooks/gallery-big-bang.html +3 -0
- package/dist/notebooks/gallery-blackbody.html +14 -11
- package/dist/notebooks/gallery-collision-matrix-3d.html +3 -0
- package/dist/notebooks/gallery-recipe-emitter-wall.html +3 -1
- package/dist/sdk.html +2 -2
- package/dist/shim/bundle/index.js +112 -96
- package/dist/shim/bundle/indexHtml.js +66 -39
- package/dist/shim/engine/router.js +2 -2
- package/dist/shim/index.js +1 -1
- package/dist/shim/notebook/format.js +1 -1
- package/dist/shim/notebook/store.js +2 -3
- package/dist/shim/page-params/index.js +2 -2
- package/dist/shim/project/index.js +20 -5
- package/dist/shim/project/link.js +182 -37
- package/dist/shim/project/manifest.js +151 -0
- package/dist/shim/project/parts-module.js +67 -0
- package/dist/shim/project/parts-writer.js +457 -0
- package/dist/shim/project/record-format.js +345 -0
- package/dist/shim/project/specifiers.js +41 -13
- package/dist/shim/registry/index.js +1 -1
- package/dist/shim/registry/scene-source.js +44 -30
- package/dist/shim/registry/walkthrough.js +13 -12
- package/dist/shim/render-state/apply.js +11 -14
- package/dist/shim/storage/codec-chains.js +88 -0
- package/dist/shim/storage/folders.js +205 -0
- package/dist/shim/storage/index.js +64 -8
- package/dist/shim/storage/make-namespace-store.js +5 -5
- package/llms.txt +10 -9
- package/package.json +2 -2
- package/dist/shim/bundle/frqnb.js +0 -112
- package/dist/shim/bundle/manifest.js +0 -95
- package/dist/shim/storage/modules.js +0 -249
- package/dist/shim/storage/projects.js +0 -150
package/CLAUDE.md
CHANGED
|
@@ -5,7 +5,7 @@ in the browser. Physics comes out of local per-pixel rules — a frame moves one
|
|
|
5
5
|
occupancy, momentum — rather than force equations or wave PDEs. Double-slit fringes, wave interference
|
|
6
6
|
and blackbody spectra are computed live from the automaton, not replayed.
|
|
7
7
|
|
|
8
|
-
Pre-release `0.6.0-
|
|
8
|
+
Pre-release `0.6.0-p4.1` (npm dist-tag `next`). The node twin is `@descix/frqtl-node` (the same modules,
|
|
9
9
|
plus `bootNode` and the hosted eyes).
|
|
10
10
|
|
|
11
11
|
## Install
|
|
@@ -14,11 +14,11 @@ plus `bootNode` and the hosted eyes).
|
|
|
14
14
|
## See it run immediately
|
|
15
15
|
Open this URL, or embed it in a claude.ai artifact iframe (self-contained):
|
|
16
16
|
|
|
17
|
-
https://cdn.jsdelivr.net/npm/@descix/frqtl-web@0.6.0-
|
|
17
|
+
https://cdn.jsdelivr.net/npm/@descix/frqtl-web@0.6.0-p4.1/dist/artifact/double-slit.html
|
|
18
18
|
|
|
19
19
|
and the one-file form (a `<script>` tag, global `FRQTL`) booting a 3D sun:
|
|
20
20
|
|
|
21
|
-
https://cdn.jsdelivr.net/npm/@descix/frqtl-web@0.6.0-
|
|
21
|
+
https://cdn.jsdelivr.net/npm/@descix/frqtl-web@0.6.0-p4.1/dist/artifact/sun.html
|
|
22
22
|
|
|
23
23
|
## A scene is a sketch
|
|
24
24
|
A scene is an ES module whose default export is `buildExperiment(exp)`. Its first statement is the
|
|
@@ -35,8 +35,15 @@ export default function buildExperiment(exp) {
|
|
|
35
35
|
}
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
Its movable parts are DATA: `export const parts = { name: [Kind, { …props }] }` (Kind an imported class, the
|
|
39
|
+
key its name), declared by one `exp.declare(parts)` in key order. A hand on a declared entry is written back
|
|
40
|
+
into that literal by the `recipeContext` a project boot returns: `await recipeContext.toSketch()` → `{ files,
|
|
41
|
+
changes, refused }` (only touched values change; a new kind brings one import line; a code-declared object is
|
|
42
|
+
refused by name), and `await recipeContext.setDeclared(name, patch)` changes one entry and re-runs in place
|
|
43
|
+
(seed and camera kept). `runner.declared` rows read `inParts` and `module`.
|
|
44
|
+
|
|
45
|
+
Read a real one before writing your own: `https://cdn.jsdelivr.net/npm/@descix/frqtl-web@0.6.0-p4.1/dist/frqtl/scenes/double-slit.js` (every walk-through
|
|
46
|
+
rung is a file under `dist/frqtl/scenes/`), and a part: `https://cdn.jsdelivr.net/npm/@descix/frqtl-web@0.6.0-p4.1/dist/frqtl/parts/DetectorWall.js`.
|
|
40
47
|
|
|
41
48
|
## Boot it — the two doors (`@descix/frqtl-web/boot`)
|
|
42
49
|
bootScene(mount, buildExperiment, { renderer: 'p5' | 'three', seed, onTick, render })
|
|
@@ -44,16 +51,24 @@ rung is a file under `dist/frqtl/scenes/`), and a part: `https://cdn.jsdelivr.ne
|
|
|
44
51
|
bootProject(mount, { files: { 'sketch.js': text, 'parts/MyEmitter.js': text }, entry: 'sketch.js' }, { renderState, seed, onTick })
|
|
45
52
|
→ { runner, recipeContext, display, retainedRenderRows }
|
|
46
53
|
bootProject(mount, { url: '<served folder>/', entry: 'sketch.js' }, opts)
|
|
54
|
+
bootProject(mount, { files: { 'frqtl.json': text, 'sketch.js': text } }, opts) frqtl.json names the entry
|
|
47
55
|
|
|
48
56
|
A project's files import each other by relative specifiers (`./parts/MyEmitter.js`) and the package by
|
|
49
|
-
`@descix/frqtl-web/...`; an import that names no project file,
|
|
57
|
+
`@descix/frqtl-web/...`; an import that names no project file, an import of a non-module file (not `.js` /
|
|
58
|
+
`.mjs`), an unreached module file, or a cycle, is refused naming the file. `frqtl.json` (`./project`
|
|
59
|
+
`manifestFor` / `serializeManifest` / `parseManifest`, keys `MANIFEST_KEYS`) names the entry; a README rides
|
|
60
|
+
along unhashed. `linkProject` returns `{ buildExperiment, module, manifest, files, urls, project }`.
|
|
50
61
|
One boot per document (a second throws naming the re-scene door). Every load failure paints an overlay
|
|
51
62
|
in the mount and rejects. The runner's SceneRecord carries the project's identity (`projectIdentity`,
|
|
52
63
|
`./project`) as `sourceSha256`.
|
|
53
64
|
|
|
54
65
|
A page with no build step needs an import map; render it from the package's own table:
|
|
55
|
-
`importMapFor('<the dist root URL>/')` (`./project`) — every `@descix/frqtl-web/...` row at its file
|
|
56
|
-
|
|
66
|
+
`importMapFor('<the dist root URL>/')` (`./project`) — every `@descix/frqtl-web/...` row at its file; a host page that
|
|
67
|
+
imports `./boot`, `./registry` or `./project` by specifier renders `pageImportMapFor(...)` instead; it has no manifest
|
|
68
|
+
row, so read the manifest from the same root: `new URL('dist-manifest.json', root)`. A page that holds only its map
|
|
69
|
+
recovers the root through `FRQTL_WEB_HOST_SPECIFIERS`: `imports[row.specifier]` minus `row.libPath`.
|
|
70
|
+
The root is an absolute URL or starts with `/`, `./` or `../`. A sketch held as text boots as `bootProject(mount, sketchProject(text))`.
|
|
71
|
+
Or skip the map: `<script src="https://cdn.jsdelivr.net/npm/@descix/frqtl-web@0.6.0-p4.1/dist/frqtl-web.min.js"></script>` then `FRQTL.bootScene(…)`,
|
|
57
72
|
`FRQTL.Wall`, …
|
|
58
73
|
|
|
59
74
|
String kinds: `exp.addObject('Wall', props)` resolves the kind in the SCENE's realm (the frame the scene
|
|
@@ -66,8 +81,8 @@ it never imports the registry into its own document, where no kind is registered
|
|
|
66
81
|
| `.` | the parts (`Wall`, `SphereEmitter`, `Tunnel`, `FrqtlVision`, …), `bootScene`, `bootProject`, `engine`, `engineState`, `FrqtlCapture`, `RenderStages`, `FieldBuilder`, `CaptureEnvelope`, `validateRendererProvider` |
|
|
67
82
|
| `./boot` | `bootScene`, `bootProject` (in node it throws naming `@descix/frqtl-node`) |
|
|
68
83
|
| `./parts`, `./parts/*` | the parts barrel; one part = one file |
|
|
69
|
-
| `./project` | `FRQTL_WEB_SPECIFIERS`, `libPathOf`, `importMapFor`, `linkProject`, `projectIdentity` |
|
|
70
|
-
| `./registry` | the walk-through rungs, the showcase roster, the experiment registry, `
|
|
84
|
+
| `./project` | `FRQTL_WEB_SPECIFIERS`, `libPathOf`, `importMapFor`, `pageImportMapFor`, `FRQTL_WEB_HOST_SPECIFIERS`, `linkProject`, `sketchProject`, `SKETCH_ENTRY`, `projectIdentity`, `MANIFEST_FILE`, `MANIFEST_KEYS`, `normalizeManifest`, `parseManifest`, `serializeManifest`, `manifestFor`, `RECORD_FILES`, `RECORD_KEYS`, `CHANGE_KEYS`, `OPS`, `BY`, `CLIP_SECONDS`, `CLIP_NAME`, `clipName`, `jsonText`, `recordFolderFaults` |
|
|
85
|
+
| `./registry` | the walk-through rungs, the showcase roster, the experiment registry, `projectOf(id, { mode })` → `{ manifest, files, renderState }` |
|
|
71
86
|
| `./kinds` | `registerKind`, `kindNamed`, `kindOf` (the parent's row, frozen), `registeredKinds` — a composed fork registers its renamed class |
|
|
72
87
|
| `./shim/controls/registry.js`, `./shim/render/sun-look.js`, `./compat/renderer/display-slot.js`, `./compat/renderer/orbit-bag.js`, `./objects/setup/_collisionMatrixLanes.js`, `./compat/engine.js` | the six non-part modules a scene may import (the rows of `FRQTL_WEB_SPECIFIERS`) |
|
|
73
88
|
| `./dist-manifest.json` | sha256 of every dist file (check a self-hosted copy against it) |
|
|
@@ -106,6 +121,6 @@ Everything is a Frame (recursive); there is no separate "particle" class.
|
|
|
106
121
|
- The published build is WASM-only on the engine side (compiled surface).
|
|
107
122
|
|
|
108
123
|
## Curated notebooks
|
|
109
|
-
Index: `https://cdn.jsdelivr.net/npm/@descix/frqtl-web@0.6.0-
|
|
124
|
+
Index: `https://cdn.jsdelivr.net/npm/@descix/frqtl-web@0.6.0-p4.1/dist/notebooks/notebooks.json`
|
|
110
125
|
|
|
111
126
|
## No account, credits, or tokens are needed for anything above.
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ comes out of local per-pixel rules — a frame moves one pixel per tick, single
|
|
|
5
5
|
rather than force equations. Interference, blackbody spectra and atom-like binding emerge from the
|
|
6
6
|
automaton.
|
|
7
7
|
|
|
8
|
-
Pre-release `0.6.0-
|
|
8
|
+
Pre-release `0.6.0-p4.1` (npm dist-tag `next`). The node twin is `@descix/frqtl-node` — the same
|
|
9
9
|
modules, built from the same source.
|
|
10
10
|
|
|
11
11
|
## Install
|
|
@@ -32,13 +32,50 @@ import { bootProject } from '@descix/frqtl-web/boot';
|
|
|
32
32
|
await bootProject('mount', { files: { 'sketch.js': sketch, 'parts/MyEmitter.js': fork }, entry: 'sketch.js' });
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
+
A project folder names its entry in `frqtl.json` — `{ "name", "kind": "scene", "entry", "version"? }`, any other
|
|
36
|
+
key refused by name — so a folder boots with no `entry` (one given beside the manifest must equal it). `./project`
|
|
37
|
+
owns the file: `manifestFor({ name, entry })` and `serializeManifest(bag)` write it, `parseManifest(text)` and
|
|
38
|
+
`normalizeManifest(partial)` read it against `MANIFEST_KEYS`. How a host boots the folder (display, seed, camera,
|
|
39
|
+
render rows) is its own `renderState`, never a manifest key.
|
|
40
|
+
|
|
41
|
+
```js
|
|
42
|
+
import { manifestFor, serializeManifest } from '@descix/frqtl-web/project';
|
|
43
|
+
const manifest = serializeManifest(manifestFor({ name: 'my-scene', entry: 'sketch.js' }));
|
|
44
|
+
await bootProject('mount', { files: { 'frqtl.json': manifest, 'sketch.js': sketch, 'README.md': notes } });
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
A sketch writes its movable parts as data, `export const parts = { name: [Kind, { …props }] }` (Kind an
|
|
48
|
+
imported class, the key its name), declared by one `exp.declare(parts)`:
|
|
49
|
+
|
|
50
|
+
```js
|
|
51
|
+
import { SphereEmitter, Wall } from '@descix/frqtl-web/parts';
|
|
52
|
+
export const parts = {
|
|
53
|
+
sun: [SphereEmitter, { center: [70, 200, 0], preset: 'hemisphere', is2D: true }],
|
|
54
|
+
screen: [Wall, { rect: [260, 40, 20, 320], collisionBehavior: 'absorb' }],
|
|
55
|
+
};
|
|
56
|
+
export default function buildExperiment(exp) {
|
|
57
|
+
exp.createCanvas(600, 400, SphereEmitter.worldCfg(parts.sun[1]));
|
|
58
|
+
exp.declare(parts);
|
|
59
|
+
}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
The `recipeContext` a project boot returns holds that text: `await recipeContext.toSketch()` writes the hands
|
|
63
|
+
(a placement, a property write, a delete, a new object) into the `parts` literal and returns the files — only
|
|
64
|
+
the touched values change, a new kind brings one import line — and `await recipeContext.setDeclared(name, patch)`
|
|
65
|
+
changes one entry and runs the scene again in the same page, keeping its seed and camera.
|
|
66
|
+
|
|
35
67
|
Project files import each other by relative specifiers and the package by a `@descix/frqtl-web/...`
|
|
36
68
|
row of `FRQTL_WEB_SPECIFIERS`. Before anything runs, `bootProject` refuses, naming the file and the
|
|
37
|
-
specifier: an import that names no project file, one that climbs out of the project, a
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
69
|
+
specifier: an import that names no project file, one that climbs out of the project, an import of a file
|
|
70
|
+
that is not a module (`.js` / `.mjs`), a module file the entry never imports, a package path the table does
|
|
71
|
+
not offer, a cycle, an invalid `frqtl.json`, a served file that is not UTF-8. A served folder (`{ url }`) is
|
|
72
|
+
fetched once per file, as bytes, `frqtl.json` first (a 404 there is allowed only beside `entry`). The linked
|
|
73
|
+
set is `frqtl.json` plus the module files; any other file (a README) travels with the folder, unlinked and
|
|
74
|
+
unhashed. The runner's SceneRecord carries the project's identity as `sourceSha256`: `projectIdentity({ files })`
|
|
75
|
+
over the linked set's BYTES, a BOM included. `linkProject` returns `{ buildExperiment, module, manifest, files,
|
|
76
|
+
urls, project }`: the entry's default export, its module namespace (`module.parts` is the sketch's `parts`), the
|
|
77
|
+
normalized manifest (or `null` when linked by `entry` alone), the linked bytes, each module's minted URL, and the
|
|
78
|
+
held folder as text (every file given).
|
|
42
79
|
|
|
43
80
|
A fork of a part is a project file that extends the part and registers its renamed class — it imports only
|
|
44
81
|
public specifiers, so the same file resolves in every host:
|
|
@@ -52,14 +89,20 @@ const base = kindOf(SphereEmitter); // the parent's row, frozen
|
|
|
52
89
|
registerKind(MySphereEmitter, { from: import.meta.url, descriptor: base.descriptor, defaults: base.defaults, build: base.build });
|
|
53
90
|
```
|
|
54
91
|
|
|
55
|
-
`exp.addObject('MySphereEmitter', props)` then builds it
|
|
92
|
+
`parts.mine = [MySphereEmitter, props]` (or `exp.addObject('MySphereEmitter', props)`) then builds it; the
|
|
93
|
+
writer imports it by its path (`import { MySphereEmitter } from './parts/MySphereEmitter.js'`). A copy that keeps the parent's class name is refused,
|
|
56
94
|
naming both files. A verbatim copy of a package part FILE is refused by the linker: its imports name package
|
|
57
95
|
internals, which have no public specifier (that form arrives with the editor's fork door).
|
|
58
96
|
|
|
59
97
|
No build step: load `dist/frqtl-web.min.js` with a `<script>` tag and call `FRQTL.bootScene(…)`
|
|
60
98
|
(`FRQTL.Wall`, `FRQTL.SphereEmitter`, …). A min.js page owns only `FRQTL` (and the booted page's
|
|
61
99
|
`FrqtlPage` seam); bind parts however you like. A page that uses ES modules without a bundler renders its
|
|
62
|
-
import map from the package's own table: `importMapFor('<dist root URL>/')` (`./project`)
|
|
100
|
+
import map from the package's own table: `importMapFor('<dist root URL>/')` (`./project`); a host page that also
|
|
101
|
+
imports `./boot`, `./registry` or `./project` by specifier renders `pageImportMapFor('<dist root URL>/')`;
|
|
102
|
+
it has no manifest row, so read the manifest from the same root: `new URL('dist-manifest.json', root)`. A page that holds only its map
|
|
103
|
+
recovers the root through `FRQTL_WEB_HOST_SPECIFIERS` (`./project`): `imports[row.specifier]` minus `row.libPath`. The root is an absolute URL or starts with `/`, `./` or `../`
|
|
104
|
+
(any other root is refused: a browser ignores its rows). `sketchProject(text)` (`./project`) is the one-file
|
|
105
|
+
project of a sketch held as text, for `bootProject(mount, sketchProject(text))`.
|
|
63
106
|
|
|
64
107
|
String kinds — `exp.addObject('Wall', props)` — resolve in the SCENE's realm. A host driving a scene in
|
|
65
108
|
an iframe passes the string through that frame's `recipeContext`; it never imports the kind registry
|
|
@@ -72,8 +115,8 @@ into its own document, where no kind is registered.
|
|
|
72
115
|
| `.` | the parts, `bootScene`, `bootProject`, `engine`, `engineState`, `FrqtlCapture`, `RenderStages`, `FieldBuilder`, `CaptureEnvelope`, `validateRendererProvider` |
|
|
73
116
|
| `./boot` | `bootScene`, `bootProject` (in node it throws, naming `@descix/frqtl-node`) |
|
|
74
117
|
| `./parts`, `./parts/*` | the parts barrel; one part = one file |
|
|
75
|
-
| `./project` | `FRQTL_WEB_SPECIFIERS`, `libPathOf`, `importMapFor`, `linkProject`, `projectIdentity` |
|
|
76
|
-
| `./registry` | the walk-through rungs, the showcase roster, the experiment registry, `
|
|
118
|
+
| `./project` | `FRQTL_WEB_SPECIFIERS`, `libPathOf`, `importMapFor`, `pageImportMapFor`, `FRQTL_WEB_HOST_SPECIFIERS`, `linkProject`, `sketchProject`, `SKETCH_ENTRY`, `projectIdentity`, `MANIFEST_FILE`, `MANIFEST_KEYS`, `normalizeManifest`, `parseManifest`, `serializeManifest`, `manifestFor`, `RECORD_FILES`, `RECORD_KEYS`, `CHANGE_KEYS`, `OPS`, `BY`, `CLIP_SECONDS`, `CLIP_NAME`, `clipName`, `jsonText`, `recordFolderFaults` |
|
|
119
|
+
| `./registry` | the walk-through rungs, the showcase roster, the experiment registry, `projectOf` |
|
|
77
120
|
| `./kinds` | `registerKind`, `kindNamed`, `kindOf`, `registeredKinds` — the kind registry a composed fork registers in |
|
|
78
121
|
| `./shim/controls/registry.js`, `./shim/render/sun-look.js`, `./compat/renderer/display-slot.js`, `./compat/renderer/orbit-bag.js`, `./objects/setup/_collisionMatrixLanes.js`, `./compat/engine.js` | the six non-part modules a scene may import (the rows of `FRQTL_WEB_SPECIFIERS`) |
|
|
79
122
|
| `./dist-manifest.json` | sha256 of every dist file |
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<body>
|
|
18
18
|
<div id="frqtl-status" data-role="frqtl-artifact-status">booting FRQTL…</div>
|
|
19
19
|
<div id="frqtl-mount" data-role="frqtl-artifact-mount"></div>
|
|
20
|
-
<script type="importmap">{"imports":{"@descix/frqtl-web/parts":"../frqtl/parts/index.js","@descix/frqtl-web/parts/":"../frqtl/parts/","@descix/frqtl-web/shim/controls/registry.js":"../shim/controls/registry.js","@descix/frqtl-web/shim/render/sun-look.js":"../shim/render/sun-look.js","@descix/frqtl-web/compat/renderer/display-slot.js":"../frqtl/compat/renderer/display-slot.js","@descix/frqtl-web/compat/renderer/orbit-bag.js":"../frqtl/compat/renderer/orbit-bag.js","@descix/frqtl-web/objects/setup/_collisionMatrixLanes.js":"../frqtl/objects/setup/_collisionMatrixLanes.js","@descix/frqtl-web/compat/engine.js":"../frqtl/compat/engine.js","@descix/frqtl-web/kinds":"../frqtl/objects/kinds-entry.js","@descix/frqtl-web/boot":"../frqtl/experiments/_shared/doors.js"}}</script>
|
|
20
|
+
<script type="importmap">{"imports":{"@descix/frqtl-web/parts":"../frqtl/parts/index.js","@descix/frqtl-web/parts/":"../frqtl/parts/","@descix/frqtl-web/shim/controls/registry.js":"../shim/controls/registry.js","@descix/frqtl-web/shim/render/sun-look.js":"../shim/render/sun-look.js","@descix/frqtl-web/compat/renderer/display-slot.js":"../frqtl/compat/renderer/display-slot.js","@descix/frqtl-web/compat/renderer/orbit-bag.js":"../frqtl/compat/renderer/orbit-bag.js","@descix/frqtl-web/objects/setup/_collisionMatrixLanes.js":"../frqtl/objects/setup/_collisionMatrixLanes.js","@descix/frqtl-web/compat/engine.js":"../frqtl/compat/engine.js","@descix/frqtl-web/kinds":"../frqtl/objects/kinds-entry.js","@descix/frqtl-web/boot":"../frqtl/experiments/_shared/doors.js","@descix/frqtl-web/registry":"../shim/registry/index.js","@descix/frqtl-web/project":"../shim/project/index.js"}}</script>
|
|
21
21
|
<script>
|
|
22
22
|
/* BOOT DEADLINE — lib/shim/engine/artifact-shell.js ARTIFACT_BOOT_DEADLINE_MS. */
|
|
23
23
|
setTimeout(function () {
|
|
@@ -56,10 +56,13 @@
|
|
|
56
56
|
|
|
57
57
|
import { CollisionTypes, DetectorWall, LargeObject, SlitLightSource, SlitScreen } from '@descix/frqtl-web/parts';
|
|
58
58
|
|
|
59
|
+
export const parts = {};
|
|
60
|
+
|
|
59
61
|
export default function buildExperiment(exp) {
|
|
60
62
|
var S = 480, WAVELENGTH = 64; // THE WORLD this scene states (its co-init call below) and its one geometry knob
|
|
61
63
|
|
|
62
64
|
exp.createCanvas(S, S, { dimension: 2, wavelengthScale: Math.floor(WAVELENGTH / 16) }); // a 2D canvas + universe, S x S
|
|
65
|
+
exp.declare(parts);
|
|
63
66
|
var u = exp.universe;
|
|
64
67
|
|
|
65
68
|
var slits = new SlitScreen(u, WAVELENGTH * 1.5, WAVELENGTH, S, WAVELENGTH, true, 1);
|
package/dist/dist-manifest.json
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descix/frqtl-web",
|
|
3
|
-
"version": "0.6.0-
|
|
3
|
+
"version": "0.6.0-p4.1",
|
|
4
4
|
"files": {
|
|
5
|
-
"artifact/double-slit.html": "
|
|
5
|
+
"artifact/double-slit.html": "23d3fb7317b8c57d09f7563b0e958f8172e15d0c5aca7a7d6d0628ea86e19f1d",
|
|
6
6
|
"artifact/sun.html": "4ec3515a3a94553bb862a7894ecd43757004fd8087ba60ce97622a410b615383",
|
|
7
7
|
"boot/node-refusal.js": "23ce7b8bb34fb86d19970b7e4275e463ae2963cf8a5c3b4ffe72bd6ff6261b47",
|
|
8
8
|
"css/bootstrap.min.css": "3c8f27e6009ccfd710a905e6dcf12d0ee3c6f2ac7da05b0572d3e0d12e736fc8",
|
|
9
9
|
"css/devsdk.css": "52b51f6d935940f5d84747fbfcf56e40e36032ce16aaf93e40534e3a08e07d7b",
|
|
10
|
-
"experiments/empty/index.html": "
|
|
10
|
+
"experiments/empty/index.html": "034925509210e27b181233c360b691d646d87ea396aba1ebd56f30532084bd56",
|
|
11
11
|
"fat/pkg-web/egpt_wasm.js": "4e9c3f04fcfe7b0a481dadd9a87f9bf76c6f34741ff1cdf57fecc2e76c56b8e5",
|
|
12
12
|
"fat/pkg-web/egpt_wasm_bg.wasm": "e204498ac7439c294653476c0d214345713e6170819281b27bbbcba217a5a5e9",
|
|
13
|
-
"frqtl-web.min.js": "
|
|
13
|
+
"frqtl-web.min.js": "ca6420b9caad8b45d443b0b7fb1316ba52a6e0cfcbca0e654b593f2aacfe8f90",
|
|
14
|
+
"frqtl/assets/vendor/acorn.LICENSE": "76a876cf886ff9be2a8b5e2e86514fed06223c8c9f0c1e9ee9606e93841e00b7",
|
|
15
|
+
"frqtl/assets/vendor/acorn.PINNED.json": "52d5c4cf628a586aec54f780ab6b8d22ae7c22cfb290d0d86c2f589f3106b101",
|
|
16
|
+
"frqtl/assets/vendor/acorn.mjs": "efb0124a960b34d53f9928c4926bfcfd300bb6a3d7ab64ee949b3a8bed1c7e5f",
|
|
14
17
|
"frqtl/assets/vendor/bootstrap.bundle.min.js": "82f64f62bb03c1bc1824b0f9c9e05f70dba33e146818e63cdf5c306c8cf3dedd",
|
|
15
18
|
"frqtl/assets/vendor/chroma.mjs": "f25f4a17d8ceedf58e278df8df83c2804b4f0cf3ff659d963da144e368f8e525",
|
|
16
19
|
"frqtl/assets/vendor/d3.min.js": "f2094bbf6141b359722c4fe454eb6c4b0f0e42cc10cc7af921fc158fceb86539",
|
|
@@ -151,7 +154,7 @@
|
|
|
151
154
|
"frqtl/compat/renderer/camera2d-geometry.js": "d34aa7737962fcbab774bff18da724aa351a47971632ad7fe052e3db0b8cdd69",
|
|
152
155
|
"frqtl/compat/renderer/captureStill-common.js": "42e7d59a6142f02f15485f099b296aa047980019105043c45c4b82fdbe982094",
|
|
153
156
|
"frqtl/compat/renderer/display-slot.js": "8a2e99836dcc2f95155f2cd8ffeb9267054e3848c2e8f2ce320ebaca22f80a9e",
|
|
154
|
-
"frqtl/compat/renderer/lo-drawn-center.js": "
|
|
157
|
+
"frqtl/compat/renderer/lo-drawn-center.js": "5d285c8e6b0775db336de559855d28d752aed7544610f0430d8a389c530673cc",
|
|
155
158
|
"frqtl/compat/renderer/orbit-bag.js": "b6671d3b35fcf5f79e228934a8032e729309e62b66920602f34c834f3f911681",
|
|
156
159
|
"frqtl/compat/renderer/providers/godrays-layer.js": "be76fb8e69c74dd9bd0fb9aa6189a816d0ed29b9f4e04b60277be375b93d606c",
|
|
157
160
|
"frqtl/compat/renderer/providers/index.js": "fa669158a082a0081125c81694ca79962639caf86a575ee198a815f3e13a19e7",
|
|
@@ -165,7 +168,7 @@
|
|
|
165
168
|
"frqtl/compat/vendor.js": "2393ada71cdbe750d409174e1ba9b098148796efdff746b315d706a0b32e58e8",
|
|
166
169
|
"frqtl/experiments/_shared/boot-failure.js": "1a92e85b06acdefede5613f2fac7cd4e61d2aba590820f1bfa92f6829fcbbdd4",
|
|
167
170
|
"frqtl/experiments/_shared/boot.js": "028b7ba7e06b774a1644bd792f5b0977b43fdf9586408b5a1b91c03364afe20e",
|
|
168
|
-
"frqtl/experiments/_shared/doors.js": "
|
|
171
|
+
"frqtl/experiments/_shared/doors.js": "bd50a6ff1093a8f6a9e66116713cfec64c0ce70feb9c007a69e7135de104871b",
|
|
169
172
|
"frqtl/experiments/_shared/experiment-layout.css": "a42ec88b1b732dc3ec7a94be80a55d05f65356ce72a25a8f105a9ff1acae464b",
|
|
170
173
|
"frqtl/experiments/_shared/experiment-metrics.js": "18edc5fdcbc017fcc321cc12165d0347713a3086a1f3e8c1b48132c891036a3a",
|
|
171
174
|
"frqtl/experiments/_shared/fx-experiment.js": "4a17825dbb9136d2b9ef780b15436f21355800fffc66a72c9aae05c559080662",
|
|
@@ -173,15 +176,15 @@
|
|
|
173
176
|
"frqtl/experiments/_shared/page-door.js": "b94f89d5c9d250cf232eb207c8d88e17d1c442857afc9627bf81c86905cc9a7e",
|
|
174
177
|
"frqtl/experiments/_shared/radiation-histogram.js": "a6ab62f6b50b08be50a0d2a85116b7c8b945914d48508ec4660e2ca73db33075",
|
|
175
178
|
"frqtl/experiments/_shared/retired-globals.js": "966764b68e011fbf4183b74df8ade57596ec8114694f29d005784d7fe619df6b",
|
|
176
|
-
"frqtl/objects/FrqtlApp.js": "
|
|
177
|
-
"frqtl/objects/ObjectFactory.js": "
|
|
178
|
-
"frqtl/objects/RecipeContext.js": "
|
|
179
|
+
"frqtl/objects/FrqtlApp.js": "0537a6e6b71fc763e92404952263d3bef4dbf273c86d45c5609ee72e69a30a56",
|
|
180
|
+
"frqtl/objects/ObjectFactory.js": "a8f050ce61b7ab9c9b4f81e9eeaebf05c3cc0b532c741ce93d6e952489772b11",
|
|
181
|
+
"frqtl/objects/RecipeContext.js": "b21ca03f799a28848b190834274c061f6dde7fa7f3d17e5eac015550db90d8d7",
|
|
179
182
|
"frqtl/objects/collectors/DataCollector.js": "8736d6cb77eec36ce2adcf2bc3b0d2436eeb70a73b77182ff053efdc6ca071df",
|
|
180
183
|
"frqtl/objects/constants/WallBehaviors.js": "8a9cbdb96eadf84f1d61d215f6921124ec5dbf9e2938c09894a0aa083ddcaea0",
|
|
181
184
|
"frqtl/objects/geometry/SlabFace.js": "847921b124d3bc1692e88c363c087d392a1baa7c652a3a61e381d0f8a8342e57",
|
|
182
185
|
"frqtl/objects/instruments/capture-host.js": "ba5001afa2d8f4e438c5eacb2a5456d903401de8584d170c0b02ff3014794edd",
|
|
183
186
|
"frqtl/objects/instruments/capture.js": "53a746cb51e1c83326eebaa98083861c7ee593f2bcb2317473446a1a02b59b5c",
|
|
184
|
-
"frqtl/objects/instruments/hosted-eyes.js": "
|
|
187
|
+
"frqtl/objects/instruments/hosted-eyes.js": "0d70708546f2e5917deb0a5638a535d7822f2141d69595db406cb0e074225883",
|
|
185
188
|
"frqtl/objects/kinds-entry.js": "a7818357864dc900bd93350635016f938c3dca8dcb665a62df802ba5cd0b3c93",
|
|
186
189
|
"frqtl/objects/kinds.js": "107b166c96c93fd517f173fdbe7006d6f0b2694d5f799f7ec9d4f695313f1832",
|
|
187
190
|
"frqtl/objects/objects/Box.js": "0c08fa4753b78ef56d07aae3393a6268647b550ead58e409cff13eabc8b34b5d",
|
|
@@ -191,7 +194,7 @@
|
|
|
191
194
|
"frqtl/objects/objects/DirectedTunnel.js": "0b5f7a15c67a837d4dfae30f08cac703cde077ce0b8990adc68e29be1d58a494",
|
|
192
195
|
"frqtl/objects/objects/EgptFractal.js": "3ae5ecbdcc08ba60ab5fe06d8f5567cb16b375b1472fdad704b6ea17c5509f1e",
|
|
193
196
|
"frqtl/objects/objects/LightSource.js": "4c3405b0cdba56650dbc159711e2315d2c8812f553361a6d74fb3a8b9adcbc76",
|
|
194
|
-
"frqtl/objects/objects/QuantumEmitter.js": "
|
|
197
|
+
"frqtl/objects/objects/QuantumEmitter.js": "471412ac884f2e95ec647477441f426b75a1a2c73d84a08489c000ae5813bdbe",
|
|
195
198
|
"frqtl/objects/objects/Tube.js": "570be68d1c4c93eb43373061acb7e2ca4af64766dc818d80fdfef1b835b386da",
|
|
196
199
|
"frqtl/objects/objects/absorbRadiation.js": "5ac21c0e0f21001a31bc55280dbae52d741af3fa40df094fe5ad45cb716767d3",
|
|
197
200
|
"frqtl/objects/objects/actionCompiler.js": "c6118e2ab7f8376bb26aa72e0a074d1ca1ea7bae72526623d26e08fa92d918b3",
|
|
@@ -208,8 +211,10 @@
|
|
|
208
211
|
"frqtl/objects/objects/slitLinerScatter.js": "9413cc7efa2132c68d7b4d5030af28d92e8d085e127d5c8e1568d0028da2fc13",
|
|
209
212
|
"frqtl/objects/objects/sustainedSource.js": "0c324cef1583226d090b4d1014c2576ef8237f1bad47c1511bed3c3f81e04206",
|
|
210
213
|
"frqtl/objects/objects/tagger.js": "e2a5ef9ae68466afb6b157ca6d7ce03a6f126d8c91c9f9d4be6dba8e928535eb",
|
|
214
|
+
"frqtl/objects/record/Record.js": "7dce4e1ac5b5ab842fac9f6c9d754322b3696afb7b774e8c2ac018f803a780a6",
|
|
215
|
+
"frqtl/objects/record/open-record.js": "2da2abcccd3ad5bc39eb7fcfb764601cd031dd0afa9b3c9cb96b0669621827df",
|
|
211
216
|
"frqtl/objects/schema/engine-scopes.js": "1777dd3d2443df7c7d7fbcd25974bcb758606bdf3efa5c21408009167d00e3e6",
|
|
212
|
-
"frqtl/objects/schema/index.js": "
|
|
217
|
+
"frqtl/objects/schema/index.js": "74ba0b6a6e057cfd40edf2ce41fcce7206c0204e90eeee4a8db3b711f10ffd33",
|
|
213
218
|
"frqtl/objects/schema/scopes.js": "3b9c2d4f20604d6384ec625ab5e4a38085fa9696c5e443ff66b45a8f2330c5f6",
|
|
214
219
|
"frqtl/objects/schema/validate-descriptor.js": "32572a7c7f5262a46d13bcd05424555151287c4438e3e081ab2f3884fd5a2f10",
|
|
215
220
|
"frqtl/objects/schema/valueNormalizer.js": "00dc4eb188f23964336d45de021846b63a3603c423b5444f132bf470c73c4354",
|
|
@@ -242,10 +247,10 @@
|
|
|
242
247
|
"frqtl/parts/CameraPath.js": "bf5d620b2789c76b5a79c092ae0a3dc802fa6ef28a05df2ed1935481d4bba636",
|
|
243
248
|
"frqtl/parts/CollisionActions.js": "c14c7257fa8bf2add3784dfff0e78a4098640a5a8cec4b40c7cb60ba3197f3a2",
|
|
244
249
|
"frqtl/parts/CollisionTypes.js": "3290b8caf557c2801d3e0a8400d7cfd0cc9cbd14ae4247707747dc109a658789",
|
|
245
|
-
"frqtl/parts/DetectorWall.js": "
|
|
250
|
+
"frqtl/parts/DetectorWall.js": "49d9d9526b5e36180122617dd84b16e44624eee76fb2d547868e8cd41eeacbe0",
|
|
246
251
|
"frqtl/parts/FrqtlControlOverlay.js": "f862b1529265224aa96878b56b0c1c6e65683ba3fd6b517df86e17e92147f9c4",
|
|
247
|
-
"frqtl/parts/FrqtlControlsPanel.js": "
|
|
248
|
-
"frqtl/parts/FrqtlVision.js": "
|
|
252
|
+
"frqtl/parts/FrqtlControlsPanel.js": "792d03dea218bdc335ba7e04362be620edbfa331bed9de087d61942299728cc1",
|
|
253
|
+
"frqtl/parts/FrqtlVision.js": "118d0874249fa55783b196fd01297b3347951267a4add93381433a72c46e8622",
|
|
249
254
|
"frqtl/parts/GraphingDetectorWall.js": "6bff06f951459a3cd327c2eb235d159520933762be0343e1925d153fc2fe6423",
|
|
250
255
|
"frqtl/parts/LargeObject.js": "637ea4c4b5052b916dace520cbb6772f1f8f2e367764ea399dab2a74fff4ed65",
|
|
251
256
|
"frqtl/parts/LightColor.js": "8637e5a09bbad3a4fdd2034ccb44dfc1fda743e29b12b4c685a64b9e1df28daa",
|
|
@@ -259,37 +264,37 @@
|
|
|
259
264
|
"frqtl/parts/SphereEmitter.js": "4163751c331aca9b45643ce67eb7e8912ffdbdb3cbd6944e9ae38f707eb0b5ca",
|
|
260
265
|
"frqtl/parts/Trace.js": "63944f420b6538a88609a1f251b5f5d909ac9835f556d82f73525077ba6a6df6",
|
|
261
266
|
"frqtl/parts/Tunnel.js": "4f44e901bc1171bf7c2933c794a8be63702594d7a2babc05382e91c22315b363",
|
|
262
|
-
"frqtl/parts/Wall.js": "
|
|
267
|
+
"frqtl/parts/Wall.js": "37ab904fdd8fa4d786c27af17d4563f0ccd0eee037d6f7c8b24fd8333058286e",
|
|
263
268
|
"frqtl/parts/index.js": "70b8e227e09663889f4c7942d385f843d977579765723f829880fd6e9868ac53",
|
|
264
|
-
"frqtl/scenes/absorbing-wall-3d.js": "
|
|
265
|
-
"frqtl/scenes/absorbing-wall.js": "
|
|
266
|
-
"frqtl/scenes/atomic-model.js": "
|
|
267
|
-
"frqtl/scenes/big-bang.js": "
|
|
268
|
-
"frqtl/scenes/blackbody.js": "
|
|
269
|
-
"frqtl/scenes/circuit-sat.js": "
|
|
270
|
-
"frqtl/scenes/collision-matrix-3d.js": "
|
|
271
|
-
"frqtl/scenes/counting-wall-3d.js": "
|
|
272
|
-
"frqtl/scenes/counting-wall.js": "
|
|
273
|
-
"frqtl/scenes/double-slit.js": "
|
|
274
|
-
"frqtl/scenes/dse-one-emitter.js": "
|
|
275
|
-
"frqtl/scenes/dse-one-slit.js": "
|
|
276
|
-
"frqtl/scenes/dse-photoelectric.js": "
|
|
277
|
-
"frqtl/scenes/dse-tunnel-rebuild.js": "
|
|
278
|
-
"frqtl/scenes/dse-two-emitters.js": "
|
|
279
|
-
"frqtl/scenes/dse-two-slits.js": "
|
|
280
|
-
"frqtl/scenes/empty.js": "
|
|
281
|
-
"frqtl/scenes/laser-buildup.js": "
|
|
282
|
-
"frqtl/scenes/mirror-3d.js": "
|
|
283
|
-
"frqtl/scenes/mirror-route.js": "
|
|
284
|
-
"frqtl/scenes/mirror.js": "
|
|
285
|
-
"frqtl/scenes/omni-3d.js": "
|
|
286
|
-
"frqtl/scenes/omni-source.js": "
|
|
287
|
-
"frqtl/scenes/self-interference.js": "
|
|
288
|
-
"frqtl/scenes/smoking-gun.js": "
|
|
289
|
-
"frqtl/scenes/straight-walk.js": "
|
|
290
|
-
"frqtl/scenes/sun.js": "
|
|
291
|
-
"frqtl/scenes/two-source.js": "
|
|
292
|
-
"frqtl/scenes/wave.js": "
|
|
269
|
+
"frqtl/scenes/absorbing-wall-3d.js": "722bb433142833f03150052b95039686aba0d9db510a5ff13fad95b5f17e0cf8",
|
|
270
|
+
"frqtl/scenes/absorbing-wall.js": "0a47ca64e56481841339cd5882cf0e54ec7c14d87a4306d016ead1ff26591197",
|
|
271
|
+
"frqtl/scenes/atomic-model.js": "1b484ba37d90af9c06d9bf6a114b8867c914d12cc0a0dbeec27dd96230829fac",
|
|
272
|
+
"frqtl/scenes/big-bang.js": "e0807d81f4bcc6626080f81d472c6ead9c8d8f7d97bd67c6da76a476868b25f4",
|
|
273
|
+
"frqtl/scenes/blackbody.js": "bdd6ee3c628f0cf1161eeb855a4a582902ab56174da937bf0d5180d930ef8278",
|
|
274
|
+
"frqtl/scenes/circuit-sat.js": "953b19d0e5fbda0b36b7e42bda1538930578220c610a5591e0dc1b5e8f2bb06b",
|
|
275
|
+
"frqtl/scenes/collision-matrix-3d.js": "8a0c1189d5e2f23092b216515608319643bc010ff837aadffdf84b2078c96793",
|
|
276
|
+
"frqtl/scenes/counting-wall-3d.js": "1d08e60d58faeed4315400a2d0fbc10460d7869babc72a8dd7f906b5dff6ba54",
|
|
277
|
+
"frqtl/scenes/counting-wall.js": "35b617a20c154f89c63d4a60a205f5d67ba8bb3342730e269528f884a522f131",
|
|
278
|
+
"frqtl/scenes/double-slit.js": "d37aff36667783fe5991b8219439803facb730bd0abe9219483f2ef42056e988",
|
|
279
|
+
"frqtl/scenes/dse-one-emitter.js": "58cfb0e55fd54d86e1896088d36c65748499c0b94826a1c6b1b6d81b7fa41437",
|
|
280
|
+
"frqtl/scenes/dse-one-slit.js": "7bf299e3cc64dd3d1f8df805eec63d98d36b8592d55e3ef478d46c38bf674812",
|
|
281
|
+
"frqtl/scenes/dse-photoelectric.js": "e0402c4508a4d97d3d9461f889b10a49da82ef5f232d81455c5e482db8b0bda6",
|
|
282
|
+
"frqtl/scenes/dse-tunnel-rebuild.js": "c662bff31fb66c1f136b6f35d18943c58e97456b61fbab9f4cdb812e3acb2630",
|
|
283
|
+
"frqtl/scenes/dse-two-emitters.js": "193575e850bc49d0db2e01974584b8100020ba466d39f1a9b0f121812f245f08",
|
|
284
|
+
"frqtl/scenes/dse-two-slits.js": "f303a848d9c463a5a9443c380b257795b19127b122bdd2fcb28855841b219939",
|
|
285
|
+
"frqtl/scenes/empty.js": "f3c2161f7bbc1be2d7fba0f117ac16b9e60966d9448877ead4037e3cb4fee678",
|
|
286
|
+
"frqtl/scenes/laser-buildup.js": "f4b29b2eeeca730642f5adf2f499f6594b73f6e51ba6aa9a237f4ee643c5cf23",
|
|
287
|
+
"frqtl/scenes/mirror-3d.js": "79ac794dfbc608037936908a9fe58ca34be93be6263d5940bb38129d55bb7943",
|
|
288
|
+
"frqtl/scenes/mirror-route.js": "1206b981a8d4eb3ab75985a4ae119adab5eed66026eebf2ad6036905bedbd746",
|
|
289
|
+
"frqtl/scenes/mirror.js": "c7bcd440e9a78e333fd81d906b3788a62342910f46cf98de860098fcc1e0ba91",
|
|
290
|
+
"frqtl/scenes/omni-3d.js": "d420a7aae9fdfd394b9288ce1f0256416e1b07f70bc570a928a4592c32a47c27",
|
|
291
|
+
"frqtl/scenes/omni-source.js": "4f9aaa0e0ccbf4d18908d1628688dbeae376b535318f0cf969d61d8ea8f90b83",
|
|
292
|
+
"frqtl/scenes/self-interference.js": "5ffa272d806a0af2b136f6ce6258b2d71f3a662de005a8941381a317120a47e4",
|
|
293
|
+
"frqtl/scenes/smoking-gun.js": "d130fdcb49f8c8ea201245195ab4a84108ef59218908bd373f5f69a5b73dc2a4",
|
|
294
|
+
"frqtl/scenes/straight-walk.js": "bb4f5a9fc05dacfad8531843ca02c6dc2c6217f940529d47d0f5aacfcb03a125",
|
|
295
|
+
"frqtl/scenes/sun.js": "fa06cac429af5a2ad4fe846969a7bf763f2a76d9d9b169328cd1f45bad6bda8f",
|
|
296
|
+
"frqtl/scenes/two-source.js": "1444a0e503f4a5e349d4364e31e698bc67d723a4b2864f262603e75ba5f9f088",
|
|
297
|
+
"frqtl/scenes/wave.js": "cabbece84daceca9199bbea22be610281bdf3137c8c5724bc601758e711f111f",
|
|
293
298
|
"images/BlackBodyRadiation.png": "cf1f4de33f77b78ed79448a550090e37824c238dc02d4bb04a4c69b87e51826f",
|
|
294
299
|
"images/EGPTFractal.png": "e364ff3296d853562c82808865e22e85e2ec4fcc1783213af8d9dece52eb7435",
|
|
295
300
|
"images/atom_strongforce.png": "9a0c533b941eca671c4232fc8d4a13a53fc336053cc46b3bc24d8918f86a6ee7",
|
|
@@ -317,13 +322,13 @@
|
|
|
317
322
|
"notebooks/egpt-topology-test.html": "0c955767104605f5c6ed1a8a431fdbecdde56eae6539d4ed031fc01cb2bef385",
|
|
318
323
|
"notebooks/factorization-basics.html": "e8c95a108849ae4cd55c9d9a4ee6c3c05f4bc90a5fa22b098df9dde05a013d07",
|
|
319
324
|
"notebooks/fft.html": "4d0af78e33c23c2420b4d3a559ed1341e64adbcf42e56412a015635b5a41fa40",
|
|
320
|
-
"notebooks/gallery-atomic-model.html": "
|
|
321
|
-
"notebooks/gallery-big-bang.html": "
|
|
322
|
-
"notebooks/gallery-blackbody.html": "
|
|
323
|
-
"notebooks/gallery-collision-matrix-3d.html": "
|
|
325
|
+
"notebooks/gallery-atomic-model.html": "3f9b2f60f0c3f4e3e6aff5e938e4a3e5d5c7ee5d829a54f76a22da5a731645d8",
|
|
326
|
+
"notebooks/gallery-big-bang.html": "658a4484b9a3ca26a7eedd46ce3b8036e402be3f69be094c90db7cd59488236d",
|
|
327
|
+
"notebooks/gallery-blackbody.html": "3a62d6ca200c51dd5fd36b30057c59fef1accf300947c77ada3f6a651b4cf93c",
|
|
328
|
+
"notebooks/gallery-collision-matrix-3d.html": "77629be35e932caa9f81310ac14323aa592809c3d1e908678e4b0d4b1adedb64",
|
|
324
329
|
"notebooks/gallery-double-slit.html": "223581647e5f38e18aab003afa37b2bd661c0feb18fc4d998948f5f225b817b7",
|
|
325
330
|
"notebooks/gallery-particle-walk-3d.html": "5366ad40a58c50060a14d0acc19d8213ff43b6fa0c682ad2f3daee64d3296018",
|
|
326
|
-
"notebooks/gallery-recipe-emitter-wall.html": "
|
|
331
|
+
"notebooks/gallery-recipe-emitter-wall.html": "fd73c8101def14d6c4cb78a510f9ef787705ab37aefca8239e70de9a9a2a14a8",
|
|
327
332
|
"notebooks/gallery-wave-interference.html": "5ce31ce4a299636558b9312a463475de28b5bb8a1764a83e8027bb611c6138b1",
|
|
328
333
|
"notebooks/getting-started-hello-frqtl.html": "9822dbdaf7889293f824406deadf8e2619c820d8447c2706713db3d256a12df3",
|
|
329
334
|
"notebooks/iso-canonical-chain.html": "dbc482fd0031cacf9af690f761498953aa24db0c35e55f8411e526c0aef65a9a",
|
|
@@ -345,11 +350,9 @@
|
|
|
345
350
|
"notebooks/stats.html": "360db52d77ef46c690e7c865a7ce672d5032b916a0a0796f6070d5f17b03132b",
|
|
346
351
|
"notebooks/transcendentals.html": "1dfc5d40f0e3e6cccc785fb73d73ef82e24048d7affd10143370779ef2032b8c",
|
|
347
352
|
"notebooks/view-vendored-d3.html": "debeeef830f8c328b3b6e13b0b8fe26021ba55802b89d8dbe78b8a0c6c002eac",
|
|
348
|
-
"sdk.html": "
|
|
349
|
-
"shim/bundle/
|
|
350
|
-
"shim/bundle/
|
|
351
|
-
"shim/bundle/indexHtml.js": "6d3ce242c4f139b542981164fe2b1d8b1c37d9423904bc1299531f594ce4ccc6",
|
|
352
|
-
"shim/bundle/manifest.js": "8a7a8099a01aa46b713f178dee29bfeb8d46f4020a2f59f6a564e33be35e6c2e",
|
|
353
|
+
"sdk.html": "ceacbf1898aac473e54ac899838939496fd4f39efdd440b9b0b91e9d382bd538",
|
|
354
|
+
"shim/bundle/index.js": "ea7891e417a929e2b90dc8337750d247a355f84f7f581cf361d4bc8f473d42b5",
|
|
355
|
+
"shim/bundle/indexHtml.js": "2c4fbc502bb33fce93596cee19e143a58bb63c18d0b18ea597f81610e3a9a027",
|
|
353
356
|
"shim/bundle/zip.js": "00f7b5fb5f36ff40a59d86758c503d9d7fb43949c1b5a4f2e7367c43d92786f9",
|
|
354
357
|
"shim/bus.js": "dac2eeccd8774268c51014be4c46c00b9985fdf49ebb44355aa370e949c8c5bc",
|
|
355
358
|
"shim/controls/index.js": "2aaf1f14b104bba8b912d68fe99068a8c544770b9eac43cdf6d992c311ec8f69",
|
|
@@ -357,15 +360,15 @@
|
|
|
357
360
|
"shim/engine/artifact-shell.js": "b4c1d8bf65403caea9357fecd91172a1689baed8aad89433160d595881f16010",
|
|
358
361
|
"shim/engine/boot-phases.js": "c6e12e12824bcf6f1a289f46e41c898a5416c80c131594525145aae9a3eefbfa",
|
|
359
362
|
"shim/engine/engine-stack-boot.js": "0abf57dcff2ca2bb025c787a17875d49d54d9218ac08c78cb9c678dbb6118d08",
|
|
360
|
-
"shim/engine/router.js": "
|
|
363
|
+
"shim/engine/router.js": "a4ec678ab0e38381f761e40e8fbcb34dfea76d96df31a634f3d9f0b57d743570",
|
|
361
364
|
"shim/experiment-frame/index.js": "5a0219aaa225d8f808c405b08623ce85ada37d83fb4f55f983db3303e431e47f",
|
|
362
365
|
"shim/expr/ast-schema.js": "4f1133b887639bbd86fab976292323bf4a955cdc873ff7ca8e8a8eb3b416923f",
|
|
363
366
|
"shim/field-descriptor/index.js": "6647d57d1523519114adc0a5cb66335ec5121c39ab294b9c97bdfb9e5d7f61e0",
|
|
364
367
|
"shim/frame-data/index.js": "df6957b0b4a8e0ee0035bc970647b90089b421ae7f05911cc047d48457164be6",
|
|
365
|
-
"shim/index.js": "
|
|
368
|
+
"shim/index.js": "141c68dbce88643815415645d5f896d55770208866e5b88b07b228d6a7d117e2",
|
|
366
369
|
"shim/notebook/canvas-guard.js": "b19d3a86df3835bd617c7130cde997b6f8a8a0c140f95338b733115d5947ed7b",
|
|
367
370
|
"shim/notebook/catalog.js": "68243a154e12bf36a76598aa554119f6e3b8b5363c8452d157c8a562b9c38dc1",
|
|
368
|
-
"shim/notebook/format.js": "
|
|
371
|
+
"shim/notebook/format.js": "f8b1da9eb37da3a9609f7721426e2242f1279780ea212ea08d9f3c50bb18b578",
|
|
369
372
|
"shim/notebook/frqtl-setups-importmap.js": "df86defa90cb85675564e7bb269451684b5cc7679f2c6b1884c07c8272e8ff1c",
|
|
370
373
|
"shim/notebook/kernel.js": "65cf7e4ba12b24521143997a38cb0e7d0a8aa63f9f46868494eff7a41a887c7b",
|
|
371
374
|
"shim/notebook/knob.js": "f07e9ac9697c7178aa68e4b2f4300145f8e2d2dc41b64aa0afede7e2d68705b1",
|
|
@@ -375,25 +378,29 @@
|
|
|
375
378
|
"shim/notebook/realm-registry.js": "ffee52e7c93447c8b82bfc0784b51346686b4373766da298f50a759d3443ab6a",
|
|
376
379
|
"shim/notebook/realm-transport.js": "5173676a94211f85122e0581a16abba925e9c4b5900b5891911bfaec5ea02daf",
|
|
377
380
|
"shim/notebook/setup-builder.js": "abf8a7fed017776634d5ae3b595de7f00b32779590319cd48d95a6d9d0523a96",
|
|
378
|
-
"shim/notebook/store.js": "
|
|
381
|
+
"shim/notebook/store.js": "fe34d31907e7a8f303dfcc35b9c0439faf2c32fbc5c0bb4f899692c25bef9a4d",
|
|
379
382
|
"shim/notebook/vendor-importmap.js": "0c6578567980225593690e06fb4d32f0b50c47fe87a7467741a03846f6da68ed",
|
|
380
383
|
"shim/notebook/view-builder.js": "1961962be16ef526934c43193828473447f2ec9ac0144f39bc5108c327d9069a",
|
|
381
384
|
"shim/notebook/view-ctx.js": "6287aee366104bece827eecccf675540571d6db2b6833bff837be49eb60ce111",
|
|
382
385
|
"shim/notebook/view-handle.js": "fe0d1530e3311cb96bb22f5cded35b9f25a0a4ef002588f3e47d9eef8089664d",
|
|
383
386
|
"shim/notebook/warmup.js": "453b9e8b4969bcc704e1fbc636c3ada869ebf692651cfbf950107fd1cb662e25",
|
|
384
387
|
"shim/package.json": "609158e6c5fbc237939fa3ddf7faab80ab690bdc0c8d584414a885130103c4e8",
|
|
385
|
-
"shim/page-params/index.js": "
|
|
388
|
+
"shim/page-params/index.js": "f372a85af163a492425cee2584513fa631a642cb805fa283ad122d445ebec4b3",
|
|
386
389
|
"shim/project/identity.js": "5a0dbd07bfad5c5aa6a529994a604546dbf3e6978b9529ca97ce2c57aa8e563f",
|
|
387
|
-
"shim/project/index.js": "
|
|
388
|
-
"shim/project/link.js": "
|
|
389
|
-
"shim/project/
|
|
390
|
+
"shim/project/index.js": "81d1a5d84c8bd5f31de8d9849d385509a73582e2ec6db4f779b018fe1b25404f",
|
|
391
|
+
"shim/project/link.js": "1774cde446c3217afb84e19fe44205d620764c863bff89e348a0645aed451ca2",
|
|
392
|
+
"shim/project/manifest.js": "442267af07ae1b977ff6aeaca49d98ce82b77f548cfdd1ed0f258b3429d75f31",
|
|
393
|
+
"shim/project/parts-module.js": "b08e0149f086640692e1b2ff8e0d7ae0379c2bc934a0891418de5c2b8c0e8e60",
|
|
394
|
+
"shim/project/parts-writer.js": "c9e9be475299ba24a81190d19260119816b9773135491a5024b55c40dd92f859",
|
|
395
|
+
"shim/project/record-format.js": "b680c3752f20535c08be832c6808fae000c2d2325f8caee57f98351043d091be",
|
|
396
|
+
"shim/project/specifiers.js": "f73a41a7ffbd16063be314973d67e5261607b56b7ef7ee7927d9eaa0d541f3cc",
|
|
390
397
|
"shim/registry/copy-gate.js": "cfbf52669c849b8837b326f2743458f1ead0720cad51a6c6d409c9bd6c7f9495",
|
|
391
398
|
"shim/registry/exhibits.js": "98736b6b0dd82b5c1436da28fe3bf8d2d3ee840af8f5256d00c23e296c3bca9a",
|
|
392
399
|
"shim/registry/experiments.js": "1d1484f144ade35ddcb94b23712df539b3b432a45130e159a6f47146de188165",
|
|
393
|
-
"shim/registry/index.js": "
|
|
394
|
-
"shim/registry/scene-source.js": "
|
|
395
|
-
"shim/registry/walkthrough.js": "
|
|
396
|
-
"shim/render-state/apply.js": "
|
|
400
|
+
"shim/registry/index.js": "a3cef8c227d06ccc55735fe2989fbd07b0cf2f323d11b5bed23092fc967e88fc",
|
|
401
|
+
"shim/registry/scene-source.js": "0e873f9afa8175a318db14f0761d9379687024b1d49f69f2a0e3a22285d1029b",
|
|
402
|
+
"shim/registry/walkthrough.js": "65d74822585d271f4d74f0821fc158698bc39d7427b9bca3a61584c3c6d1a4a5",
|
|
403
|
+
"shim/render-state/apply.js": "fd0830ee4bb2668ac5b3254c29180bce9524d2ffb11bf6124e834ab8674a757a",
|
|
397
404
|
"shim/render-state/index.js": "9015405ef2ea3d88bf004a0aa3bea04eb6bdb86270d68ef5622538a9bae5fa6d",
|
|
398
405
|
"shim/render/capture-envelope.js": "2667a355169bb124fd8117e9cbf1d630085257b9f6fa537362f12d0aa649da2d",
|
|
399
406
|
"shim/render/heat-colormap.js": "0eadc758179024734c45eaeffd8f5b44e7c4102b7042767a4a5b66541b3bbd7c",
|
|
@@ -402,11 +409,11 @@
|
|
|
402
409
|
"shim/rpc/index.js": "56af3afeed22e8d718cd2f7a8ad70db8745f54dbc139af9d71f1d73e2ca37698",
|
|
403
410
|
"shim/runtime/index.js": "cd728294c4693de3059f30f272f267b88b39c19a451edd30c75012e1bab755f5",
|
|
404
411
|
"shim/storage/boot.js": "689504e15dc075e32d08abf61c75a45b1d565c09f086b42400dae40d8186c411",
|
|
405
|
-
"shim/storage/
|
|
412
|
+
"shim/storage/codec-chains.js": "6eab30c3ab7d8bd26059f386f91f9e43a87a6a20980d36bf7271eb72b6d109c0",
|
|
413
|
+
"shim/storage/folders.js": "9d69b6fcbdc8ae6da561acd42946933ac2d453d5d0659fcaf1cfba410a47a45a",
|
|
414
|
+
"shim/storage/index.js": "0939d88bcdb0cde5b564e1fc1b03144363c9747e917e706c4cc1f55fe4ee1ace",
|
|
406
415
|
"shim/storage/local-storage-provider.js": "e14894e5d33bce961e66a2816e4b5c23b8e00534398ca9635d19de117f0f150e",
|
|
407
|
-
"shim/storage/make-namespace-store.js": "
|
|
408
|
-
"shim/storage/modules.js": "ceee32e0ea101ae49e5b0ab63007972a3f4127e9d81bbd2cf24cdb47d491623b",
|
|
409
|
-
"shim/storage/projects.js": "1c7398dedbb7a67c80acbfe0dfb08ba4f069db9a7d946266c4636212834bd671",
|
|
416
|
+
"shim/storage/make-namespace-store.js": "f88cfc65244cd7a3c3a43c173001855bb95571916a117b22f38d051823f2856f",
|
|
410
417
|
"vendor/d3-array/src/array.js": "0083c26850f97fa2735802530964aa737683402bbc560d14e0e27696b0c693bb",
|
|
411
418
|
"vendor/d3-array/src/ascending.js": "cb830a957d172fa6f6f52c67ef09a264986c3e795156930d342ed74edcea5e6b",
|
|
412
419
|
"vendor/d3-array/src/bin.js": "41f7cc39e146683c5da6ea7489903de2c5edb9bf725ca15b7cd015f603b306ac",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
* Empty Universe — blank canvas + the load target for saved .js projects.
|
|
74
74
|
*
|
|
75
75
|
* A "project" is a sketch module (`export default function buildExperiment(exp)`, see
|
|
76
|
-
*
|
|
76
|
+
* lib/frqtl/scenes/*.js). This page constructs a RecipeContext and publishes, through the page door,
|
|
77
77
|
* FrqtlPage.applyModuleSource(project) so the IDE author surface (and any other consumer — the
|
|
78
78
|
* hosted eyes, a doc snippet) can apply a saved project against the live RecipeContext: the
|
|
79
79
|
* project is linked by THE link site (lib/shim/project/link.js linkProject — blob: modules whose
|
|
@@ -186,8 +186,8 @@
|
|
|
186
186
|
var exp = experiment;
|
|
187
187
|
try {
|
|
188
188
|
if (!project || typeof project !== 'object' || project.mint !== undefined || project.bare !== undefined) {
|
|
189
|
-
throw new Error('[empty] FrqtlPage.applyModuleSource(project): project is { files: { "sketch.js": text, … }
|
|
190
|
-
'entry: "sketch.js"
|
|
189
|
+
throw new Error('[empty] FrqtlPage.applyModuleSource(project): project is { files: { "frqtl.json": text, "sketch.js": text, … } } ' +
|
|
190
|
+
'(or { url }; + entry: "sketch.js" when it carries no frqtl.json) — a sketch held as one string is the one-file project. ' +
|
|
191
191
|
'This page links with its own mint. (got ' + (typeof project === 'string' ? 'a string' : typeof project) + ') (FAIL-LOUD.)');
|
|
192
192
|
}
|
|
193
193
|
exp._built = false;
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
try {
|
|
196
196
|
var linked = await linkInPage(project); // the page host's one link (doors.js)
|
|
197
197
|
identity = await projectIdentity({ files: linked.files });
|
|
198
|
-
exp.build(linked
|
|
198
|
+
exp.build(linked); // the facade holds the linked text (its writer's source); the scene's first statement creates its world
|
|
199
199
|
} catch (e) {
|
|
200
200
|
if (e && e.frqtlRequiredRenderer) { _requiredRenderer = e.frqtlRequiredRenderer; }
|
|
201
201
|
throw e;
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
*
|
|
216
216
|
* A public hook gets a public name: this IS the shipped, documented way to load a scene into
|
|
217
217
|
* the blank page — the ONE door every host comes through (STUDIO's author surface, the GYM's
|
|
218
|
-
* rung frame via rung-frame.js
|
|
218
|
+
* rung frame via rung-frame.js applySceneProject, the hosted eyes, the getting-started doc) — and
|
|
219
219
|
* the ONE door a host hands a renderState bag through (applyRenderState). The
|
|
220
220
|
* page itself states NO world: every scene does, in its first statement — the blank STUDIO
|
|
221
221
|
* universe is the scene file scenes/empty.js like any other. A member joins this object only
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
isReady: function () { return !!experiment; },
|
|
227
227
|
|
|
228
228
|
/**
|
|
229
|
-
* Apply a scene / saved project — { files
|
|
229
|
+
* Apply a scene / saved project — { files } or { url } (+ entry when it carries no frqtl.json) — against this page's facade. Leaves the
|
|
230
230
|
* loop STOPPED and makes the runner the scene's co-init call built the page's runner
|
|
231
231
|
* (FrqtlPage.runner).
|
|
232
232
|
*
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2012-2022 by various contributors (see AUTHORS)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "acorn",
|
|
3
|
+
"version": "8.16.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"file": "acorn.mjs",
|
|
6
|
+
"upstreamPath": "dist/acorn.mjs",
|
|
7
|
+
"sha256": "efb0124a960b34d53f9928c4926bfcfd300bb6a3d7ab64ee949b3a8bed1c7e5f",
|
|
8
|
+
"rule": "Vendored UNMODIFIED from the npm tarball. Never edit the file: patch upstream, then re-vendor and update version + sha256 together. One importer: lib/shim/project/parts-writer.js."
|
|
9
|
+
}
|