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: 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
@@ -158,7 +158,7 @@ multiple-hinge hardware have not yet been validated.
158
158
159
159
## Example
160
160
161
-
[Watch the folding Field Notes demo](https://appandflow.github.io/react-native-hinges/demo/fold-showcase-v2.mp4): native Android emulator footage mapped onto a Galaxy Z Fold 3 model. Hinge angles drive fades and slides; reserved regions keep the pages and toolbar clear of the fold and cutout. The example includes the Worklets patch described above.
161
+
[Watch the folding Field Notes demo](https://appandflow.github.io/react-native-hinges/demo/fold-showcase-v3.mp4): native Android emulator footage mapped onto a Galaxy Z Fold 3 model. Hinge angles turn daylight into sunset and drive fades and slides; reserved regions keep the pages and toolbar clear of the fold and cutout. The example includes the Worklets patch described above.
Copy file name to clipboardExpand all lines: docs/launch.md
+15-12Lines changed: 15 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ dist-tags before posting. This document does not authorize posting to X.
13
13
> Here they are together in Field Notes. New Architecture, Reanimated support,
14
14
> and alpha releases available now.
15
15
16
-
Attach the [folding Field Notes demo](https://appandflow.github.io/react-native-hinges/demo/fold-showcase-v2.mp4).
16
+
Attach the [folding Field Notes demo](https://appandflow.github.io/react-native-hinges/demo/fold-showcase-v3.mp4).
17
17
18
18
Suggested reply:
19
19
@@ -45,32 +45,34 @@ the native angle readout extracted from the app recording.
45
45
The app runs on the owned API 34 emulator `emulator-5590`, with React Native
46
46
`0.88.0-rc.1`, Reanimated `4.7.0`, Worklets `0.13.0` plus the example FIFO patch,
47
47
and npm-installed reserved regions `0.1.0-alpha.2`. Hinges and the example use
48
-
local repository source. The stronger motion and mirrored landscape are example
48
+
local repository source. The recording uses the native Fabric observer implementation and example
49
49
changes made after the alpha.2 library release.
50
50
51
-
- Native angle sweeps from 180° through 120°, 90°, and 60°, then back to 180°.
51
+
- Native angle sweeps from 180° through 120° to 90°, then back to 180°.
52
52
The journal number, headline, body, and footer fade and slide toward the outer
53
-
edge. The sun stays away from the fold.
53
+
edge. The sun stays away from the fold, and the landscape colors shift into
54
+
sunset as it lowers.
54
55
- The emulator remains in half-open posture so the measured division stays
55
-
present throughout. The fold close-up holds a recorded frame.
56
+
present throughout. A continuous camera move brings the fold into view, then
57
+
moves toward the camera cutout as the phone opens.
56
58
- Journal, Map, and Moments switch in the camera close-up. The toolbar uses the
57
-
clear spans around native occlusion bounds, adding 12 dp of clearance.
59
+
clear spans around native occlusion bounds, adding 12 dp of clearance. Its
60
+
selection slides and resizes, clipped out of the cutout gap.
58
61
59
62
The emulator console supplies hinge-angle input. Native Android display-feature
60
63
and cutout overrides supply the fixture geometry. The app reads those native
61
64
APIs; the video does not use the app's simulated preview. The regions API reports
62
65
occlusion geometry and does not identify a camera.
63
66
64
-
The host recording is cropped to remove letterboxing and the Android taskbar,
65
-
restored to the app viewport's aspect ratio, and converted to 24 fps for the
66
-
render. Output frame rate is not native event frequency. The video is edited into
67
+
The scrcpy recording is cropped to remove the Android taskbar and converted to
68
+
24 fps for the render using the source timing, with the final static frame held. Output frame rate is not native event frequency. The camera moves through
67
69
a fold sequence and two close-ups; it does not establish hardware performance or
68
70
continuous iOS hinge-angle delivery.
69
71
70
72
## Retained evidence
71
73
72
-
The task's `fold-showcase-v2/` artifact directory retains the source capture,
Copy file name to clipboardExpand all lines: website/docs/example.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,10 +47,14 @@ The example opens **Field Notes**, a two-page travel journal using both librarie
47
47
- A full-screen provider splits the Journal / Map / Moments toolbar around native
48
48
occlusion bounds, with a 12-point gap. The tabs use the clear spans on either
49
49
side; amber outlines show measured rectangles. The API does not identify what
50
-
causes an occlusion.
50
+
causes an occlusion. The selection slides and resizes between measured tab
51
+
bounds, clipped to the clear spans so it stays out of the camera gap. Reduced
52
+
motion switches the selection immediately.
51
53
-`useAnimatedHinges()` drives lighting and fades the journal number, headline,
52
54
body, and footer while sliding them toward the outer edge between 160° and 80°.
53
55
The mirrored landscape keeps the sun near the outer edge, clear of the fold.
56
+
As it lowers, the sky, sun, mountains, and lake shift from daylight greens
57
+
through a coral sunset into purple dusk.
54
58
The pages stay geometrically flat; the physical screen
55
59
supplies perspective. Reduced motion disables translation. When the angle is
56
60
unavailable, the artwork appears open; the underlying reading remains `null`.
@@ -63,7 +67,7 @@ recording; tap it again to restore them. Hiding the controls also selects native
63
67
64
68
The example installs `react-native-reserved-regions@0.1.0-alpha.2` from npm.
65
69
66
-
[Watch the folding Field Notes demo](https://appandflow.github.io/react-native-hinges/demo/fold-showcase-v2.mp4). The 32-second video maps native Android emulator footage onto a [Galaxy Z Fold 3 model by RHModels](https://www.cgtrader.com/free-3d-models/electronics/phone/samsung-galaxy-z-fold-3-black-free-3d-model). The model follows the recorded native angle; close-ups highlight the fold region and show the toolbar switching tabs around camera clearance. The recording uses the example Worklets patch and npm-installed reserved regions alpha.2. The illustrated device is not a physical-device recording.
70
+
[Watch the folding Field Notes demo](https://appandflow.github.io/react-native-hinges/demo/fold-showcase-v3.mp4). The 34-second video maps native Android emulator footage onto a [Galaxy Z Fold 3 model by RHModels](https://www.cgtrader.com/free-3d-models/electronics/phone/samsung-galaxy-z-fold-3-black-free-3d-model). The model follows the recorded native angle; continuous camera moves reveal the fold region and the toolbar switching tabs around camera clearance. Callouts fade in as each move settles. The video is stored as a release asset and included in the website deployment; video binaries stay outside the source tree. The recording uses local Hinges and example source after alpha.2, the example Worklets patch, and npm-installed reserved regions alpha.2. The illustrated device is not a physical-device recording.
0 commit comments