@ascii-fx/react-three 0.9.0 → 0.10.0
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 +10 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +8 -14
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -11,7 +11,15 @@ import { Canvas } from '@react-three/fiber'
|
|
|
11
11
|
import * as THREE from 'three/webgpu'
|
|
12
12
|
import { AsciiEffect } from '@ascii-fx/react-three'
|
|
13
13
|
|
|
14
|
-
;<Canvas
|
|
14
|
+
;<Canvas
|
|
15
|
+
gl={async (props) => {
|
|
16
|
+
// R3F hands the factory its renderer props (canvas, antialias, …), not the canvas itself,
|
|
17
|
+
// and waits on the promise: WebGPURenderer has to be initialized before its first render.
|
|
18
|
+
const renderer = new THREE.WebGPURenderer(props as never)
|
|
19
|
+
await renderer.init()
|
|
20
|
+
return renderer
|
|
21
|
+
}}
|
|
22
|
+
>
|
|
15
23
|
<mesh>
|
|
16
24
|
<torusKnotGeometry />
|
|
17
25
|
<meshNormalMaterial />
|
|
@@ -29,7 +37,7 @@ This is the only entry point in the project that pulls in `three` _and_ `@react-
|
|
|
29
37
|
## Components
|
|
30
38
|
|
|
31
39
|
- **`<AsciiEffect>`** — post-processes the scene through the exact matcher on the renderer's own device, no readback.
|
|
32
|
-
- **`<AsciiGlyphs>`** — an instanced glyph mesh you can place
|
|
40
|
+
- **`<AsciiGlyphs>`** — an instanced, unlit glyph mesh you can place and move within the scene; give it a matched `frame`.
|
|
33
41
|
- **`useAsciiEffect`** — the hook underneath, when you want the pass without the component.
|
|
34
42
|
|
|
35
43
|
Requires an R3F v9 `<Canvas>` running `THREE.WebGPURenderer`; see [`@ascii-fx/three`](../three) for why WebGL isn't supported.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import type { AsciiFrame, AsciiProfile, ProfileSource } from '@ascii-fx/core';
|
|
2
|
-
import type { FitMode, InteractionOptions, InteractionType, StreamMatchOptions } from '@ascii-fx/gpu';
|
|
1
|
+
import type { AsciiFrame, AsciiProfile, PaletteOptions, ProfileSource } from '@ascii-fx/core';
|
|
2
|
+
import type { FitMode, InteractionOptions, InteractionType, PostOptions, StreamMatchOptions } from '@ascii-fx/gpu';
|
|
3
3
|
import { AsciiPass } from '@ascii-fx/three';
|
|
4
4
|
export interface UseAsciiEffectOptions extends StreamMatchOptions {
|
|
5
5
|
profile: ProfileSource;
|
|
6
6
|
fit?: FitMode;
|
|
7
7
|
clearColor?: readonly [number, number, number, number];
|
|
8
|
+
/** Snap the fitted colours to a palette, optionally dithered. Never rematches. */
|
|
9
|
+
palette?: PaletteOptions | null;
|
|
10
|
+
/** Screen-space effects (scanlines, bloom, …) over the composite. */
|
|
11
|
+
post?: PostOptions | null;
|
|
8
12
|
/** Interaction preset name or full options (spec §2: interaction="reveal"). */
|
|
9
13
|
interaction?: InteractionType | InteractionOptions | null;
|
|
10
14
|
}
|
package/dist/index.js
CHANGED
|
@@ -25,10 +25,9 @@ var profileSourceKey = (source) => {
|
|
|
25
25
|
};
|
|
26
26
|
function useAsciiEffect(options) {
|
|
27
27
|
const gl = useThree((s) => s.gl);
|
|
28
|
-
const size = useThree((s) => s.size);
|
|
29
28
|
const [pass, setPass] = useState(null);
|
|
30
29
|
const [profile, setProfile] = useState(null);
|
|
31
|
-
const { profile: profileSource, interaction, fit, clearColor, ...match } = options;
|
|
30
|
+
const { profile: profileSource, interaction, fit, clearColor, palette, post, ...match } = options;
|
|
32
31
|
useEffect(() => {
|
|
33
32
|
let live = true;
|
|
34
33
|
loadProfile(profileSource).then((p) => {
|
|
@@ -48,7 +47,7 @@ function useAsciiEffect(options) {
|
|
|
48
47
|
return;
|
|
49
48
|
}
|
|
50
49
|
let live = true;
|
|
51
|
-
const created = new AsciiPass({ profile, renderer, fit, clearColor });
|
|
50
|
+
const created = new AsciiPass({ profile, renderer, fit, clearColor, palette, post });
|
|
52
51
|
void created.init().then(() => {
|
|
53
52
|
if (!live) {
|
|
54
53
|
created.dispose();
|
|
@@ -77,25 +76,20 @@ function useAsciiEffect(options) {
|
|
|
77
76
|
match.temporal,
|
|
78
77
|
match.matcher,
|
|
79
78
|
match.hysteresis,
|
|
79
|
+
match.jitter,
|
|
80
|
+
match.jitterSeed,
|
|
80
81
|
fit,
|
|
81
|
-
clearColor
|
|
82
|
+
clearColor,
|
|
83
|
+
palette,
|
|
84
|
+
post
|
|
82
85
|
]);
|
|
83
86
|
useEffect(() => {
|
|
84
|
-
pass?.set({ ...match, fit, clearColor });
|
|
87
|
+
pass?.set({ ...match, fit, clearColor, palette: palette ?? null, post: post ?? null });
|
|
85
88
|
}, [pass, matchKey]);
|
|
86
89
|
const interactionKey = JSON.stringify(interaction ?? null);
|
|
87
90
|
useEffect(() => {
|
|
88
91
|
pass?.setInteraction(normalizeInteraction(interaction));
|
|
89
92
|
}, [pass, interactionKey]);
|
|
90
|
-
useEffect(() => {
|
|
91
|
-
if (!pass) return;
|
|
92
|
-
const renderer = gl;
|
|
93
|
-
const dpr = renderer.getPixelRatio();
|
|
94
|
-
pass.setSize(
|
|
95
|
-
Math.max(1, Math.round(size.width * dpr)),
|
|
96
|
-
Math.max(1, Math.round(size.height * dpr))
|
|
97
|
-
);
|
|
98
|
-
}, [pass, size, gl]);
|
|
99
93
|
useFrame((state) => {
|
|
100
94
|
if (!pass) return;
|
|
101
95
|
pass.pointer.set((state.pointer.x + 1) / 2, (1 - state.pointer.y) / 2);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.tsx"],"sourcesContent":["import { useEffect, useMemo, useState } from 'react'\nimport { useFrame, useThree } from '@react-three/fiber'\nimport type { WebGPURenderer } from 'three/webgpu'\nimport type { AsciiFrame, AsciiProfile, ProfileSource } from '@ascii-fx/core'\nimport { loadProfile } from '@ascii-fx/core'\nimport type {\n FitMode,\n InteractionOptions,\n InteractionType,\n StreamMatchOptions,\n} from '@ascii-fx/gpu'\nimport { AsciiGlyphs as AsciiGlyphsImpl, AsciiPass } from '@ascii-fx/three'\n\nexport interface UseAsciiEffectOptions extends StreamMatchOptions {\n profile: ProfileSource\n fit?: FitMode\n clearColor?: readonly [number, number, number, number]\n /** Interaction preset name or full options (spec §2: interaction=\"reveal\"). */\n interaction?: InteractionType | InteractionOptions | null\n}\n\nconst normalizeInteraction = (\n interaction: InteractionType | InteractionOptions | null | undefined,\n): InteractionOptions | null =>\n interaction == null ? null : typeof interaction === 'string' ? { type: interaction } : interaction\n\nconst binaryIds = new WeakMap<ArrayBuffer | Uint8Array, number>()\nlet nextBinaryId = 1\n\n/**\n * Stable for semantic sources, identity-based for mutable binary inputs\n * (mirrors @ascii-fx/react's hookKeys). Keying the load effect by object\n * identity instead re-decoded — and rebuilt the whole AsciiPass, WGSL\n * recompile included — on every parent re-render for inline sources.\n */\nconst profileSourceKey = (source: ProfileSource): string => {\n if (typeof source === 'string') return `url:${source}`\n if (source instanceof URL) return `url:${source.href}`\n if (source instanceof Uint8Array || source instanceof ArrayBuffer) {\n let id = binaryIds.get(source)\n if (id === undefined) {\n id = nextBinaryId++\n binaryIds.set(source, id)\n }\n return `bytes:${id}`\n }\n if ('url' in source && !('glyphs' in source)) return `url:${(source as { url: string }).url}`\n return `profile:${(source as AsciiProfile).fingerprint}`\n}\n\n/**\n * AsciiPass lifecycle inside an R3F canvas. Requires the Canvas to run a\n * THREE.WebGPURenderer (`gl` factory returning WebGPURenderer in R3F v9).\n * Takes over the render loop while mounted; pointer is wired automatically.\n */\nexport function useAsciiEffect(options: UseAsciiEffectOptions): AsciiPass | null {\n const gl = useThree((s) => s.gl)\n const
|
|
1
|
+
{"version":3,"sources":["../src/index.tsx"],"sourcesContent":["import { useEffect, useMemo, useState } from 'react'\nimport { useFrame, useThree } from '@react-three/fiber'\nimport type { WebGPURenderer } from 'three/webgpu'\nimport type { AsciiFrame, AsciiProfile, PaletteOptions, ProfileSource } from '@ascii-fx/core'\nimport { loadProfile } from '@ascii-fx/core'\nimport type {\n FitMode,\n InteractionOptions,\n InteractionType,\n PostOptions,\n StreamMatchOptions,\n} from '@ascii-fx/gpu'\nimport { AsciiGlyphs as AsciiGlyphsImpl, AsciiPass } from '@ascii-fx/three'\n\nexport interface UseAsciiEffectOptions extends StreamMatchOptions {\n profile: ProfileSource\n fit?: FitMode\n clearColor?: readonly [number, number, number, number]\n /** Snap the fitted colours to a palette, optionally dithered. Never rematches. */\n palette?: PaletteOptions | null\n /** Screen-space effects (scanlines, bloom, …) over the composite. */\n post?: PostOptions | null\n /** Interaction preset name or full options (spec §2: interaction=\"reveal\"). */\n interaction?: InteractionType | InteractionOptions | null\n}\n\nconst normalizeInteraction = (\n interaction: InteractionType | InteractionOptions | null | undefined,\n): InteractionOptions | null =>\n interaction == null ? null : typeof interaction === 'string' ? { type: interaction } : interaction\n\nconst binaryIds = new WeakMap<ArrayBuffer | Uint8Array, number>()\nlet nextBinaryId = 1\n\n/**\n * Stable for semantic sources, identity-based for mutable binary inputs\n * (mirrors @ascii-fx/react's hookKeys). Keying the load effect by object\n * identity instead re-decoded — and rebuilt the whole AsciiPass, WGSL\n * recompile included — on every parent re-render for inline sources.\n */\nconst profileSourceKey = (source: ProfileSource): string => {\n if (typeof source === 'string') return `url:${source}`\n if (source instanceof URL) return `url:${source.href}`\n if (source instanceof Uint8Array || source instanceof ArrayBuffer) {\n let id = binaryIds.get(source)\n if (id === undefined) {\n id = nextBinaryId++\n binaryIds.set(source, id)\n }\n return `bytes:${id}`\n }\n if ('url' in source && !('glyphs' in source)) return `url:${(source as { url: string }).url}`\n return `profile:${(source as AsciiProfile).fingerprint}`\n}\n\n/**\n * AsciiPass lifecycle inside an R3F canvas. Requires the Canvas to run a\n * THREE.WebGPURenderer (`gl` factory returning WebGPURenderer in R3F v9).\n * Takes over the render loop while mounted; pointer is wired automatically.\n */\nexport function useAsciiEffect(options: UseAsciiEffectOptions): AsciiPass | null {\n const gl = useThree((s) => s.gl)\n const [pass, setPass] = useState<AsciiPass | null>(null)\n const [profile, setProfile] = useState<AsciiProfile | null>(null)\n const { profile: profileSource, interaction, fit, clearColor, palette, post, ...match } = options\n\n useEffect(() => {\n let live = true\n loadProfile(profileSource)\n .then((p) => {\n if (live) setProfile(p)\n })\n .catch((err: unknown) => console.error('[ascii-fx] profile load failed:', err))\n return () => {\n live = false\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [profileSourceKey(profileSource)])\n\n useEffect(() => {\n if (!profile) return\n const renderer = gl as unknown as WebGPURenderer & { isWebGPURenderer?: boolean }\n if (!renderer.isWebGPURenderer) {\n console.error(\n '[ascii-fx] <AsciiEffect> requires a THREE.WebGPURenderer — pass `gl` accordingly to <Canvas>. ' +\n 'WebGL renderers are unsupported (spec §30).',\n )\n return\n }\n let live = true\n const created = new AsciiPass({ profile, renderer, fit, clearColor, palette, post })\n void created\n .init()\n .then(() => {\n if (!live) {\n created.dispose()\n return\n }\n setPass(created)\n })\n .catch((err: unknown) => {\n created.dispose()\n if (live) console.error('[ascii-fx] AsciiPass init failed:', err)\n })\n return () => {\n live = false\n created.dispose()\n setPass(null)\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [gl, profile])\n\n const matchKey = JSON.stringify([\n match.columns,\n match.rows,\n match.color,\n match.alpha,\n match.foreground,\n match.background,\n match.flatThreshold,\n match.srgbEncode,\n match.temporal,\n match.matcher,\n match.hysteresis,\n match.jitter,\n match.jitterSeed,\n fit,\n clearColor,\n palette,\n post,\n ])\n useEffect(() => {\n // `null` is how the pass is told to drop a palette or the post effects; `undefined`\n // would leave whatever it had.\n pass?.set({ ...match, fit, clearColor, palette: palette ?? null, post: post ?? null })\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [pass, matchKey])\n\n const interactionKey = JSON.stringify(interaction ?? null)\n useEffect(() => {\n pass?.setInteraction(normalizeInteraction(interaction))\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [pass, interactionKey])\n\n useFrame((state) => {\n if (!pass) return\n pass.pointer.set((state.pointer.x + 1) / 2, (1 - state.pointer.y) / 2)\n pass.render(state.scene, state.camera)\n }, 1)\n\n return pass\n}\n\nexport interface AsciiEffectProps extends UseAsciiEffectOptions {}\n\n/** Declarative AsciiPass (spec §2): `<AsciiEffect profile={p} columns={180} interaction=\"reveal\" />` */\nexport function AsciiEffect(props: AsciiEffectProps): null {\n useAsciiEffect(props)\n return null\n}\n\nexport interface AsciiGlyphsProps {\n profile: AsciiProfile\n columns: number\n rows: number\n cellSize?: number\n /** Matched frame to display (from captureFrame() or matchFrame()). */\n frame?: AsciiFrame | null\n}\n\n/** Instanced glyph field as an R3F element. */\nexport function AsciiGlyphs(props: AsciiGlyphsProps): React.JSX.Element {\n const { profile, columns, rows, cellSize, frame } = props\n const glyphs = useMemo(\n () => new AsciiGlyphsImpl({ profile, columns, rows, cellSize }),\n [profile, columns, rows, cellSize],\n )\n useEffect(() => () => glyphs.dispose(), [glyphs])\n useEffect(() => {\n // A grid prop change rebuilds `glyphs` in the same render, while `frame`\n // state may still hold the previous grid's match for a beat — forwarding\n // it would throw from updateFromFrame into the nearest error boundary.\n // Skip mismatched frames; the caller's next capture fits the new grid.\n if (!frame || frame.columns !== columns || frame.rows !== rows) return\n glyphs.updateFromFrame(frame)\n }, [glyphs, frame, columns, rows])\n return <primitive object={glyphs.mesh} />\n}\n"],"mappings":";;;AAAA,SAAS,WAAW,SAAS,gBAAgB;AAC7C,SAAS,UAAU,gBAAgB;AAGnC,SAAS,mBAAmB;AAQ5B,SAAS,eAAe,iBAAiB,iBAAiB;AA8KjD;AAhKT,IAAM,uBAAuB,CAC3B,gBAEA,eAAe,OAAO,OAAO,OAAO,gBAAgB,WAAW,EAAE,MAAM,YAAY,IAAI;AAEzF,IAAM,YAAY,oBAAI,QAA0C;AAChE,IAAI,eAAe;AAQnB,IAAM,mBAAmB,CAAC,WAAkC;AAC1D,MAAI,OAAO,WAAW,SAAU,QAAO,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,QAAM,SAAS;AAAA,IACb,MAAM,IAAI,gBAAgB,EAAE,SAAS,SAAS,MAAM,SAAS,CAAC;AAAA,IAC9D,CAAC,SAAS,SAAS,MAAM,QAAQ;AAAA,EACnC;AACA,YAAU,MAAM,MAAM,OAAO,QAAQ,GAAG,CAAC,MAAM,CAAC;AAChD,YAAU,MAAM;AAKd,QAAI,CAAC,SAAS,MAAM,YAAY,WAAW,MAAM,SAAS,KAAM;AAChE,WAAO,gBAAgB,KAAK;AAAA,EAC9B,GAAG,CAAC,QAAQ,OAAO,SAAS,IAAI,CAAC;AACjC,SAAO,oBAAC,eAAU,QAAQ,OAAO,MAAM;AACzC;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ascii-fx/react-three",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "React Three Fiber bindings for ASCII FX: <AsciiEffect>, <AsciiGlyphs>, useAsciiEffect (WebGPURenderer only).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ascii",
|
|
@@ -39,18 +39,18 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ascii-fx/core": "0.
|
|
43
|
-
"@ascii-fx/gpu": "0.
|
|
44
|
-
"@ascii-fx/three": "0.
|
|
42
|
+
"@ascii-fx/core": "0.10.0",
|
|
43
|
+
"@ascii-fx/gpu": "0.10.0",
|
|
44
|
+
"@ascii-fx/three": "0.10.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@react-three/fiber": "^9.8.2",
|
|
48
48
|
"@types/react": "^19.3.0",
|
|
49
|
-
"@types/three": "0.
|
|
49
|
+
"@types/three": "0.187.0",
|
|
50
50
|
"@webgpu/types": "^0.1.74",
|
|
51
51
|
"react": "^19.3.1",
|
|
52
|
-
"three": "0.
|
|
53
|
-
"tsup": "^
|
|
52
|
+
"three": "0.187.0",
|
|
53
|
+
"tsup": "^9.0.0",
|
|
54
54
|
"typescript": "^7.0.2"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|