You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .copilot/instructions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -342,7 +342,7 @@ When adding features that span multiple windows/displays:
342
342
These complement `.github/copilot-instructions.md` (treat that file as the detailed source of truth).
343
343
344
344
- **Renderers**: `js/webgl/` (GLSL + regl **temporarily**, vendored `lib/regl.min.js`) and `js/webgpu/` (WGSL). Experimental: `renderer=three` (`js/three-rain/`), `renderer=p5` (`js/p5-rain/`). URL `renderer=regl` is a legacy alias for WebGL. Holoplay / Looking Glass is **WebGL-only** — see [RENDERING.md](../RENDERING.md), [RENDERING_PIPELINE.md](../RENDERING_PIPELINE.md), [HOLOPLAY.md](../HOLOPLAY.md), and [DEPENDENCY_POLICY.md](../DEPENDENCY_POLICY.md).
345
-
- **Tests**: `npm test` runs Node tests + Playwright smoke tests; `npm run test:regression`is the fullmode×effectmatrix (slow). Failures on `[Matrix][WebGL]` console lines are intentional.
345
+
- **Tests**: `npm test` runs Node tests + Playwright smoke tests (`tests/README.md`). `npm run test:regression`runs `tests/regression/`: **`matrix-full.spec.js`** (WebGL mode×effect; skips `mathcode_alphabet_three` / `mathcode_p5`) and **`matrix-experimental-renderers.spec.js`** (**three-rain**, **p5-rain**). Slow. Failures on `[Matrix][WebGL]` console lines are intentional.
346
346
- **PWA cache names**: Not just `matrix-v{version}` — the service worker uses `matrix-sw-{scope}-v{VERSION}-{VER}`; `js/main.js` prints the matching string for debugging.
347
347
- **GLSL**: Shared uniforms must match precision across vertex/fragment stages on some GPUs (`uniform mediump float` where shared). Shader sources are loaded as static strings after fetch (avoid undefined `shaderSource`).
348
348
- **GitHub Pages**: Main-site deploy must **sync to `origin/gh-pages`** before rewriting root so `pr-*` previews are not wiped; see [GITHUB_PAGES.md](../.github/GITHUB_PAGES.md).
-**Helpers**: `tests/matrix-playwright-helpers.js` attaches console/page listeners so **`[Matrix][WebGL]`** lines and invalid-program errors fail CI.
141
-
-**Full matrix** (optional, slow): `npm run test:regression` uses `playwright.regression.config.js` and `tests/regression/` — every `getAvailableModes()` × `getAvailableEffects()` on WebGL.
141
+
-**Full regression** (optional, slow): `npm run test:regression` uses `playwright.regression.config.js` and `tests/regression/` — WebGL **mode×effect** matrix (`matrix-full.spec.js`, experimental renderer presets excluded) plus **three-rain / p5-rain** (`matrix-experimental-renderers.spec.js`). See `tests/README.md`.
142
142
143
143
**CRITICAL**: After shader or renderer changes, run at least `npm test` before merging.
6.**Run tests**: `npm test` (and `npm run test:regression` if you change shaders or renderers)
67
+
6.**Run tests**: `npm test` (and `npm run test:regression` if you change shaders or renderers). See **[tests/README.md](tests/README.md)** for suite layout; regression includes **`matrix-experimental-renderers.spec.js`** for **`three-rain`** / **`p5-rain`** in addition to the WebGL mode×effect matrix.
68
68
7.**Submit a pull request** with a clear description
Copy file name to clipboardExpand all lines: DEPENDENCY_POLICY.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,4 +42,4 @@ This repository ships as **static files** (no app bundler). Anything we add must
42
42
43
43
## Reviews
44
44
45
-
When upgrading or adding dependencies, update `**SECURITY.md`** supply-chain table and run `**npm test**` (and `**npm run test:regression**` for renderer/shader changes).
45
+
When upgrading or adding dependencies, update `**SECURITY.md`** supply-chain table and run `**npm test**` (and `**npm run test:regression**` for renderer/shader changes — see `**tests/README.md**`).
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -222,4 +222,4 @@ The glyphs are formatted as a multi-channel distance field (or MSDF) via Victor
222
222
223
223
The raindrops themselves are particles [computed on the GPU and stored in textures](https://threejs.org/examples/webgl_gpgpu_water.html), much smaller than the final render. The data sent from the CPU to the GPU every frame is negligible.
224
224
225
-
**Contributing / tests:** Install with `npm ci`, run `npm test` (Playwright + unit tests). Full WebGL mode×effect coverage is `npm run test:regression`. See [CONTRIBUTING.md](CONTRIBUTING.md), [DEV_README.md](DEV_README.md), and [RENDERING.md](RENDERING.md).
225
+
**Contributing / tests:** Install with `npm ci`, run `npm test` (Playwright + unit tests). **`npm run test:regression`** runs the WebGL **mode×effect** matrix plus **experimental renderer** checks (**`three-rain`**, **`p5-rain`**). See[tests/README.md](tests/README.md),[CONTRIBUTING.md](CONTRIBUTING.md), [DEV_README.md](DEV_README.md), and [RENDERING.md](RENDERING.md).
0 commit comments