Research resources

Recovered canvas execution against real manuscript images

The preserved v0.3 canvas runs, but its manuscript input affects only the texture property. The twelve-tick ring, thirteen-tick ring, hexagon and section-flow coordinates are supplied by the code. Loading the original contact sheet, f67r and f57v produced exactly the same captured geometry. This is a result about this canvas, not about the separately recovered image-analysis and opcode branches.

What was executed

Engine.v0.3.jsx is an exact byte copy of the recovered v0.3 source. A local esbuild wrapper supplies React18.3.1, ReactDOM18.3.1, Three0.170.0, React Three Fiber8.18.0 and Drei9.122.0. Package versions and registry integrity are locked in package-lock.json. The original historical dependency versions were not recovered, so compatibility failures belong to this declared runtime.

The wrapper adds CSS dimensions and a null-rendering scene observer. The observer records geometry types, counts, array hashes, full line vertices, texture image dimensions and visible input state. It adds no Three objects and changes no engine parameters. Its Canvas interception and all wrapper code are separate from the preserved source.

Twenty browser conditions were recorded in captures/. Actual Chrome screenshots show the original engine, real manuscript input handling and the separate presentation repair. The three retained image inputs and their hashes are in INPUTS.json: the original4680×4320 contact sheet, f67r at2000×1504, and the f57v native image at3028×3769. The latter is a texture input only; no coordinates from the differently sized2000px plate are applied to it.

Chrome extension file chooser automation failed because file-URL access was disabled. No browser permissions changed. A clearly labeled local fixture adapter fetched the copied images from the same loopback server, constructed File objects, assigned the original file input and dispatched its change event. The original historical handler then created its blob URL and loaded the texture. This tests that input path, not native chooser automation. The failed chooser attempt is retained in TOOL_EVENTS.json.

Original v0.3 results

Test Measured result
No texture Engine rendered its sphere and overlays without a crash.
Three real image inputs Correct image dimensions reached material.map. All geometry records were identical to the no-texture baseline.
Actual texture presentation Failed in this package set. The sphere remained gray. The same canvas crop in f67r and f57v screenshots is pixel-identical despite different assigned images.
Flow phase0,0.2,1 All five full-cycle flow arrays were exactly identical. The phase control changes a value, but v0.3 does not use it to compute coordinates.
Sphere, dodecahedron, icosahedron All three geometry switches worked.
Twelve/thirteen overlays Baseline had12 and13 tick segments. Disabling13 left12. Disabling all overlays left the sphere and five flow arcs.
Named scripts Full Cycle5 arcs; Herbal2; Zodiac2; Balneo1; Pharma1; Recipes1. The table is declared in source and does not read the image.
Hexagon tilt At input0°, its first vertex is0.5235988°; at input60°, it is1.5707963°. The caller passes radians to a helper named rotDeg that converts degrees again. The intended combined angles would be30° and90°.
Draggable anchors No small anchor spheres remained in the3D scene; six circles appeared in the2D preview. The effect clears the group that also contains the React-created anchor meshes.
Invalid-image control Loader emitted a warning and returned to a textureless sphere. All three in-app self-test labels still said PASS. Those labels do not test manuscript inference or validate image loading.

The in-app render self-test is literally initialized with pass: true; its other two checks inspect the selected geometry name and boolean types. The actual rendering observations above come from the browser and external probe instead.

Separate material-only repair

MATERIAL_REPAIR.diff adds one React key to the material, causing it to be recreated when texture presence changes. The separately labeled material-repair.html then visibly displays f57v, f67r and the original contact sheet on the sphere. The original gray-sphere result remains preserved.

The repaired f67r/f57v sphere crops differ by mean absolute RGB channel values11.34,12.31 and13.73. Their original counterparts differ by exactly0 in all channels. This is a practical rendering control. It is not a measurement of a manuscript relationship.

The repair changes no tick, hexagon, flow or classification rule. All three repaired image cases retain exactly the original geometry. The repair therefore makes the image presentation work without manufacturing an image-derived engine result.

Version boundary

test_functions.mjs extracts the complete original FlowArc function from each snapshot, records its source and line, erases TypeScript with esbuild, and executes it with pure React element/useMemo/useRef stubs and the actual Three geometry library. This is function execution, not a claim that older full apps were browser-tested.

The v0.1 function does respond to phase: its endpoint uses a sine of the supplied time. The v0.2 and v0.3 functions produce identical coordinates for phase0,0.2 and1. The phase failure is thus a version regression. None of these functions consumes image pixels or manuscript transcriptions.

What this contributes to the research test

This canvas supplies a viewing scaffold with configurable overlays, section labels and a globe texture. Its successful switches and repaired image presentation are functional successes. Its fixed overlays cannot validate twelvefold, thirteenfold or hexagonal structure in a manuscript merely by appearing over a loaded image. It has no learned or source-defined image-to-label, inscription-to-operation or selected-field-to-destination mechanism to score against the current f57v/f67r findings.

This does not refute a geometric hypothesis independently defined on the photographs. Such a test belongs to the recovered image-analysis branch or to a separately specified coordinate and selection procedure. The old source is preserved so that a new measurement can remain distinct from the display it was inspired by.

Reproduction and lifecycle

Run node build.mjs to build the exact-source wrapper and separately labeled material repair. Run python3 -m http.server 8966 --bind 127.0.0.1 in this directory and open the displayed local page. node test_functions.mjs repeats the extracted-function tests; python3 analyze_captures.py recalculates all reported comparisons from retained browser captures.

The experiment used only the dedicated loopback port8966. Its server was stopped with a clean keyboard interrupt after capture, and the test browser tab was closed. Other services and shared artifacts were untouched. Original inputs remain byte-identical.

Complete public source text and line addresses
# Recovered canvas execution against real manuscript images

The preserved v0.3 canvas runs, but its manuscript input affects only the texture property. The twelve-tick ring, thirteen-tick ring, hexagon and section-flow coordinates are supplied by the code. Loading the original contact sheet, f67r and f57v produced exactly the same captured geometry. This is a result about this canvas, not about the separately recovered image-analysis and opcode branches.

## What was executed

`Engine.v0.3.jsx` is an exact byte copy of the recovered v0.3 source. A local esbuild wrapper supplies React18.3.1, ReactDOM18.3.1, Three0.170.0, React Three Fiber8.18.0 and Drei9.122.0. Package versions and registry integrity are locked in `package-lock.json`. The original historical dependency versions were not recovered, so compatibility failures belong to this declared runtime.

The wrapper adds CSS dimensions and a null-rendering scene observer. The observer records geometry types, counts, array hashes, full line vertices, texture image dimensions and visible input state. It adds no Three objects and changes no engine parameters. Its Canvas interception and all wrapper code are separate from the preserved source.

Twenty browser conditions were recorded in `captures/`. Actual Chrome screenshots show the original engine, real manuscript input handling and the separate presentation repair. The three retained image inputs and their hashes are in `INPUTS.json`: the original4680×4320 contact sheet, f67r at2000×1504, and the f57v native image at3028×3769. The latter is a texture input only; no coordinates from the differently sized2000px plate are applied to it.

Chrome extension file chooser automation failed because file-URL access was disabled. No browser permissions changed. A clearly labeled local fixture adapter fetched the copied images from the same loopback server, constructed File objects, assigned the original file input and dispatched its change event. The original historical handler then created its blob URL and loaded the texture. This tests that input path, not native chooser automation. The failed chooser attempt is retained in `TOOL_EVENTS.json`.

## Original v0.3 results

| Test | Measured result |
|---|---|
| No texture | Engine rendered its sphere and overlays without a crash. |
| Three real image inputs | Correct image dimensions reached `material.map`. All geometry records were identical to the no-texture baseline. |
| Actual texture presentation | Failed in this package set. The sphere remained gray. The same canvas crop in f67r and f57v screenshots is pixel-identical despite different assigned images. |
| Flow phase0,0.2,1 | All five full-cycle flow arrays were exactly identical. The phase control changes a value, but v0.3 does not use it to compute coordinates. |
| Sphere, dodecahedron, icosahedron | All three geometry switches worked. |
| Twelve/thirteen overlays | Baseline had12 and13 tick segments. Disabling13 left12. Disabling all overlays left the sphere and five flow arcs. |
| Named scripts | Full Cycle5 arcs; Herbal2; Zodiac2; Balneo1; Pharma1; Recipes1. The table is declared in source and does not read the image. |
| Hexagon tilt | At input0°, its first vertex is0.5235988°; at input60°, it is1.5707963°. The caller passes radians to a helper named `rotDeg` that converts degrees again. The intended combined angles would be30° and90°. |
| Draggable anchors | No small anchor spheres remained in the3D scene; six circles appeared in the2D preview. The effect clears the group that also contains the React-created anchor meshes. |
| Invalid-image control | Loader emitted a warning and returned to a textureless sphere. All three in-app self-test labels still said PASS. Those labels do not test manuscript inference or validate image loading. |

The in-app render self-test is literally initialized with `pass: true`; its other two checks inspect the selected geometry name and boolean types. The actual rendering observations above come from the browser and external probe instead.

## Separate material-only repair

`MATERIAL_REPAIR.diff` adds one React key to the material, causing it to be recreated when texture presence changes. The separately labeled `material-repair.html` then visibly displays f57v, f67r and the original contact sheet on the sphere. The original gray-sphere result remains preserved.

The repaired f67r/f57v sphere crops differ by mean absolute RGB channel values11.34,12.31 and13.73. Their original counterparts differ by exactly0 in all channels. This is a practical rendering control. It is not a measurement of a manuscript relationship.

The repair changes no tick, hexagon, flow or classification rule. All three repaired image cases retain exactly the original geometry. The repair therefore makes the image presentation work without manufacturing an image-derived engine result.

## Version boundary

`test_functions.mjs` extracts the complete original FlowArc function from each snapshot, records its source and line, erases TypeScript with esbuild, and executes it with pure React element/useMemo/useRef stubs and the actual Three geometry library. This is function execution, not a claim that older full apps were browser-tested.

The v0.1 function does respond to phase: its endpoint uses a sine of the supplied time. The v0.2 and v0.3 functions produce identical coordinates for phase0,0.2 and1. The phase failure is thus a version regression. None of these functions consumes image pixels or manuscript transcriptions.

## What this contributes to the research test

This canvas supplies a viewing scaffold with configurable overlays, section labels and a globe texture. Its successful switches and repaired image presentation are functional successes. Its fixed overlays cannot validate twelvefold, thirteenfold or hexagonal structure in a manuscript merely by appearing over a loaded image. It has no learned or source-defined image-to-label, inscription-to-operation or selected-field-to-destination mechanism to score against the current f57v/f67r findings.

This does not refute a geometric hypothesis independently defined on the photographs. Such a test belongs to the recovered image-analysis branch or to a separately specified coordinate and selection procedure. The old source is preserved so that a new measurement can remain distinct from the display it was inspired by.

## Reproduction and lifecycle

Run `node build.mjs` to build the exact-source wrapper and separately labeled material repair. Run `python3 -m http.server 8966 --bind 127.0.0.1` in this directory and open the displayed local page. `node test_functions.mjs` repeats the extracted-function tests; `python3 analyze_captures.py` recalculates all reported comparisons from retained browser captures.

The experiment used only the dedicated loopback port8966. Its server was stopped with a clean keyboard interrupt after capture, and the test browser tab was closed. Other services and shared artifacts were untouched. Original inputs remain byte-identical.