Code-first video & image, rendered natively on WebGPU.
feat(examples): add example 29 capabilities reel showcase film
okanaslf7bf8bb5b6a8
diff --git a/examples/29_capabilities_reel/.gitignore b/examples/29_capabilities_reel/.gitignorenew file mode 100644index 00000000..0b9dbf2a--- /dev/null+++ b/examples/29_capabilities_reel/.gitignore@@ -0,0 +1,6 @@+# Downloaded third-party assets: `pnpm assets` fetches them (src/fetch-assets.ts lists sources and licences).+assets/emoji/+assets/lottie/+assets/svg/+# Synthesized by `pnpm score`.+assets/stems/diff --git a/examples/29_capabilities_reel/README.md b/examples/29_capabilities_reel/README.mdnew file mode 100644index 00000000..51d203cd--- /dev/null+++ b/examples/29_capabilities_reel/README.md@@ -0,0 +1,63 @@+# 29 — Capabilities reel++A 74-second, 120 BPM reel that puts every corner of framefields on screen, one chapter a few bars+long, cut together with every transition the sequencer has. The pictures are made from downloaded+Lotties, animated emoji and SVGs, run through the effect nodes in [`nodes/`](../../nodes); the+score is synthesized here and mixed through the audio nodes during the render.++```bash+pnpm assets # Lotties, Noto animated emoji, Fluent/Twemoji/Lucide SVGs, fonts → assets/+pnpm score # synthesizes the four stems → assets/stems/+pnpm render grid emoji # contact sheet of one chapter+pnpm render frames 0 400 1990+pnpm render seq vision 0 20 # vision chapters need frames in order+pnpm render # output/capabilities-reel.mp4: one renderVideo with QA (~3 min on an M-series Mac)+pnpm render:segments # the same, in fresh processes split at hard cuts (for constrained machines)+pnpm render preview # live player+pnpm probe # every downloaded asset on one sheet (output/probe-*.png)+pnpm probe:nodes # the montage looks on one still+```++The vision chapter uses example 19's `assets/dancer.mp4`, `portrait.mp4` and stills; generate them there+with `pnpm assets`.++## Chapters++Bars are 2 s (60 frames at 30 fps). Each chapter starts on a downbeat; its transition plays over the tail of+the one before.++| # | Bars | Chapter | On screen | API |+| --- | --- | --- | --- | --- |+| 01 | 0–2 | Open | Noto fire Lottie throwing GPU sparks, embers, an aurora that wakes on the drop, kick shockwaves, emoji pops, the name wave-rising, RGB split into the whip | `Layer.lottie`, `Layer.particles`, `Layer.vfx`, `TextAnimator.waveRise/blurIn`, `LayerStyle`, `RGBSplit` |+| 02 | 3–5 | Lottie | Eight Lotties on cards flipping in, an abstract Lottie blurred as the backdrop, the wall tilting in perspective | `Layer.lottie`, `rotateY`/`perspective`, `LayerStyle.dropShadow`, `Blur` |+| 03 | 6–8 | Emoji + physics | 30 Noto animated emoji raining onto glowing bars and piling up; the loudest hit shakes the stage | `Physics.world2d`, `world.body(lottie, { shape: "circle" })`, `world.impact` |+| 04 | 9–11 | SVG + shapes | Lucide icons drawn on stroke by stroke, a gradient path morphing blob → star → heart → circle → burst, Fluent SVG emoji orbiting | `Layer.svg`, `Layer.shape("path")`, `trimEnd`, `d` keyframes |+| 05 | 12–15 | Stylize | 12 tiles × 12 `Styles.*` looks on stills and Lotties; then the dancer clip full frame, a new look on every beat | `withEffects(Styles.*)`: Posterize, Ascii, Pixelate, Toon, Halftone, CRT, RGBSplit, Painterly, Contour, Kaleidoscope, OpArt, Iridescence, GradientMap, Dither |+| 06 | 16–18 | Warp + fluid (breakdown) | Gooey metaballs from big particles, a Trails light pen, a Liquify twirl over a poster TileOffset scrolls under it; the live low-pass EQ curve | `Gooey`, `Trails`, `Liquify`, `TileOffset`, `AudioParametricEq({ frequency: signal })` |+| 07 | 19–21 | Vision (drop) | The dancer analysed on device: a word behind her (matte cutout), embers parting round her silhouette, sparkle Lotties on her wrists | `comp.vision`, `person.place/point`, `withVision({ mode: "matte" })`, particles `push: { person }` |+| 08 | 22–24 | Typography | Text on a rotating circular path, per-glyph 3D flips, a Lottie inside giant letters, Hello / مرحبا / שלום, a typed code line | `TextAnimator.flip3D`, `withMatte(text)`, `direction: "auto"`, `typewriter`, `TextPathBuilder` |+| 09 | 25–27 | 3D | Orbiting camera, extruded name, chrome and glass spheres, a cube with Lottie faces, a carousel of Lottie cards, emissive orbs blooming on the kick | `CameraAnimation.orbit`, `Lighting.dramatic`, `Layer3D.*`, `material: "glass"`, `Layer.cube`, `Layer.carousel3d` |+| 10 | 28–30 | Data + color | The 74 nodes as an animated bar chart and donut; then a before/after wipe across a full grade | `Layer.chart`, Curves, SelectiveColor, ColorBalance, ShadowsHighlights, Vignette, FilmGrain, `withMatte` |+| 11 | 31–32 | Node montage | Sixteen cuts on the eighth notes, one more node each: ColorKey, CornerPin, MeshWarp, Pixelate, Flip (symmetry), Rotate, Modulate, Levels, HighPass, UnsharpMask, Relight3D, CameraParallax3D, RefractionCaustics3D, HalftoneScreen (CMYK), ApplyLUT (a `.cube` written by the scene), Datamosh | `withEffects([...])` on video |+| 12 | 33–36 | Finale | Particle vortex surging on the kick, Lottie fireworks, every emoji SVG orbiting the mark, the install line, the last hit and a TV power-off | everything above |++Over all of it: a whole-composition ColorBalance, Vignette and FilmGrain (`comp.apply`), and the four stems+through AudioCompressor, AudioParametricEq (low shelf; the low-pass sweep), AudioDelay (ping-pong),+AudioReverb, StereoPanning (risers) and AudioFade.++## How it is put together++- `timeline.ts` — chapters on the bar grid; `music.ts` — the arrangement as data. The synthesizer+ (`score.ts`) and every beat-reactive signal in the picture read the same note list, so nothing is detected+ and nothing drifts.+- `precomp.ts` — type that needs a glow or a split is rendered once to a transparent PNG and used as an image:+ layer effects run on media layers (video, image, SVG, Lottie, particles, VFX), not on boxes or text.+- `film.ts` — `Layer.sequence` with one transition per cut; each chapter runs on under the next one's+ transition so the next starts on its downbeat.++## Assets and licences++`src/fetch-assets.ts` is the record. Noto Animated Emoji (CC BY 4.0, Google) · Fluent Emoji (MIT, Microsoft) ·+Twemoji 15.1 (CC BY 4.0) · Lucide (ISC) · lottie-ios samples (Apache-2.0, Airbnb) and their LottieFiles samples+(Lottie Simple License) · lottie-web demos (MIT, Airbnb) · fonts from the repo (OFL) and Noto Sans+Arabic/Hebrew (OFL). The credits are on the end card.diff --git a/examples/29_capabilities_reel/assets/luts/teal-orange.cube b/examples/29_capabilities_reel/assets/luts/teal-orange.cubenew file mode 100644index 00000000..4e532d61--- /dev/null+++ b/examples/29_capabilities_reel/assets/luts/teal-orange.cube@@ -0,0 +1,4915 @@+TITLE "teal-orange"+LUT_3D_SIZE 17+0.02500 0.17500 0.21000+0.05674 0.17514 0.20993+0.08944 0.17555 0.20971+0.12306 0.17623 0.20936+0.15757 0.17715 0.20889+0.19292 0.17832 0.20828+0.22908 0.17971 0.20756+0.26601 0.18133 0.20672+0.30367 0.18315 0.20577+0.34204 0.18517 0.20473+0.38106 0.18738 0.20358+0.42071 0.18977 0.20234+0.46095 0.19232 0.20102+0.50173 0.19503 0.19961+0.54303 0.19789 0.19813+0.58480 0.20088 0.19658+0.62700 0.20399 0.19497+0.02687 0.20678 0.20972+0.06046 0.20745 0.20938+0.09493 0.20836 0.20890+0.13025 0.20952 0.20831+0.16638 0.21091 0.20759+0.20329 0.21251 0.20675+0.24093 0.21433 0.20581+0.27927 0.21634 0.20477+0.31827 0.21855 0.20362+0.35789 0.22093 0.20239+0.39811 0.22348 0.20107+0.43887 0.22618 0.19967+0.48015 0.22903 0.19819+0.52190 0.23201 0.19664+0.56409 0.23512 0.19503+0.60668 0.23835 0.19336+0.64964 0.24167 0.19163+0.03230 0.23957 0.20892+0.06759 0.24072 0.20833+0.10369 0.24210 0.20761+0.14056 0.24370 0.20679+0.17818 0.24551 0.20585+0.21649 0.24752 0.20481+0.25547 0.24971 0.20367+0.29507 0.25209 0.20244+0.33527 0.25463 0.20112+0.37601 0.25733 0.19972+0.41727 0.26017 0.19824+0.45901 0.26315 0.19670+0.50118 0.26626 0.19509+0.54376 0.26948 0.19342+0.58671 0.27280 0.19170+0.62998 0.27622 0.18992+0.67354 0.27972 0.18811+0.04100 0.27330 0.20764+0.07784 0.27489 0.20682+0.11543 0.27669 0.20588+0.15372 0.27869 0.20485+0.19268 0.28088 0.20371+0.23226 0.28325 0.20248+0.27243 0.28578 0.20117+0.31315 0.28847 0.19977+0.35439 0.29131 0.19830+0.39611 0.29429 0.19676+0.43827 0.29739 0.19515+0.48084 0.30061 0.19348+0.52377 0.30393 0.19176+0.56703 0.30734 0.18999+0.61058 0.31084 0.18818+0.65439 0.31441 0.18633+0.69842 0.31804 0.18444+0.05269 0.30787 0.20592+0.09095 0.30986 0.20489+0.12988 0.31204 0.20375+0.16944 0.31441 0.20253+0.20959 0.31694 0.20122+0.25029 0.31962 0.19982+0.29152 0.32246 0.19836+0.33322 0.32543 0.19682+0.37536 0.32852 0.19521+0.41791 0.33174 0.19354+0.46083 0.33505 0.19182+0.50408 0.33846 0.19006+0.54763 0.34196 0.18824+0.59143 0.34552 0.18639+0.63545 0.34915 0.18451+0.67965 0.35283 0.18260+0.72400 0.35656 0.18067+0.06709 0.34321 0.20380+0.10662 0.34557 0.20258+0.14675 0.34809 0.20127+0.18744 0.35077 0.19988+0.22864 0.35360 0.19841+0.27033 0.35657 0.19687+0.31246 0.35966 0.19527+0.35499 0.36287 0.19361+0.39790 0.36618 0.19189+0.44114 0.36959 0.19012+0.48467 0.37308 0.18831+0.52846 0.37664 0.18646+0.57247 0.38027 0.18458+0.61667 0.38395 0.18267+0.66101 0.38767 0.18075+0.70547 0.39142 0.17880+0.74999 0.39520 0.17684+0.08392 0.37924 0.20132+0.12458 0.38192 0.19993+0.16577 0.38474 0.19847+0.20743 0.38770 0.19693+0.24955 0.39079 0.19533+0.29207 0.39400 0.19367+0.33496 0.39731 0.19195+0.37819 0.40071 0.19019+0.42171 0.40420 0.18838+0.46550 0.40776 0.18653+0.50950 0.41138 0.18465+0.55369 0.41506 0.18275+0.59803 0.41878 0.18082+0.64248 0.42253 0.17887+0.68700 0.42631 0.17692+0.73156 0.43009 0.17495+0.77612 0.43387 0.17299+0.10289 0.41589 0.19852+0.14454 0.41884 0.19699+0.18664 0.42193 0.19539+0.22915 0.42513 0.19373+0.27203 0.42843 0.19202+0.31524 0.43183 0.19025+0.35876 0.43532 0.18845+0.40253 0.43888 0.18660+0.44653 0.44250 0.18472+0.49071 0.44618 0.18282+0.53505 0.44989 0.18089+0.57949 0.45365 0.17894+0.62401 0.45742 0.17699+0.66857 0.46120 0.17503+0.71313 0.46498 0.17306+0.75765 0.46875 0.17111+0.80210 0.47251 0.16916+0.12373 0.45306 0.19545+0.16623 0.45626 0.19379+0.20909 0.45956 0.19208+0.25230 0.46296 0.19032+0.29580 0.46644 0.18851+0.33957 0.47000 0.18667+0.38356 0.47362 0.18479+0.42773 0.47729 0.18289+0.47206 0.48101 0.18096+0.51651 0.48476 0.17901+0.56102 0.48853 0.17706+0.60558 0.49231 0.17510+0.65014 0.49609 0.17314+0.69467 0.49987 0.17118+0.73912 0.50362 0.16924+0.78346 0.50734 0.16731+0.82765 0.51102 0.16540+0.14616 0.49069 0.19214+0.18935 0.49408 0.19038+0.23285 0.49756 0.18858+0.27660 0.50111 0.18674+0.32058 0.50473 0.18486+0.36476 0.50840 0.18296+0.40908 0.51212 0.18103+0.45352 0.51587 0.17909+0.49804 0.51964 0.17713+0.54259 0.52342 0.17517+0.58715 0.52720 0.17321+0.63168 0.53098 0.17125+0.67613 0.53473 0.16931+0.72048 0.53845 0.16738+0.76468 0.54213 0.16547+0.80870 0.54576 0.16359+0.85250 0.54933 0.16174+0.16989 0.52868 0.18865+0.21364 0.53223 0.18681+0.25761 0.53585 0.18493+0.30178 0.53952 0.18303+0.34610 0.54323 0.18110+0.39053 0.54698 0.17916+0.43505 0.55075 0.17720+0.47960 0.55453 0.17524+0.52416 0.55831 0.17328+0.56869 0.56209 0.17132+0.61315 0.56584 0.16938+0.65750 0.56957 0.16745+0.70171 0.57325 0.16554+0.74573 0.57688 0.16366+0.78954 0.58045 0.16180+0.83309 0.58394 0.15999+0.87635 0.58736 0.15822+0.19464 0.56696 0.18500+0.23880 0.57063 0.18310+0.28311 0.57435 0.18117+0.32755 0.57809 0.17923+0.37206 0.58186 0.17728+0.41661 0.58564 0.17531+0.46117 0.58943 0.17335+0.50570 0.59320 0.17140+0.55017 0.59695 0.16945+0.59452 0.60068 0.16752+0.63873 0.60436 0.16561+0.68277 0.60800 0.16372+0.72658 0.61157 0.16187+0.77014 0.61507 0.16006+0.81341 0.61848 0.15829+0.85635 0.62181 0.15656+0.89893 0.62502 0.15489+0.22013 0.60546 0.18124+0.26456 0.60920 0.17930+0.30907 0.61297 0.17735+0.35362 0.61675 0.17539+0.39818 0.62054 0.17343+0.44272 0.62431 0.17147+0.48718 0.62807 0.16952+0.53154 0.63179 0.16759+0.57576 0.63548 0.16568+0.61980 0.63911 0.16379+0.66362 0.64269 0.16194+0.70720 0.64619 0.16012+0.75048 0.64961 0.15835+0.79343 0.65294 0.15663+0.83602 0.65616 0.15495+0.87821 0.65927 0.15334+0.91996 0.66225 0.15180+0.24608 0.64408 0.17742+0.29063 0.64786 0.17546+0.33519 0.65165 0.17350+0.37973 0.65542 0.17154+0.42420 0.65918 0.16959+0.46856 0.66291 0.16766+0.51279 0.66659 0.16575+0.55683 0.67023 0.16386+0.60067 0.67381 0.16201+0.64425 0.67731 0.16019+0.68754 0.68074 0.15842+0.73051 0.68407 0.15669+0.77311 0.68729 0.15502+0.81531 0.69040 0.15340+0.85708 0.69339 0.15185+0.89837 0.69625 0.15037+0.93915 0.69895 0.14897+0.27221 0.68276 0.17357+0.31674 0.68653 0.17161+0.36121 0.69029 0.16966+0.40558 0.69402 0.16773+0.44981 0.69771 0.16582+0.49387 0.70135 0.16393+0.53771 0.70493 0.16207+0.58130 0.70844 0.16026+0.62460 0.71186 0.15848+0.66758 0.71519 0.15675+0.71020 0.71843 0.15508+0.75242 0.72154 0.15346+0.79420 0.72454 0.15191+0.83551 0.72739 0.15043+0.87630 0.73011 0.14902+0.91655 0.73267 0.14769+0.95622 0.73506 0.14645+0.29823 0.72140 0.16974+0.34260 0.72513 0.16780+0.38684 0.72882 0.16589+0.43090 0.73247 0.16400+0.47475 0.73605 0.16214+0.51835 0.73956 0.16032+0.56166 0.74299 0.15854+0.60466 0.74632 0.15681+0.64729 0.74956 0.15514+0.68952 0.75268 0.15352+0.73132 0.75568 0.15196+0.77265 0.75854 0.15048+0.81346 0.76126 0.14907+0.85373 0.76382 0.14774+0.89342 0.76622 0.14650+0.93249 0.76844 0.14534+0.97089 0.77048 0.14429+0.32386 0.75994 0.16596+0.36793 0.76358 0.16407+0.41179 0.76717 0.16221+0.45540 0.77068 0.16039+0.49873 0.77411 0.15861+0.54173 0.77745 0.15688+0.58438 0.78069 0.15520+0.62662 0.78382 0.15358+0.66844 0.78682 0.15202+0.70978 0.78969 0.15053+0.75062 0.79241 0.14912+0.79091 0.79498 0.14779+0.83062 0.79739 0.14654+0.86971 0.79961 0.14538+0.90814 0.80166 0.14433+0.94588 0.80350 0.14337+0.98289 0.80514 0.14252+0.02507 0.17502 0.24124+0.05718 0.17527 0.24111+0.09024 0.17578 0.24085+0.12420 0.17655 0.24045+0.15903 0.17757 0.23992+0.19469 0.17882 0.23927+0.23115 0.18030 0.23850+0.26837 0.18200 0.23762+0.30631 0.18390 0.23664+0.34493 0.18599 0.23555+0.38419 0.18827 0.23437+0.42407 0.19072 0.23310+0.46452 0.19334 0.23174+0.50550 0.19610 0.23031+0.54698 0.19901 0.22880+0.58892 0.20205 0.22722+0.63129 0.20521 0.22559+0.02766 0.20700 0.24086+0.06158 0.20777 0.24046+0.09638 0.20878 0.23994+0.13202 0.21002 0.23929+0.16845 0.21149 0.23853+0.20564 0.21318 0.23766+0.24355 0.21507 0.23667+0.28215 0.21716 0.23559+0.32139 0.21943 0.23441+0.36124 0.22188 0.23315+0.40167 0.22449 0.23179+0.44264 0.22725 0.23036+0.48410 0.23015 0.22886+0.52602 0.23319 0.22728+0.56837 0.23634 0.22565+0.61111 0.23960 0.22396+0.65419 0.24297 0.22221+0.03374 0.23998 0.23996+0.06934 0.24122 0.23932+0.10574 0.24269 0.23856+0.14291 0.24437 0.23769+0.18079 0.24625 0.23671+0.21936 0.24833 0.23563+0.25858 0.25060 0.23446+0.29842 0.25304 0.23319+0.33882 0.25564 0.23184+0.37977 0.25839 0.23042+0.42121 0.26129 0.22891+0.46312 0.26432 0.22734+0.50546 0.26747 0.22571+0.54818 0.27073 0.22402+0.59125 0.27409 0.22228+0.63464 0.27754 0.22049+0.67831 0.28107 0.21866+0.04304 0.27388 0.23859+0.08018 0.27555 0.23772+0.11803 0.27743 0.23675+0.15658 0.27950 0.23567+0.19578 0.28176 0.23450+0.23559 0.28419 0.23324+0.27598 0.28679 0.23190+0.31690 0.28954 0.23047+0.35833 0.29243 0.22897+0.40022 0.29546 0.22740+0.44254 0.29860 0.22577+0.48525 0.30186 0.22408+0.52831 0.30522 0.22234+0.57169 0.30866 0.22055+0.61534 0.31219 0.21873+0.65924 0.31578 0.21686+0.70334 0.31944 0.21497+0.05528 0.30861 0.23679+0.09380 0.31067 0.23572+0.13298 0.31292 0.23455+0.17277 0.31535 0.23329+0.21313 0.31794 0.23195+0.25404 0.32069 0.23052+0.29545 0.32357 0.22903+0.33732 0.32659 0.22746+0.37963 0.32974 0.22583+0.42232 0.33299 0.22414+0.46537 0.33634 0.22241+0.50874 0.33979 0.22062+0.55238 0.34331 0.21879+0.59627 0.34690 0.21693+0.64037 0.35055 0.21504+0.68463 0.35425 0.21312+0.72902 0.35799 0.21118+0.07017 0.34409 0.23459+0.10994 0.34651 0.23334+0.15029 0.34909 0.23200+0.19117 0.35183 0.23058+0.23257 0.35472 0.22908+0.27442 0.35773 0.22752+0.31671 0.36087 0.22589+0.35939 0.36412 0.22421+0.40243 0.36747 0.22247+0.44579 0.37091 0.22069+0.48942 0.37443 0.21886+0.53330 0.37802 0.21700+0.57739 0.38167 0.21511+0.62165 0.38536 0.21319+0.66604 0.38910 0.21126+0.71052 0.39286 0.20930+0.75506 0.39664 0.20735+0.08744 0.38025 0.23205+0.12831 0.38298 0.23063+0.16968 0.38586 0.22914+0.21153 0.38887 0.22758+0.25380 0.39200 0.22595+0.29647 0.39525 0.22427+0.33949 0.39859 0.22254+0.38284 0.40203 0.22075+0.42646 0.40555 0.21893+0.47034 0.40913 0.21707+0.51442 0.41278 0.21518+0.55867 0.41648 0.21326+0.60305 0.42021 0.21133+0.64753 0.42397 0.20938+0.69207 0.42775 0.20742+0.73664 0.43153 0.20546+0.78119 0.43531 0.20350+0.10680 0.41700 0.22919+0.14863 0.42000 0.22764+0.19089 0.42313 0.22601+0.23354 0.42637 0.22433+0.27655 0.42972 0.22260+0.31989 0.43315 0.22082+0.36350 0.43667 0.21900+0.40737 0.44025 0.21714+0.45144 0.44390 0.21525+0.49569 0.44759 0.21333+0.54007 0.45132 0.21140+0.58455 0.45508 0.20945+0.62909 0.45886 0.20749+0.67365 0.46264 0.20553+0.71820 0.46642 0.20357+0.76270 0.47019 0.20162+0.80711 0.47393 0.19968+0.12797 0.45427 0.22607+0.17061 0.45750 0.22440+0.21361 0.46084 0.22266+0.25694 0.46427 0.22089+0.30054 0.46779 0.21906+0.34440 0.47137 0.21721+0.38847 0.47501 0.21532+0.43271 0.47870 0.21340+0.47708 0.48243 0.21147+0.52156 0.48619 0.20952+0.56610 0.48997 0.20756+0.61066 0.49375 0.20560+0.65521 0.49753 0.20364+0.69971 0.50130 0.20169+0.74412 0.50504 0.19975+0.78841 0.50875 0.19783+0.83254 0.51241 0.19593+0.15068 0.49197 0.22273+0.19399 0.49540 0.22095+0.23758 0.49891 0.21913+0.28143 0.50249 0.21728+0.32549 0.50613 0.21539+0.36972 0.50982 0.21347+0.41410 0.51355 0.21154+0.45857 0.51730 0.20959+0.50311 0.52108 0.20763+0.54767 0.52486 0.20567+0.59222 0.52864 0.20371+0.63672 0.53241 0.20176+0.68114 0.53615 0.19982+0.72544 0.53986 0.19790+0.76957 0.54352 0.19600+0.81351 0.54713 0.19413+0.85722 0.55067 0.19229+0.17463 0.53003 0.21920+0.21846 0.53360 0.21734+0.26252 0.53724 0.21546+0.30674 0.54093 0.21355+0.35111 0.54466 0.21161+0.39558 0.54842 0.20966+0.44012 0.55219 0.20771+0.48468 0.55597 0.20574+0.52923 0.55976 0.20378+0.57374 0.56352 0.20183+0.61816 0.56727 0.19989+0.66246 0.57098 0.19797+0.70660 0.57464 0.19607+0.75055 0.57825 0.19420+0.79426 0.58179 0.19236+0.83771 0.58526 0.19056+0.88084 0.58863 0.18881+0.19954 0.56836 0.21553+0.24376 0.57204 0.21362+0.28813 0.57577 0.21168+0.33259 0.57953 0.20974+0.37713 0.58330 0.20778+0.42169 0.58709 0.20582+0.46624 0.59087 0.20386+0.51075 0.59463 0.20190+0.55518 0.59838 0.19996+0.59948 0.60209 0.19804+0.64363 0.60576 0.19614+0.68759 0.60937 0.19426+0.73131 0.61291 0.19243+0.77476 0.61638 0.19063+0.81791 0.61976 0.18887+0.86072 0.62305 0.18717+0.90314 0.62622 0.18552+0.22514 0.60688 0.21176+0.26961 0.61064 0.20981+0.31414 0.61441 0.20785+0.35870 0.61820 0.20589+0.40325 0.62198 0.20393+0.44776 0.62575 0.20197+0.49219 0.62949 0.20003+0.53650 0.63320 0.19811+0.58066 0.63687 0.19621+0.62462 0.64048 0.19433+0.66835 0.64403 0.19249+0.71182 0.64750 0.19069+0.75498 0.65089 0.18894+0.79780 0.65418 0.18723+0.84024 0.65736 0.18558+0.88226 0.66042 0.18400+0.92383 0.66335 0.18247+0.25115 0.64552 0.20792+0.29571 0.64931 0.20596+0.34026 0.65309 0.20400+0.38478 0.65686 0.20205+0.42921 0.66060 0.20010+0.47353 0.66432 0.19818+0.51769 0.66799 0.19627+0.56166 0.67160 0.19440+0.60540 0.67515 0.19256+0.64888 0.67863 0.19076+0.69205 0.68202 0.18900+0.73488 0.68531 0.18729+0.77734 0.68849 0.18564+0.81938 0.69156 0.18405+0.86096 0.69450 0.18253+0.90206 0.69730 0.18108+0.94264 0.69995 0.17970+0.27728 0.68420 0.20407+0.32179 0.68797 0.20212+0.36623 0.69172 0.20017+0.41055 0.69543 0.19825+0.45472 0.69910 0.19634+0.49869 0.70272 0.19447+0.54244 0.70627 0.19263+0.58593 0.70975 0.19082+0.62912 0.71314 0.18906+0.67196 0.71644 0.18736+0.71443 0.71963 0.18570+0.75649 0.72270 0.18411+0.79809 0.72564 0.18258+0.83921 0.72845 0.18113+0.87980 0.73110 0.17975+0.91983 0.73360 0.17846+0.95927 0.73592 0.17725+0.30324 0.72283 0.20025+0.34757 0.72655 0.19832+0.39174 0.73022 0.19641+0.43573 0.73384 0.19454+0.47949 0.73739 0.19269+0.52299 0.74087 0.19089+0.56618 0.74427 0.18913+0.60904 0.74757 0.18742+0.65152 0.75076 0.18576+0.69360 0.75384 0.18417+0.73522 0.75679 0.18264+0.77636 0.75960 0.18118+0.81697 0.76226 0.17980+0.85702 0.76476 0.17850+0.89648 0.76709 0.17730+0.93529 0.76924 0.17618+0.97344 0.77120 0.17516+0.32877 0.76134 0.19648+0.37276 0.76496 0.19461+0.41653 0.76851 0.19276+0.46004 0.77200 0.19095+0.50325 0.77540 0.18919+0.54612 0.77870 0.18748+0.58862 0.78190 0.18582+0.63071 0.78498 0.18422+0.67235 0.78793 0.18269+0.71350 0.79075 0.18123+0.75413 0.79341 0.17985+0.79421 0.79592 0.17855+0.83368 0.79826 0.17734+0.87253 0.80042 0.17622+0.91070 0.80238 0.17520+0.94816 0.80415 0.17428+0.98488 0.80570 0.17348+0.02529 0.17508 0.27246+0.05776 0.17543 0.27228+0.09117 0.17604 0.27196+0.12546 0.17691 0.27151+0.16062 0.17802 0.27094+0.19659 0.17936 0.27024+0.23334 0.18092 0.26943+0.27084 0.18270 0.26851+0.30904 0.18467 0.26748+0.34791 0.18684 0.26636+0.38741 0.18919 0.26514+0.42751 0.19170 0.26384+0.46817 0.19437 0.26245+0.50935 0.19720 0.26099+0.55101 0.20015 0.25946+0.59311 0.20324 0.25786+0.63563 0.20644 0.25620+0.02857 0.20727 0.27197+0.06284 0.20812 0.27153+0.09796 0.20922 0.27096+0.13390 0.21056 0.27027+0.17062 0.21211 0.26946+0.20809 0.21388 0.26854+0.24627 0.21585 0.26752+0.28512 0.21801 0.26640+0.32460 0.22035 0.26519+0.36468 0.22286 0.26389+0.40531 0.22552 0.26251+0.44647 0.22834 0.26105+0.48812 0.23129 0.25951+0.53021 0.23437 0.25792+0.57271 0.23757 0.25626+0.61558 0.24088 0.25455+0.65879 0.24427 0.25278+0.03530 0.24043 0.27098+0.07121 0.24175 0.27029+0.10791 0.24330 0.26949+0.14535 0.24506 0.26858+0.18350 0.24702 0.26756+0.22233 0.24917 0.26645+0.26179 0.25151 0.26524+0.30184 0.25401 0.26394+0.34246 0.25667 0.26256+0.38360 0.25948 0.26110+0.42522 0.26243 0.25957+0.46730 0.26551 0.25798+0.50979 0.26870 0.25632+0.55265 0.27200 0.25461+0.59585 0.27540 0.25285+0.63934 0.27888 0.25104+0.68310 0.28244 0.24920+0.04520 0.27449 0.26952+0.08261 0.27624 0.26862+0.12074 0.27820 0.26760+0.15954 0.28034 0.26649+0.19897 0.28267 0.26528+0.23901 0.28517 0.26399+0.27960 0.28782 0.26261+0.32073 0.29063 0.26116+0.36233 0.29357 0.25963+0.40439 0.29664 0.25804+0.44687 0.29983 0.25638+0.48971 0.30313 0.25467+0.53290 0.30652 0.25291+0.57639 0.31000 0.25111+0.62014 0.31355 0.24927+0.66412 0.31717 0.24739+0.70829 0.32084 0.24549+0.05797 0.30937 0.26764+0.09675 0.31151 0.26653+0.13616 0.31383 0.26533+0.17617 0.31632 0.26404+0.21675 0.31897 0.26266+0.25785 0.32177 0.26121+0.29945 0.32471 0.25969+0.34149 0.32778 0.25810+0.38395 0.33096 0.25644+0.42678 0.33426 0.25474+0.46996 0.33765 0.25298+0.51343 0.34112 0.25118+0.55718 0.34467 0.24934+0.60115 0.34829 0.24746+0.64531 0.35196 0.24556+0.68963 0.35567 0.24363+0.73406 0.35942 0.24169+0.07335 0.34499 0.26537+0.11334 0.34748 0.26409+0.15390 0.35012 0.26271+0.19498 0.35292 0.26127+0.23656 0.35585 0.25974+0.27858 0.35891 0.25816+0.32103 0.36209 0.25651+0.36385 0.36538 0.25480+0.40701 0.36877 0.25305+0.45048 0.37224 0.25125+0.49421 0.37579 0.24941+0.53818 0.37940 0.24753+0.58233 0.38307 0.24563+0.62664 0.38678 0.24371+0.67107 0.39053 0.24176+0.71559 0.39430 0.23981+0.76014 0.39808 0.23785+0.09105 0.38127 0.26277+0.13211 0.38406 0.26132+0.17367 0.38699 0.25980+0.21568 0.39005 0.25822+0.25811 0.39323 0.25657+0.30092 0.39651 0.25486+0.34407 0.39989 0.25311+0.38752 0.40336 0.25131+0.43125 0.40691 0.24947+0.47520 0.41052 0.24760+0.51935 0.41418 0.24570+0.56366 0.41790 0.24378+0.60809 0.42164 0.24183+0.65260 0.42541 0.23988+0.69715 0.42919 0.23792+0.74171 0.43297 0.23596+0.78624 0.43675 0.23400+0.11078 0.41813 0.25986+0.15278 0.42118 0.25828+0.19519 0.42436 0.25663+0.23798 0.42764 0.25493+0.28112 0.43102 0.25318+0.32457 0.43448 0.25138+0.36829 0.43803 0.24954+0.41223 0.44163 0.24767+0.45638 0.44530 0.24577+0.50068 0.44901 0.24385+0.54510 0.45275 0.24191+0.58961 0.45652 0.23995+0.63416 0.46030 0.23799+0.67872 0.46408 0.23603+0.72326 0.46786 0.23407+0.76773 0.47162 0.23212+0.81209 0.47534 0.23019+0.13227 0.45549 0.25669+0.17505 0.45877 0.25499+0.21818 0.46214 0.25324+0.26162 0.46560 0.25145+0.30532 0.46914 0.24961+0.34926 0.47275 0.24774+0.39340 0.47641 0.24584+0.43770 0.48012 0.24392+0.48211 0.48386 0.24198+0.52662 0.48763 0.24002+0.57117 0.49141 0.23806+0.61573 0.49520 0.23610+0.66027 0.49897 0.23414+0.70474 0.50273 0.23220+0.74911 0.50646 0.23026+0.79335 0.51015 0.22835+0.83740 0.51379 0.22646+0.15524 0.49327 0.25331+0.19866 0.49673 0.25151+0.24236 0.50026 0.24968+0.28629 0.50387 0.24781+0.33042 0.50753 0.24591+0.37471 0.51123 0.24399+0.41913 0.51498 0.24205+0.46363 0.51874 0.24010+0.50818 0.52252 0.23814+0.55274 0.52631 0.23617+0.59728 0.53008 0.23422+0.64176 0.53384 0.23227+0.68613 0.53757 0.23033+0.73037 0.54126 0.22842+0.77444 0.54491 0.22653+0.81829 0.54849 0.22467+0.86190 0.55200 0.22285+0.17940 0.53138 0.24975+0.22332 0.53498 0.24788+0.26745 0.53864 0.24598+0.31173 0.54235 0.24406+0.35614 0.54609 0.24212+0.40064 0.54985 0.24017+0.44519 0.55363 0.23821+0.48975 0.55742 0.23625+0.53429 0.56119 0.23429+0.57877 0.56495 0.23234+0.62315 0.56869 0.23040+0.66740 0.57238 0.22849+0.71147 0.57602 0.22660+0.75533 0.57961 0.22474+0.79895 0.58312 0.22292+0.84228 0.58656 0.22114+0.88529 0.58990 0.21941+0.20447 0.56976 0.24605+0.24875 0.57346 0.24413+0.29316 0.57720 0.24219+0.33765 0.58096 0.24024+0.38220 0.58474 0.23828+0.42676 0.58853 0.23632+0.47130 0.59231 0.23436+0.51579 0.59607 0.23241+0.56017 0.59980 0.23047+0.60442 0.60349 0.22856+0.64850 0.60714 0.22667+0.69237 0.61073 0.22481+0.73600 0.61424 0.22298+0.77934 0.61768 0.22120+0.82236 0.62103 0.21947+0.86503 0.62427 0.21779+0.90730 0.62740 0.21616+0.23017 0.60831 0.24226+0.27466 0.61208 0.24031+0.31921 0.61585 0.23835+0.36377 0.61964 0.23639+0.40832 0.62342 0.23443+0.45280 0.62718 0.23248+0.49719 0.63091 0.23055+0.54145 0.63461 0.22863+0.58553 0.63826 0.22674+0.62941 0.64185 0.22488+0.67305 0.64537 0.22305+0.71640 0.64881 0.22127+0.75943 0.65215 0.21953+0.80211 0.65540 0.21785+0.84440 0.65854 0.21622+0.88625 0.66155 0.21466+0.92764 0.66444 0.21316+0.25622 0.64697 0.23843+0.30079 0.65075 0.23646+0.34533 0.65453 0.23450+0.38982 0.65829 0.23255+0.43421 0.66202 0.23062+0.47847 0.66572 0.22870+0.52256 0.66937 0.22681+0.56645 0.67296 0.22494+0.61009 0.67649 0.22312+0.65346 0.67993 0.22133+0.69651 0.68328 0.21959+0.73920 0.68654 0.21791+0.78150 0.68968 0.21628+0.82337 0.69270 0.21471+0.86478 0.69558 0.21322+0.90568 0.69833 0.21179+0.94604 0.70092 0.21045+0.28234 0.68564 0.23458+0.32683 0.68940 0.23263+0.37123 0.69314 0.23069+0.41549 0.69684 0.22877+0.45959 0.70049 0.22688+0.50349 0.70408 0.22501+0.54714 0.70761 0.22318+0.59052 0.71106 0.22140+0.63358 0.71441 0.21966+0.67628 0.71767 0.21797+0.71860 0.72081 0.21634+0.76049 0.72384 0.21477+0.80191 0.72673 0.21327+0.84284 0.72948 0.21185+0.88322 0.73207 0.21050+0.92303 0.73450 0.20924+0.96222 0.73676 0.20807+0.30825 0.72425 0.23076+0.35252 0.72795 0.22884+0.39662 0.73161 0.22694+0.44053 0.73520 0.22508+0.48419 0.73873 0.22325+0.52758 0.74218 0.22146+0.57065 0.74554 0.21972+0.61337 0.74880 0.21803+0.65570 0.75195 0.21640+0.69761 0.75498 0.21483+0.73905 0.75787 0.21332+0.77999 0.76063 0.21190+0.82039 0.76323 0.21055+0.86022 0.76567 0.20928+0.89944 0.76793 0.20811+0.93801 0.77001 0.20703+0.97589 0.77190 0.20605+0.33365 0.76272 0.22701+0.37757 0.76632 0.22515+0.42124 0.76985 0.22332+0.46464 0.77330 0.22153+0.50772 0.77667 0.21978+0.55045 0.77993 0.21809+0.59280 0.78309 0.21646+0.63472 0.78612 0.21488+0.67618 0.78902 0.21338+0.71714 0.79178 0.21195+0.75757 0.79439 0.21060+0.79742 0.79683 0.20933+0.83666 0.79910 0.20815+0.87525 0.80119 0.20707+0.91315 0.80308 0.20609+0.95034 0.80477 0.20521+0.98676 0.80624 0.20445+0.02564 0.17518 0.30366+0.05848 0.17563 0.30342+0.09223 0.17634 0.30305+0.12685 0.17730 0.30256+0.16232 0.17850 0.30193+0.19860 0.17993 0.30119+0.23564 0.18158 0.30034+0.27341 0.18343 0.29938+0.31187 0.18548 0.29832+0.35098 0.18771 0.29716+0.39072 0.19013 0.29591+0.43104 0.19270 0.29457+0.47189 0.19543 0.29316+0.51326 0.19831 0.29166+0.55509 0.20132 0.29010+0.59736 0.20445 0.28848+0.64002 0.20769 0.28680+0.02962 0.20756 0.30307+0.06421 0.20851 0.30258+0.09965 0.20970 0.30196+0.13590 0.21112 0.30122+0.17291 0.21276 0.30037+0.21065 0.21461 0.29942+0.24909 0.21665 0.29836+0.28818 0.21888 0.29720+0.32790 0.22128 0.29595+0.36819 0.22385 0.29462+0.40903 0.22658 0.29321+0.45038 0.22945 0.29172+0.49220 0.23245 0.29016+0.53445 0.23558 0.28854+0.57710 0.23882 0.28686+0.62010 0.24216 0.28513+0.66343 0.24559 0.28335+0.03698 0.24091 0.30198+0.07320 0.24232 0.30125+0.11019 0.24395 0.30041+0.14790 0.24579 0.29945+0.18631 0.24782 0.29840+0.22538 0.25004 0.29725+0.26508 0.25244 0.29600+0.30535 0.25501 0.29467+0.34617 0.25773 0.29326+0.38750 0.26059 0.29178+0.42930 0.26359 0.29022+0.47154 0.26671 0.28860+0.51417 0.26995 0.28692+0.55716 0.27329 0.28519+0.60048 0.27672 0.28342+0.64408 0.28023 0.28160+0.68794 0.28381 0.27974+0.04746 0.27513 0.30044+0.08515 0.27696 0.29949+0.12354 0.27899 0.29844+0.16259 0.28121 0.29729+0.20225 0.28360 0.29605+0.24251 0.28616 0.29472+0.28331 0.28887 0.29332+0.32462 0.29173 0.29183+0.36640 0.29473 0.29028+0.40863 0.29785 0.28866+0.45125 0.30108 0.28699+0.49423 0.30441 0.28526+0.53753 0.30784 0.28348+0.58113 0.31135 0.28166+0.62497 0.31493 0.27981+0.66902 0.31856 0.27792+0.71326 0.32225 0.27601+0.06076 0.31016 0.29848+0.09979 0.31237 0.29733+0.13943 0.31476 0.29610+0.17967 0.31731 0.29477+0.22045 0.32002 0.29337+0.26174 0.32288 0.29189+0.30351 0.32587 0.29034+0.34571 0.32898 0.28872+0.38832 0.33221 0.28705+0.43129 0.33554 0.28532+0.47458 0.33896 0.28355+0.51817 0.34247 0.28173+0.56200 0.34604 0.27988+0.60605 0.34968 0.27799+0.65028 0.35337 0.27608+0.69464 0.35710 0.27414+0.73911 0.36085 0.27220+0.07661 0.34592 0.29614+0.11683 0.34847 0.29482+0.15759 0.35117 0.29342+0.19886 0.35402 0.29194+0.24061 0.35700 0.29040+0.28280 0.36011 0.28878+0.32540 0.36334 0.28711+0.36835 0.36666 0.28539+0.41164 0.37008 0.28361+0.45521 0.37359 0.28180+0.49903 0.37716 0.27994+0.54308 0.38080 0.27806+0.58730 0.38448 0.27615+0.63166 0.38821 0.27422+0.67612 0.39196 0.27227+0.72065 0.39574 0.27031+0.76522 0.39952 0.26835+0.09473 0.38232 0.29347+0.13599 0.38516 0.29200+0.17772 0.38814 0.29045+0.21989 0.39125 0.28884+0.26247 0.39447 0.28718+0.30542 0.39779 0.28545+0.34869 0.40121 0.28368+0.39225 0.40471 0.28187+0.43607 0.40828 0.28001+0.48010 0.41191 0.27813+0.52432 0.41560 0.27622+0.56867 0.41932 0.27429+0.61314 0.42308 0.27234+0.65767 0.42685 0.27038+0.70223 0.43063 0.26842+0.74678 0.43441 0.26646+0.79129 0.43818 0.26451+0.11483 0.41928 0.29051+0.15699 0.42238 0.28890+0.19955 0.42560 0.28724+0.24248 0.42892 0.28552+0.28574 0.43233 0.28375+0.32929 0.43583 0.28193+0.37310 0.43939 0.28008+0.41713 0.44303 0.27820+0.46134 0.44671 0.27629+0.50569 0.45043 0.27436+0.55015 0.45419 0.27241+0.59468 0.45796 0.27046+0.63924 0.46174 0.26849+0.68379 0.46553 0.26653+0.72831 0.46929 0.26458+0.77274 0.47304 0.26264+0.81706 0.47676 0.26071+0.13663 0.45673 0.28730+0.17954 0.46004 0.28558+0.22279 0.46345 0.28381+0.26634 0.46695 0.28200+0.31014 0.47051 0.28015+0.35415 0.47414 0.27827+0.39836 0.47782 0.27636+0.44270 0.48154 0.27443+0.48716 0.48530 0.27248+0.53169 0.48907 0.27053+0.57625 0.49285 0.26857+0.62080 0.49664 0.26661+0.66532 0.50041 0.26465+0.70976 0.50415 0.26271+0.75408 0.50787 0.26078+0.79825 0.51154 0.25888+0.84223 0.51516 0.25700+0.15985 0.49457 0.28388+0.20338 0.49807 0.28207+0.24717 0.50163 0.28022+0.29118 0.50526 0.27834+0.33538 0.50894 0.27643+0.37972 0.51266 0.27450+0.42417 0.51641 0.27256+0.46870 0.52018 0.27060+0.51326 0.52397 0.26864+0.55781 0.52775 0.26668+0.60233 0.53152 0.26472+0.64677 0.53527 0.26278+0.69110 0.53898 0.26085+0.73528 0.54266 0.25895+0.77927 0.54628 0.25707+0.82303 0.54984 0.25522+0.86653 0.55332 0.25342+0.18420 0.53275 0.28029+0.22821 0.53637 0.27841+0.27240 0.54005 0.27650+0.31674 0.54377 0.27457+0.36119 0.54752 0.27263+0.40571 0.55129 0.27067+0.45027 0.55508 0.26871+0.49483 0.55886 0.26675+0.53935 0.56263 0.26479+0.58379 0.56638 0.26285+0.62812 0.57010 0.26092+0.67231 0.57377 0.25902+0.71630 0.57740 0.25714+0.76008 0.58096 0.25529+0.80359 0.58444 0.25348+0.84680 0.58784 0.25172+0.88968 0.59115 0.25001+0.20942 0.57116 0.27657+0.25375 0.57488 0.27464+0.29820 0.57863 0.27270+0.34272 0.58240 0.27074+0.38728 0.58619 0.26878+0.43184 0.58997 0.26682+0.47636 0.59374 0.26487+0.52081 0.59749 0.26292+0.56514 0.60121 0.26099+0.60933 0.60489 0.25908+0.65334 0.60851 0.25721+0.69712 0.61208 0.25536+0.74064 0.61556 0.25355+0.78387 0.61897 0.25179+0.82676 0.62228 0.25007+0.86928 0.62548 0.24841+0.91139 0.62857 0.24681+0.23521 0.60974 0.27277+0.27973 0.61352 0.27082+0.32429 0.61730 0.26885+0.36885 0.62108 0.26689+0.41337 0.62485 0.26494+0.45782 0.62861 0.26299+0.50217 0.63233 0.26106+0.54636 0.63601 0.25915+0.59037 0.63963 0.25727+0.63416 0.64320 0.25543+0.67770 0.64669 0.25362+0.72093 0.65009 0.25185+0.76384 0.65341 0.25013+0.80637 0.65661 0.24847+0.84850 0.65970 0.24687+0.89018 0.66267 0.24533+0.93138 0.66550 0.24386+0.26130 0.64841 0.26893+0.30586 0.65219 0.26697+0.35038 0.65596 0.26501+0.39484 0.65972 0.26306+0.43919 0.66344 0.26113+0.48339 0.66712 0.25922+0.52741 0.67075 0.25734+0.57121 0.67432 0.25549+0.61475 0.67781 0.25368+0.65800 0.68122 0.25191+0.70091 0.68454 0.25019+0.74346 0.68775 0.24853+0.78560 0.69084 0.24692+0.82730 0.69381 0.24538+0.86852 0.69665 0.24392+0.90922 0.69933 0.24252+0.94937 0.70186 0.24121+0.28740 0.68708 0.26508+0.33186 0.69083 0.26313+0.37621 0.69455 0.26120+0.42041 0.69824 0.25929+0.46444 0.70187 0.25741+0.50825 0.70544 0.25556+0.55180 0.70893 0.25375+0.59506 0.71235 0.25198+0.63799 0.71567 0.25026+0.68055 0.71888 0.24859+0.72271 0.72198 0.24698+0.76443 0.72496 0.24544+0.80566 0.72779 0.24397+0.84638 0.73049 0.24257+0.88655 0.73302 0.24126+0.92613 0.73539 0.24003+0.96508 0.73757 0.23890+0.31323 0.72567 0.26127+0.35744 0.72935 0.25936+0.40147 0.73298 0.25748+0.44529 0.73656 0.25563+0.48885 0.74006 0.25381+0.53212 0.74347 0.25204+0.57507 0.74680 0.25032+0.61764 0.75001 0.24865+0.65982 0.75312 0.24704+0.70155 0.75610 0.24550+0.74280 0.75894 0.24402+0.78354 0.76164 0.24262+0.82373 0.76418 0.24131+0.86333 0.76655 0.24007+0.90231 0.76875 0.23894+0.94062 0.77075 0.23790+0.97823 0.77256 0.23696+0.33851 0.76410 0.25755+0.38233 0.76768 0.25570+0.42591 0.77118 0.25388+0.46919 0.77460 0.25211+0.51214 0.77792 0.25038+0.55473 0.78115 0.24871+0.59692 0.78426 0.24710+0.63867 0.78724 0.24555+0.67994 0.79009 0.24407+0.72071 0.79279 0.24267+0.76091 0.79534 0.24135+0.80054 0.79772 0.24012+0.83953 0.79992 0.23898+0.87787 0.80193 0.23793+0.91550 0.80375 0.23699+0.95240 0.80535 0.23616+0.98853 0.80674 0.23544+0.02614 0.17532 0.33483+0.05932 0.17587 0.33455+0.09341 0.17668 0.33413+0.12837 0.17773 0.33358+0.16415 0.17902 0.33292+0.20072 0.18053 0.33213+0.23804 0.18226 0.33124+0.27608 0.18419 0.33024+0.31479 0.18631 0.32914+0.35415 0.18861 0.32794+0.39411 0.19109 0.32666+0.43464 0.19373 0.32529+0.47569 0.19651 0.32385+0.51724 0.19944 0.32233+0.55925 0.20250 0.32074+0.60167 0.20567 0.31910+0.64447 0.20895 0.31739+0.03079 0.20790 0.33415+0.06571 0.20894 0.33361+0.10146 0.21022 0.33294+0.13801 0.21172 0.33216+0.17530 0.21344 0.33127+0.21331 0.21536 0.33027+0.25201 0.21748 0.32918+0.29134 0.21978 0.32799+0.33128 0.22225 0.32671+0.37179 0.22488 0.32534+0.41282 0.22766 0.32390+0.45436 0.23058 0.32238+0.49634 0.23363 0.32080+0.53875 0.23680 0.31916+0.58154 0.24008 0.31746+0.62467 0.24346 0.31571+0.66811 0.24692 0.31391+0.03878 0.24142 0.33297+0.07530 0.24291 0.33219+0.11257 0.24462 0.33131+0.15055 0.24654 0.33031+0.18922 0.24865 0.32922+0.22853 0.25094 0.32803+0.26845 0.25340 0.32675+0.30894 0.25603 0.32539+0.34995 0.25880 0.32395+0.39147 0.26172 0.32244+0.43344 0.26477 0.32086+0.47583 0.26793 0.31922+0.51861 0.27121 0.31752+0.56173 0.27458 0.31577+0.60516 0.27805 0.31398+0.64886 0.28158 0.31214+0.69280 0.28519 0.31027+0.04983 0.27581 0.33134+0.08779 0.27771 0.33035+0.12644 0.27982 0.32926+0.16572 0.28210 0.32808+0.20562 0.28456 0.32680+0.24609 0.28718 0.32545+0.28709 0.28995 0.32401+0.32858 0.29286 0.32250+0.37054 0.29590 0.32092+0.41292 0.29907 0.31928+0.45568 0.30234 0.31758+0.49879 0.30571 0.31584+0.54221 0.30917 0.31404+0.58590 0.31270 0.31221+0.62983 0.31631 0.31034+0.67396 0.31997 0.30844+0.71824 0.32367 0.30652+0.06365 0.31099 0.32930+0.10292 0.31326 0.32812+0.14279 0.31571 0.32685+0.18324 0.31833 0.32550+0.22422 0.32109 0.32406+0.26570 0.32400 0.32256+0.30764 0.32704 0.32098+0.35000 0.33020 0.31934+0.39275 0.33347 0.31765+0.43584 0.33683 0.31590+0.47925 0.34029 0.31411+0.52294 0.34382 0.31228+0.56686 0.34742 0.31041+0.61098 0.35108 0.30851+0.65526 0.35479 0.30659+0.69967 0.35853 0.30465+0.74417 0.36229 0.30270+0.07996 0.34687 0.32690+0.12039 0.34948 0.32555+0.16135 0.35224 0.32412+0.20281 0.35514 0.32261+0.24474 0.35817 0.32104+0.28708 0.36133 0.31940+0.32982 0.36459 0.31771+0.37290 0.36796 0.31597+0.41630 0.37141 0.31418+0.45998 0.37494 0.31235+0.50389 0.37854 0.31048+0.54800 0.38220 0.30858+0.59228 0.38590 0.30666+0.63669 0.38964 0.30473+0.68118 0.39340 0.30277+0.72573 0.39718 0.30081+0.77029 0.40096 0.29885+0.09849 0.38339 0.32417+0.13993 0.38628 0.32267+0.18184 0.38931 0.32110+0.22417 0.39246 0.31946+0.26689 0.39572 0.31777+0.30996 0.39908 0.31603+0.35335 0.40253 0.31424+0.39701 0.40606 0.31241+0.44092 0.40966 0.31055+0.48503 0.41331 0.30865+0.52930 0.41701 0.30673+0.57370 0.42075 0.30480+0.61819 0.42451 0.30285+0.66274 0.42829 0.30089+0.70730 0.43208 0.29892+0.75184 0.43585 0.29696+0.79633 0.43961 0.29501+0.11894 0.42045 0.32116+0.16125 0.42359 0.31953+0.20396 0.42685 0.31784+0.24702 0.43021 0.31610+0.29040 0.43365 0.31431+0.33405 0.43718 0.31248+0.37795 0.44077 0.31062+0.42205 0.44442 0.30872+0.46632 0.44812 0.30681+0.51071 0.45186 0.30487+0.55520 0.45562 0.30292+0.59975 0.45940 0.30096+0.64431 0.46319 0.29900+0.68886 0.46696 0.29704+0.73334 0.47073 0.29509+0.77774 0.47446 0.29315+0.82200 0.47816 0.29123+0.14103 0.45798 0.31790+0.18408 0.46133 0.31616+0.22745 0.46477 0.31438+0.27109 0.46830 0.31255+0.31498 0.47189 0.31069+0.35907 0.47554 0.30879+0.40334 0.47924 0.30688+0.44773 0.48297 0.30494+0.49222 0.48674 0.30299+0.53676 0.49051 0.30103+0.58132 0.49430 0.29907+0.62587 0.49808 0.29711+0.67036 0.50184 0.29516+0.71476 0.50558 0.29322+0.75903 0.50928 0.29130+0.80313 0.51293 0.28941+0.84703 0.51652 0.28754+0.16450 0.49590 0.31444+0.20813 0.49942 0.31262+0.25201 0.50301 0.31076+0.29610 0.50665 0.30886+0.34035 0.51035 0.30695+0.38474 0.51408 0.30501+0.42923 0.51785 0.30306+0.47377 0.52162 0.30110+0.51833 0.52541 0.29914+0.56288 0.52919 0.29718+0.60737 0.53295 0.29523+0.65178 0.53669 0.29329+0.69605 0.54039 0.29137+0.74016 0.54405 0.28948+0.78407 0.54764 0.28761+0.82774 0.55117 0.28578+0.87113 0.55462 0.28399+0.18904 0.53412 0.31083+0.23312 0.53777 0.30893+0.27737 0.54146 0.30702+0.32176 0.54520 0.30508+0.36624 0.54896 0.30313+0.41078 0.55273 0.30117+0.45534 0.55652 0.29921+0.49989 0.56030 0.29725+0.54439 0.56406 0.29530+0.58879 0.56780 0.29336+0.63307 0.57151 0.29144+0.67719 0.57516 0.28955+0.72111 0.57876 0.28768+0.76478 0.58229 0.28585+0.80819 0.58575 0.28406+0.85128 0.58911 0.28231+0.89402 0.59238 0.28062+0.21439 0.57258 0.30709+0.25877 0.57631 0.30515+0.30325 0.58007 0.30321+0.34779 0.58385 0.30125+0.39235 0.58763 0.29928+0.43690 0.59141 0.29732+0.48140 0.59517 0.29537+0.52581 0.59892 0.29343+0.57010 0.60262 0.29151+0.61422 0.60628 0.28961+0.65814 0.60988 0.28775+0.70183 0.61342 0.28591+0.74524 0.61687 0.28412+0.78835 0.62024 0.28238+0.83110 0.62351 0.28068+0.87347 0.62667 0.27904+0.91541 0.62971 0.27747+0.24026 0.61118 0.30328+0.28480 0.61496 0.30132+0.32936 0.61874 0.29936+0.37391 0.62252 0.29740+0.41842 0.62629 0.29544+0.46283 0.63003 0.29350+0.50712 0.63373 0.29158+0.55125 0.63739 0.28968+0.59518 0.64100 0.28782+0.63888 0.64454 0.28598+0.68230 0.64800 0.28419+0.72542 0.65137 0.28244+0.76818 0.65464 0.28074+0.81057 0.65781 0.27910+0.85253 0.66085 0.27752+0.89403 0.66376 0.27601+0.93504 0.66654 0.27457+0.26637 0.64985 0.29943+0.31093 0.65363 0.29747+0.35543 0.65740 0.29552+0.39985 0.66114 0.29358+0.44414 0.66485 0.29165+0.48828 0.66851 0.28975+0.53222 0.67212 0.28788+0.57593 0.67566 0.28605+0.61936 0.67912 0.28425+0.66249 0.68250 0.28250+0.70527 0.68577 0.28080+0.74766 0.68894 0.27916+0.78964 0.69199 0.27758+0.83116 0.69491 0.27607+0.87219 0.69769 0.27463+0.91268 0.70031 0.27326+0.95261 0.70278 0.27198+0.29244 0.68851 0.29559+0.33687 0.69225 0.29365+0.38117 0.69596 0.29172+0.42531 0.69963 0.28982+0.46926 0.70324 0.28795+0.51297 0.70678 0.28611+0.55642 0.71024 0.28432+0.59955 0.71362 0.28257+0.64235 0.71690 0.28086+0.68476 0.72008 0.27922+0.72675 0.72313 0.27764+0.76829 0.72605 0.27612+0.80934 0.72884 0.27468+0.84985 0.73147 0.27331+0.88980 0.73394 0.27203+0.92914 0.73624 0.27084+0.96784 0.73836 0.26974+0.31819 0.72708 0.29179+0.36234 0.73074 0.28989+0.40629 0.73435 0.28802+0.45002 0.73790 0.28618+0.49347 0.74137 0.28438+0.53662 0.74475 0.28263+0.57943 0.74804 0.28093+0.62186 0.75121 0.27928+0.66387 0.75427 0.27769+0.70542 0.75720 0.27617+0.74649 0.75999 0.27473+0.78702 0.76263 0.27336+0.82699 0.76510 0.27208+0.86635 0.76741 0.27088+0.90508 0.76954 0.26978+0.94313 0.77147 0.26878+0.98046 0.77320 0.26788+0.34333 0.76547 0.28809+0.38706 0.76902 0.28625+0.43053 0.77249 0.28445+0.47369 0.77588 0.28269+0.51651 0.77917 0.28099+0.55895 0.78235 0.27934+0.60098 0.78541 0.27775+0.64255 0.78834 0.27623+0.68363 0.79114 0.27478+0.72419 0.79378 0.27341+0.76418 0.79627 0.27212+0.80357 0.79858 0.27092+0.84232 0.80071 0.26982+0.88039 0.80265 0.26881+0.91775 0.80439 0.26791+0.95436 0.80591 0.26712+0.99018 0.80721 0.26645+0.02677 0.17550 0.36599+0.06030 0.17615 0.36565+0.09472 0.17705 0.36519+0.13000 0.17820 0.36459+0.16608 0.17957 0.36388+0.20294 0.18117 0.36305+0.24054 0.18297 0.36212+0.27884 0.18497 0.36108+0.31781 0.18717 0.35994+0.35740 0.18954 0.35871+0.39758 0.19208 0.35740+0.43832 0.19477 0.35600+0.47956 0.19761 0.35452+0.52129 0.20059 0.35298+0.56346 0.20369 0.35137+0.60603 0.20691 0.34970+0.64897 0.21023 0.34798+0.03209 0.20827 0.36520+0.06733 0.20940 0.36462+0.10339 0.21077 0.36391+0.14022 0.21235 0.36309+0.17780 0.21415 0.36215+0.21607 0.21615 0.36112+0.25501 0.21833 0.35998+0.29458 0.22070 0.35876+0.33474 0.22323 0.35745+0.37546 0.22592 0.35605+0.41669 0.22876 0.35458+0.45840 0.23173 0.35304+0.50055 0.23483 0.35143+0.54311 0.23804 0.34977+0.58603 0.24136 0.34805+0.62929 0.24477 0.34628+0.67283 0.24827 0.34446+0.04070 0.24196 0.36394+0.07751 0.24354 0.36312+0.11505 0.24533 0.36219+0.15330 0.24732 0.36116+0.19222 0.24950 0.36003+0.23177 0.25186 0.35881+0.27191 0.25438 0.35750+0.31260 0.25707 0.35610+0.35381 0.25990 0.35464+0.39550 0.26287 0.35310+0.43764 0.26596 0.35149+0.48018 0.26917 0.34983+0.52310 0.27249 0.34811+0.56634 0.27589 0.34634+0.60988 0.27939 0.34453+0.65367 0.28295 0.34268+0.69769 0.28658 0.34080+0.05231 0.27651 0.36223+0.09053 0.27849 0.36120+0.12943 0.28067 0.36007+0.16895 0.28302 0.35885+0.20907 0.28554 0.35755+0.24974 0.28822 0.35616+0.29094 0.29104 0.35469+0.33261 0.29401 0.35315+0.37473 0.29710 0.35155+0.41726 0.30030 0.34989+0.46016 0.30361 0.34817+0.50339 0.30702 0.34641+0.54692 0.31051 0.34460+0.59071 0.31407 0.34275+0.63472 0.31770 0.34087+0.67891 0.32137 0.33896+0.72325 0.32509 0.33703+0.06663 0.31183 0.36011+0.10614 0.31418 0.35890+0.14623 0.31669 0.35759+0.18689 0.31937 0.35621+0.22806 0.32219 0.35475+0.26972 0.32514 0.35321+0.31183 0.32823 0.35161+0.35434 0.33143 0.34995+0.39723 0.33474 0.34824+0.44045 0.33814 0.34647+0.48396 0.34163 0.34467+0.52774 0.34519 0.34282+0.57174 0.34881 0.34094+0.61593 0.35249 0.33903+0.66027 0.35621 0.33711+0.70471 0.35996 0.33516+0.74924 0.36373 0.33320+0.08340 0.34785 0.35764+0.12403 0.35051 0.35626+0.16519 0.35333 0.35480+0.20683 0.35628 0.35327+0.24892 0.35936 0.35167+0.29142 0.36256 0.35001+0.33429 0.36586 0.34830+0.37750 0.36926 0.34654+0.42101 0.37275 0.34473+0.46478 0.37631 0.34289+0.50877 0.37993 0.34101+0.55295 0.38360 0.33910+0.59728 0.38732 0.33718+0.64173 0.39107 0.33523+0.68625 0.39484 0.33328+0.73080 0.39862 0.33132+0.77536 0.40241 0.32935+0.10231 0.38447 0.35486+0.14394 0.38742 0.35333+0.18601 0.39050 0.35173+0.22850 0.39369 0.35008+0.27136 0.39699 0.34837+0.31455 0.40039 0.34661+0.35805 0.40387 0.34480+0.40181 0.40742 0.34296+0.44580 0.41104 0.34108+0.48997 0.41472 0.33917+0.53430 0.41843 0.33725+0.57874 0.42218 0.33530+0.62326 0.42595 0.33335+0.66781 0.42973 0.33139+0.71237 0.43352 0.32943+0.75690 0.43729 0.32747+0.80135 0.44104 0.32552+0.12311 0.42163 0.35179+0.16558 0.42482 0.35014+0.20842 0.42812 0.34843+0.25161 0.43151 0.34667+0.29510 0.43499 0.34487+0.33885 0.43854 0.34303+0.38283 0.44216 0.34115+0.42700 0.44583 0.33925+0.47132 0.44955 0.33732+0.51575 0.45329 0.33538+0.56027 0.45706 0.33342+0.60483 0.46085 0.33146+0.64939 0.46463 0.32950+0.69391 0.46840 0.32754+0.73837 0.47215 0.32560+0.78272 0.47588 0.32367+0.82692 0.47956 0.32176+0.14549 0.45924 0.34849+0.18866 0.46263 0.34674+0.23214 0.46611 0.34493+0.27588 0.46966 0.34309+0.31985 0.47327 0.34122+0.36402 0.47694 0.33932+0.40833 0.48066 0.33739+0.45277 0.48440 0.33545+0.49728 0.48817 0.33349+0.54184 0.49196 0.33153+0.58640 0.49574 0.32957+0.63093 0.49951 0.32761+0.67539 0.50327 0.32567+0.71974 0.50699 0.32374+0.76395 0.51068 0.32183+0.80798 0.51431 0.31994+0.85179 0.51788 0.31809+0.16919 0.49723 0.34500+0.21292 0.50078 0.34316+0.25688 0.50439 0.34129+0.30104 0.50806 0.33939+0.34535 0.51177 0.33746+0.38978 0.51552 0.33552+0.43429 0.51929 0.33357+0.47885 0.52307 0.33160+0.52341 0.52685 0.32964+0.56794 0.53062 0.32769+0.61240 0.53438 0.32574+0.65676 0.53811 0.32381+0.70098 0.54179 0.32190+0.74501 0.54542 0.32001+0.78883 0.54900 0.31816+0.83240 0.55250 0.31634+0.87568 0.55592 0.31457+0.19391 0.53551 0.34136+0.23806 0.53917 0.33946+0.28237 0.54288 0.33753+0.32679 0.54663 0.33559+0.37130 0.55040 0.33364+0.41586 0.55418 0.33168+0.46042 0.55796 0.32971+0.50495 0.56174 0.32776+0.54942 0.56549 0.32581+0.59378 0.56922 0.32388+0.63800 0.57291 0.32197+0.68205 0.57654 0.32008+0.72587 0.58012 0.31823+0.76945 0.58362 0.31641+0.81274 0.58704 0.31464+0.85570 0.59037 0.31291+0.89830 0.59359 0.31124+0.21938 0.57400 0.33760+0.26381 0.57774 0.33566+0.30831 0.58151 0.33371+0.35287 0.58529 0.33175+0.39743 0.58907 0.32979+0.44196 0.59285 0.32783+0.48643 0.59660 0.32588+0.53080 0.60033 0.32395+0.57503 0.60402 0.32204+0.61908 0.60766 0.32015+0.66292 0.61124 0.31829+0.70650 0.61474 0.31648+0.74980 0.61817 0.31470+0.79278 0.62150 0.31297+0.83539 0.62473 0.31130+0.87760 0.62784 0.30968+0.91937 0.63083 0.30813+0.24532 0.61262 0.33378+0.28988 0.61640 0.33182+0.33444 0.62018 0.32986+0.37897 0.62396 0.32790+0.42345 0.62772 0.32595+0.46782 0.63145 0.32402+0.51205 0.63514 0.32211+0.55611 0.63878 0.32022+0.59996 0.64236 0.31836+0.64355 0.64587 0.31654+0.68686 0.64929 0.31476+0.72985 0.65263 0.31304+0.77247 0.65586 0.31136+0.81470 0.65898 0.30974+0.85649 0.66198 0.30819+0.89781 0.66484 0.30670+0.93862 0.66755 0.30530+0.27145 0.65129 0.32993+0.31599 0.65507 0.32797+0.36046 0.65883 0.32602+0.40484 0.66256 0.32409+0.44908 0.66625 0.32218+0.49314 0.66989 0.32029+0.53700 0.67348 0.31843+0.58060 0.67699 0.31661+0.62393 0.68042 0.31483+0.66692 0.68376 0.31310+0.70956 0.68699 0.31142+0.75180 0.69012 0.30980+0.79361 0.69312 0.30824+0.83495 0.69599 0.30676+0.87578 0.69871 0.30535+0.91606 0.70127 0.30402+0.95576 0.70368 0.30277+0.29748 0.68994 0.32610+0.34186 0.69367 0.32416+0.38610 0.69737 0.32225+0.43018 0.70101 0.32036+0.47404 0.70460 0.31850+0.51766 0.70811 0.31667+0.56099 0.71154 0.31489+0.60400 0.71489 0.31316+0.64665 0.71813 0.31148+0.68891 0.72126 0.30986+0.73073 0.72426 0.30830+0.77209 0.72713 0.30681+0.81293 0.72986 0.30540+0.85324 0.73243 0.30406+0.89296 0.73484 0.30281+0.93206 0.73707 0.30166+0.97050 0.73912 0.30060+0.32313 0.72848 0.32232+0.36721 0.73213 0.32042+0.41108 0.73571 0.31856+0.45470 0.73923 0.31674+0.49805 0.74267 0.31496+0.54107 0.74602 0.31322+0.58374 0.74926 0.31154+0.62601 0.75239 0.30992+0.66785 0.75540 0.30836+0.70922 0.75828 0.30686+0.75009 0.76101 0.30545+0.79041 0.76359 0.30411+0.83016 0.76600 0.30286+0.86928 0.76824 0.30170+0.90775 0.77030 0.30063+0.94553 0.77215 0.29967+0.98258 0.77380 0.29882+0.34812 0.76683 0.31863+0.39175 0.77035 0.31681+0.43511 0.77379 0.31502+0.47814 0.77714 0.31329+0.52083 0.78039 0.31160+0.56311 0.78353 0.30998+0.60497 0.78654 0.30841+0.64636 0.78943 0.30692+0.68725 0.79216 0.30550+0.72759 0.79475 0.30416+0.76735 0.79717 0.30290+0.80650 0.79941 0.30174+0.84500 0.80147 0.30067+0.88280 0.80334 0.29971+0.91988 0.80499 0.29885+0.95619 0.80643 0.29810+0.99170 0.80764 0.29747+0.02753 0.17572 0.39713+0.06141 0.17647 0.39674+0.09616 0.17746 0.39622+0.13175 0.17869 0.39558+0.16813 0.18015 0.39483+0.20528 0.18183 0.39396+0.24315 0.18371 0.39298+0.28171 0.18579 0.39191+0.32092 0.18805 0.39073+0.36074 0.19049 0.38947+0.40113 0.19309 0.38812+0.44207 0.19584 0.38670+0.48350 0.19873 0.38519+0.52540 0.20176 0.38362+0.56773 0.20491 0.38199+0.61044 0.20817 0.38030+0.65351 0.21152 0.37856+0.03352 0.20867 0.39625+0.06907 0.20989 0.39561+0.10543 0.21135 0.39486+0.14255 0.21301 0.39399+0.18040 0.21489 0.39302+0.21893 0.21696 0.39195+0.25811 0.21921 0.39078+0.29791 0.22164 0.38952+0.33829 0.22424 0.38817+0.37920 0.22698 0.38675+0.42062 0.22987 0.38525+0.46250 0.23290 0.38368+0.50481 0.23604 0.38205+0.54752 0.23929 0.38037+0.59057 0.24265 0.37863+0.63394 0.24609 0.37684+0.67759 0.24962 0.37501+0.04273 0.24254 0.39489+0.07982 0.24420 0.39403+0.11764 0.24607 0.39306+0.15615 0.24813 0.39199+0.19531 0.25038 0.39082+0.23509 0.25280 0.38957+0.27544 0.25539 0.38822+0.31634 0.25813 0.38680+0.35774 0.26102 0.38531+0.39960 0.26403 0.38374+0.44190 0.26717 0.38211+0.48459 0.27042 0.38043+0.52763 0.27377 0.37869+0.57099 0.27722 0.37691+0.61463 0.28074 0.37508+0.65852 0.28433 0.37322+0.70261 0.28798 0.37133+0.05489 0.27724 0.39310+0.09337 0.27930 0.39203+0.13251 0.28154 0.39087+0.17226 0.28396 0.38961+0.21260 0.28654 0.38828+0.25347 0.28928 0.38686+0.29486 0.29216 0.38536+0.33671 0.29517 0.38380+0.37899 0.29830 0.38218+0.42166 0.30155 0.38049+0.46469 0.30490 0.37876+0.50804 0.30834 0.37697+0.55167 0.31186 0.37515+0.59555 0.31545 0.37329+0.63963 0.31909 0.37140+0.68389 0.32279 0.36948+0.72827 0.32652 0.36754+0.06971 0.31271 0.39091+0.10944 0.31512 0.38966+0.14975 0.31769 0.38833+0.19061 0.32042 0.38691+0.23198 0.32330 0.38542+0.27381 0.32631 0.38386+0.31607 0.32944 0.38224+0.35873 0.33268 0.38055+0.40175 0.33602 0.37882+0.44509 0.33946 0.37704+0.48871 0.34298 0.37522+0.53258 0.34656 0.37336+0.57666 0.35021 0.37147+0.62090 0.35390 0.36955+0.66529 0.35763 0.36762+0.70977 0.36139 0.36567+0.75431 0.36517 0.36371+0.08691 0.34885 0.38838+0.12775 0.35157 0.38696+0.16909 0.35444 0.38548+0.21091 0.35744 0.38392+0.25316 0.36057 0.38230+0.29581 0.36381 0.38062+0.33881 0.36715 0.37889+0.38214 0.37058 0.37711+0.42575 0.37410 0.37528+0.46961 0.37768 0.37343+0.51368 0.38132 0.37154+0.55792 0.38502 0.36962+0.60230 0.38875 0.36769+0.64678 0.39251 0.36574+0.69132 0.39628 0.36378+0.73588 0.40007 0.36182+0.78043 0.40385 0.35986+0.10621 0.38558 0.38553+0.14801 0.38858 0.38398+0.19025 0.39170 0.38236+0.23288 0.39494 0.38068+0.27587 0.39827 0.37895+0.31919 0.40170 0.37717+0.36279 0.40521 0.37535+0.40664 0.40880 0.37349+0.45071 0.41244 0.37161+0.49494 0.41613 0.36969+0.53932 0.41986 0.36776+0.58379 0.42362 0.36581+0.62833 0.42739 0.36385+0.67289 0.43118 0.36189+0.71744 0.43496 0.35993+0.76194 0.43872 0.35798+0.80636 0.44247 0.35604+0.12734 0.42284 0.38242+0.16996 0.42607 0.38074+0.21294 0.42940 0.37901+0.25624 0.43283 0.37724+0.29983 0.43633 0.37542+0.34368 0.43991 0.37356+0.38773 0.44355 0.37168+0.43196 0.44724 0.36976+0.47633 0.45097 0.36783+0.52080 0.45473 0.36588+0.56534 0.45850 0.36392+0.60990 0.46229 0.36196+0.65445 0.46607 0.36000+0.69896 0.46984 0.35805+0.74338 0.47358 0.35611+0.78768 0.47729 0.35418+0.83182 0.48095 0.35228+0.15000 0.46053 0.37908+0.19329 0.46395 0.37730+0.23688 0.46745 0.37549+0.28071 0.47103 0.37363+0.32476 0.47467 0.37175+0.36898 0.47836 0.36983+0.41335 0.48208 0.36790+0.45782 0.48584 0.36595+0.50235 0.48962 0.36400+0.54691 0.49340 0.36203+0.59146 0.49718 0.36007+0.63597 0.50095 0.35812+0.68040 0.50469 0.35618+0.72470 0.50840 0.35425+0.76885 0.51207 0.35235+0.81280 0.51568 0.35048+0.85652 0.51922 0.34865+0.17392 0.49857 0.37555+0.21774 0.50215 0.37370+0.26178 0.50578 0.37182+0.30600 0.50947 0.36990+0.35036 0.51320 0.36797+0.39483 0.51695 0.36603+0.43936 0.52073 0.36407+0.48392 0.52451 0.36211+0.52848 0.52829 0.36015+0.57299 0.53206 0.35819+0.61741 0.53580 0.35625+0.66172 0.53952 0.35433+0.70587 0.54318 0.35242+0.74983 0.54679 0.35055+0.79356 0.55034 0.34871+0.83702 0.55381 0.34691+0.88018 0.55719 0.34516+0.19881 0.53690 0.37189+0.24302 0.54058 0.36998+0.28738 0.54431 0.36804+0.33184 0.54806 0.36610+0.37637 0.55184 0.36414+0.42093 0.55562 0.36218+0.46549 0.55940 0.36022+0.51000 0.56317 0.35826+0.55443 0.56692 0.35632+0.59874 0.57063 0.35440+0.64290 0.57430 0.35249+0.68687 0.57791 0.35062+0.73061 0.58146 0.34878+0.77408 0.58494 0.34698+0.81724 0.58832 0.34522+0.86007 0.59161 0.34352+0.90252 0.59479 0.34187+0.22439 0.57542 0.36812+0.26885 0.57917 0.36617+0.31338 0.58295 0.36421+0.35794 0.58673 0.36225+0.40250 0.59051 0.36029+0.44701 0.59428 0.35834+0.49145 0.59803 0.35639+0.53577 0.60174 0.35447+0.57993 0.60541 0.35256+0.62391 0.60903 0.35069+0.66765 0.61258 0.34885+0.71113 0.61606 0.34704+0.75431 0.61945 0.34529+0.79715 0.62274 0.34358+0.83961 0.62593 0.34193+0.88166 0.62900 0.34033+0.92326 0.63194 0.33881+0.25039 0.61406 0.36428+0.29495 0.61784 0.36232+0.33951 0.62162 0.36036+0.38403 0.62539 0.35841+0.42846 0.62914 0.35646+0.47279 0.63286 0.35454+0.51696 0.63653 0.35263+0.56094 0.64015 0.35076+0.60470 0.64370 0.34891+0.64819 0.64718 0.34711+0.69138 0.65058 0.34535+0.73423 0.65387 0.34364+0.77671 0.65706 0.34199+0.81877 0.66014 0.34039+0.86039 0.66308 0.33886+0.90152 0.66589 0.33741+0.94212 0.66855 0.33603+0.27652 0.65273 0.36043+0.32104 0.65651 0.35848+0.36548 0.66025 0.35653+0.40981 0.66397 0.35461+0.45399 0.66765 0.35270+0.49798 0.67127 0.35082+0.54174 0.67482 0.34898+0.58524 0.67831 0.34717+0.62845 0.68170 0.34541+0.67131 0.68500 0.34370+0.71380 0.68820 0.34204+0.75588 0.69128 0.34045+0.79752 0.69423 0.33892+0.83866 0.69704 0.33746+0.87929 0.69971 0.33608+0.91935 0.70221 0.33478+0.95882 0.70455 0.33357+0.30250 0.69137 0.35661+0.34683 0.69509 0.35468+0.39101 0.69876 0.35277+0.43501 0.70238 0.35089+0.47878 0.70594 0.34905+0.52230 0.70943 0.34724+0.56551 0.71283 0.34548+0.60839 0.71613 0.34376+0.65090 0.71933 0.34210+0.69299 0.72242 0.34051+0.73464 0.72537 0.33897+0.77581 0.72819 0.33751+0.81645 0.73086 0.33613+0.85654 0.73337 0.33483+0.89603 0.73571 0.33361+0.93488 0.73787 0.33249+0.97307 0.73985 0.33147+0.32804 0.72988 0.35284+0.37205 0.73350 0.35096+0.41583 0.73706 0.34911+0.45935 0.74055 0.34731+0.50258 0.74396 0.34554+0.54547 0.74726 0.34383+0.58799 0.75047 0.34216+0.63010 0.75356 0.34056+0.67177 0.75652 0.33903+0.71295 0.75934 0.33757+0.75362 0.76201 0.33618+0.79372 0.76453 0.33487+0.83323 0.76688 0.33366+0.87211 0.76905 0.33253+0.91033 0.77103 0.33150+0.94783 0.77280 0.33058+0.98459 0.77437 0.32977+0.35287 0.76818 0.34918+0.39640 0.77168 0.34737+0.43964 0.77508 0.34561+0.48255 0.77839 0.34389+0.52508 0.78160 0.34222+0.56721 0.78469 0.34062+0.60889 0.78766 0.33908+0.65009 0.79049 0.33762+0.69078 0.79317 0.33623+0.73091 0.79569 0.33492+0.77044 0.79805 0.33370+0.80934 0.80022 0.33257+0.84758 0.80221 0.33154+0.88511 0.80399 0.33061+0.92190 0.80557 0.32980+0.95791 0.80692 0.32910+0.99311 0.80804 0.32852+0.02843 0.17597 0.42824+0.06264 0.17682 0.42781+0.09772 0.17790 0.42724+0.13361 0.17922 0.42656+0.17029 0.18077 0.42576+0.20772 0.18252 0.42485+0.24586 0.18448 0.42383+0.28467 0.18663 0.42272+0.32412 0.18896 0.42151+0.36416 0.19146 0.42022+0.40477 0.19412 0.41884+0.44590 0.19693 0.41738+0.48751 0.19987 0.41585+0.52958 0.20295 0.41426+0.57206 0.20614 0.41260+0.61491 0.20944 0.41089+0.65810 0.21283 0.40913+0.03506 0.20911 0.42727+0.07093 0.21042 0.42659+0.10758 0.21196 0.42579+0.14498 0.21371 0.42488+0.18309 0.21566 0.42387+0.22188 0.21780 0.42276+0.26130 0.22012 0.42156+0.30133 0.22261 0.42027+0.34191 0.22527 0.41889+0.38302 0.22807 0.41744+0.42462 0.23101 0.41591+0.46667 0.23408 0.41432+0.50914 0.23727 0.41267+0.55198 0.24056 0.41096+0.59516 0.24395 0.40920+0.63864 0.24743 0.40740+0.68239 0.25098 0.40556+0.04487 0.24315 0.42582+0.08224 0.24489 0.42492+0.12033 0.24683 0.42391+0.15909 0.24897 0.42281+0.19849 0.25128 0.42160+0.23849 0.25377 0.42031+0.27906 0.25642 0.41894+0.32015 0.25921 0.41749+0.36173 0.26215 0.41597+0.40377 0.26522 0.41438+0.44622 0.26840 0.41273+0.48904 0.27169 0.41102+0.53221 0.27508 0.40927+0.57568 0.27855 0.40746+0.61942 0.28210 0.40562+0.66339 0.28571 0.40375+0.70755 0.28938 0.40185+0.05756 0.27801 0.42395+0.09630 0.28013 0.42285+0.13568 0.28244 0.42165+0.17566 0.28492 0.42036+0.21621 0.28757 0.41899+0.25728 0.29036 0.41755+0.29885 0.29329 0.41603+0.34086 0.29635 0.41444+0.38330 0.29953 0.41279+0.42611 0.30282 0.41109+0.46927 0.30620 0.40933+0.51273 0.30967 0.40753+0.55646 0.31322 0.40569+0.60042 0.31683 0.40382+0.64457 0.32050 0.40192+0.68888 0.32421 0.39999+0.73331 0.32795 0.39805+0.07287 0.31361 0.42170+0.11283 0.31608 0.42041+0.15336 0.31872 0.41905+0.19441 0.32150 0.41760+0.23596 0.32443 0.41608+0.27796 0.32749 0.41450+0.32038 0.33066 0.41285+0.36318 0.33394 0.41115+0.40633 0.33732 0.40940+0.44978 0.34079 0.40760+0.49350 0.34434 0.40576+0.53745 0.34795 0.40389+0.58159 0.35161 0.40199+0.62590 0.35532 0.40007+0.67032 0.35907 0.39812+0.71483 0.36283 0.39617+0.75938 0.36661 0.39421+0.09050 0.34987 0.41910+0.13154 0.35265 0.41765+0.17307 0.35557 0.41614+0.21506 0.35862 0.41456+0.25746 0.36179 0.41291+0.30025 0.36507 0.41121+0.34338 0.36845 0.40946+0.38682 0.37191 0.40767+0.43053 0.37545 0.40583+0.47448 0.37906 0.40396+0.51862 0.38273 0.40206+0.56292 0.38643 0.40014+0.60734 0.39018 0.39820+0.65184 0.39394 0.39624+0.69639 0.39772 0.39428+0.74096 0.40151 0.39232+0.78549 0.40528 0.39036+0.11018 0.38671 0.41620+0.15215 0.38976 0.41462+0.19454 0.39292 0.41298+0.23732 0.39620 0.41128+0.28044 0.39957 0.40953+0.32387 0.40303 0.40773+0.36757 0.40657 0.40590+0.41151 0.41018 0.40403+0.45564 0.41384 0.40213+0.49993 0.41755 0.40021+0.54435 0.42129 0.39827+0.58885 0.42506 0.39631+0.63340 0.42884 0.39435+0.67797 0.43262 0.39239+0.72250 0.43640 0.39043+0.76698 0.44015 0.38849+0.81135 0.44388 0.38655+0.13163 0.42405 0.41304+0.17439 0.42733 0.41134+0.21750 0.43070 0.40959+0.26092 0.43415 0.40780+0.30461 0.43769 0.40597+0.34854 0.44129 0.40410+0.39266 0.44495 0.40220+0.43695 0.44866 0.40028+0.48136 0.45240 0.39834+0.52586 0.45617 0.39639+0.57041 0.45995 0.39443+0.61498 0.46373 0.39246+0.65951 0.46751 0.39051+0.70399 0.47127 0.38856+0.74837 0.47500 0.38662+0.79261 0.47869 0.38471+0.83668 0.48233 0.38282+0.15455 0.46182 0.40966+0.19796 0.46528 0.40787+0.24165 0.46881 0.40603+0.28557 0.47241 0.40417+0.32969 0.47607 0.40227+0.37397 0.47977 0.40035+0.41838 0.48351 0.39841+0.46287 0.48728 0.39646+0.50742 0.49106 0.39450+0.55199 0.49484 0.39254+0.59653 0.49862 0.39058+0.64101 0.50238 0.38863+0.68539 0.50611 0.38669+0.72964 0.50980 0.38478+0.77371 0.51345 0.38289+0.81758 0.51704 0.38103+0.86120 0.52055 0.37920+0.17868 0.49993 0.40610+0.22260 0.50353 0.40424+0.26671 0.50718 0.40234+0.31099 0.51089 0.40042+0.35539 0.51462 0.39848+0.39989 0.51839 0.39653+0.44443 0.52217 0.39457+0.48900 0.52595 0.39261+0.53354 0.52973 0.39065+0.57802 0.53349 0.38870+0.62241 0.53722 0.38676+0.66666 0.54092 0.38485+0.71074 0.54457 0.38296+0.75462 0.54816 0.38110+0.79825 0.55167 0.37927+0.84160 0.55511 0.37749+0.88463 0.55846 0.37575+0.20373 0.53830 0.40241+0.24800 0.54200 0.40049+0.29241 0.54574 0.39855+0.33690 0.54950 0.39660+0.38144 0.55328 0.39464+0.42601 0.55706 0.39268+0.47055 0.56084 0.39072+0.51504 0.56460 0.38877+0.55943 0.56834 0.38683+0.60369 0.57203 0.38492+0.64778 0.57568 0.38303+0.69166 0.57927 0.38116+0.73530 0.58280 0.37934+0.77866 0.58624 0.37755+0.82170 0.58959 0.37582+0.86439 0.59284 0.37413+0.90668 0.59598 0.37250+0.22942 0.57685 0.39862+0.27391 0.58061 0.39667+0.31845 0.58439 0.39471+0.36302 0.58817 0.39275+0.40756 0.59195 0.39079+0.45205 0.59571 0.38884+0.49645 0.59945 0.38691+0.54071 0.60315 0.38499+0.58481 0.60680 0.38309+0.62870 0.61039 0.38123+0.67235 0.61392 0.37940+0.71572 0.61736 0.37762+0.75877 0.62072 0.37588+0.80147 0.62397 0.37419+0.84378 0.62711 0.37256+0.88566 0.63014 0.37099+0.92708 0.63303 0.36950+0.25546 0.61550 0.39479+0.30003 0.61928 0.39282+0.34457 0.62306 0.39087+0.38906 0.62683 0.38891+0.43346 0.63056 0.38698+0.47773 0.63426 0.38506+0.52184 0.63792 0.38316+0.56574 0.64151 0.38130+0.60940 0.64504 0.37947+0.65278 0.64849 0.37768+0.69584 0.65185 0.37594+0.73856 0.65510 0.37425+0.78088 0.65825 0.37262+0.82278 0.66128 0.37105+0.86421 0.66417 0.36955+0.90515 0.66692 0.36812+0.94554 0.66952 0.36678+0.28159 0.65417 0.39094+0.32608 0.65794 0.38899+0.37048 0.66168 0.38705+0.41476 0.66538 0.38513+0.45887 0.66903 0.38323+0.50278 0.67263 0.38137+0.54645 0.67616 0.37954+0.58984 0.67961 0.37775+0.63292 0.68297 0.37600+0.67564 0.68624 0.37431+0.71798 0.68939 0.37268+0.75990 0.69242 0.37111+0.80135 0.69532 0.36960+0.84230 0.69807 0.36817+0.88271 0.70068 0.36682+0.92256 0.70312 0.36556+0.96178 0.70539 0.36438+0.30750 0.69279 0.38712+0.35178 0.69649 0.38520+0.39590 0.70015 0.38330+0.43981 0.70375 0.38144+0.48349 0.70728 0.37960+0.52690 0.71074 0.37781+0.56999 0.71410 0.37607+0.61273 0.71737 0.37437+0.65508 0.72052 0.37274+0.69701 0.72356 0.37116+0.73848 0.72646 0.36966+0.77945 0.72923 0.36823+0.81989 0.73184 0.36687+0.85975 0.73428 0.36560+0.89900 0.73656 0.36442+0.93761 0.73865 0.36334+0.97553 0.74054 0.36236+0.33293 0.73127 0.38337+0.37685 0.73487 0.38150+0.42054 0.73840 0.37967+0.46395 0.74186 0.37788+0.50706 0.74523 0.37613+0.54981 0.74850 0.37444+0.59218 0.75166 0.37280+0.63413 0.75470 0.37122+0.67561 0.75761 0.36971+0.71660 0.76038 0.36828+0.75706 0.76299 0.36692+0.79694 0.76545 0.36565+0.83622 0.76773 0.36447+0.87485 0.76983 0.36338+0.91280 0.77173 0.36239+0.95002 0.77343 0.36151+0.98649 0.77491 0.36074+0.35759 0.76952 0.37974+0.40101 0.77298 0.37794+0.44413 0.77636 0.37619+0.48689 0.77963 0.37450+0.52928 0.78280 0.37286+0.57124 0.78584 0.37128+0.61275 0.78875 0.36977+0.65375 0.79153 0.36833+0.69423 0.79415 0.36697+0.73414 0.79661 0.36569+0.77343 0.79890 0.36451+0.81209 0.80100 0.36342+0.85006 0.80291 0.36243+0.88732 0.80462 0.36154+0.92381 0.80611 0.36077+0.95952 0.80738 0.36011+0.99439 0.80841 0.35958+0.02945 0.17627 0.45934+0.06400 0.17720 0.45886+0.09939 0.17838 0.45825+0.13559 0.17979 0.45752+0.17256 0.18141 0.45667+0.21027 0.18325 0.45572+0.24866 0.18528 0.45467+0.28772 0.18750 0.45352+0.32740 0.18989 0.45228+0.36766 0.19245 0.45095+0.40847 0.19517 0.44954+0.44979 0.19803 0.44806+0.49158 0.20103 0.44650+0.53381 0.20415 0.44489+0.57644 0.20738 0.44321+0.61943 0.21072 0.44148+0.66274 0.21415 0.43970+0.03673 0.20958 0.45827+0.07290 0.21098 0.45755+0.10984 0.21260 0.45671+0.14752 0.21443 0.45576+0.18589 0.21645 0.45471+0.22492 0.21866 0.45356+0.26458 0.22105 0.45233+0.30482 0.22361 0.45100+0.34561 0.22632 0.44959+0.38691 0.22918 0.44811+0.42869 0.23217 0.44656+0.47090 0.23528 0.44495+0.51351 0.23851 0.44327+0.55649 0.24184 0.44154+0.59979 0.24527 0.43977+0.64338 0.24878 0.43795+0.68721 0.25235 0.43609+0.04712 0.24379 0.45674+0.08477 0.24560 0.45580+0.12312 0.24762 0.45475+0.16213 0.24983 0.45361+0.20176 0.25221 0.45237+0.24198 0.25476 0.45105+0.28275 0.25747 0.44965+0.32403 0.26032 0.44817+0.36579 0.26330 0.44662+0.40799 0.26642 0.44501+0.45059 0.26964 0.44333+0.49355 0.27297 0.44161+0.53684 0.27639 0.43983+0.58042 0.27989 0.43802+0.62425 0.28347 0.43616+0.66829 0.28711 0.43428+0.71251 0.29079 0.43237+0.06034 0.27879 0.45479+0.09933 0.28099 0.45365+0.13894 0.28337 0.45242+0.17914 0.28591 0.45110+0.21989 0.28861 0.44970+0.26116 0.29146 0.44822+0.30290 0.29444 0.44668+0.34508 0.29755 0.44507+0.38766 0.30077 0.44340+0.43061 0.30410 0.44167+0.47389 0.30751 0.43990+0.51746 0.31101 0.43809+0.56128 0.31459 0.43623+0.60532 0.31822 0.43435+0.64953 0.32191 0.43244+0.69389 0.32563 0.43051+0.73836 0.32939 0.42856+0.07612 0.31453 0.45247+0.11630 0.31707 0.45115+0.15703 0.31976 0.44975+0.19828 0.32260 0.44828+0.24001 0.32558 0.44674+0.28217 0.32868 0.44513+0.32474 0.33190 0.44346+0.36768 0.33522 0.44174+0.41094 0.33864 0.43997+0.45450 0.34213 0.43815+0.49831 0.34570 0.43630+0.54234 0.34934 0.43442+0.58655 0.35302 0.43251+0.63091 0.35675 0.43058+0.67537 0.36050 0.42863+0.71990 0.36427 0.42667+0.76446 0.36806 0.42471+0.09417 0.35091 0.44981+0.13540 0.35375 0.44834+0.17711 0.35672 0.44679+0.21926 0.35982 0.44519+0.26182 0.36303 0.44352+0.30474 0.36635 0.44180+0.34800 0.36976 0.44003+0.39154 0.37325 0.43822+0.43535 0.37682 0.43637+0.47937 0.38045 0.43449+0.52357 0.38413 0.43258+0.56792 0.38786 0.43065+0.61238 0.39161 0.42870+0.65691 0.39538 0.42674+0.70147 0.39917 0.42478+0.74603 0.40295 0.42282+0.79054 0.40672 0.42087+0.11422 0.38786 0.44685+0.15635 0.39095 0.44525+0.19890 0.39416 0.44358+0.24181 0.39747 0.44187+0.28505 0.40088 0.44010+0.32859 0.40437 0.43829+0.37238 0.40794 0.43644+0.41640 0.41157 0.43456+0.46060 0.41525 0.43265+0.50494 0.41897 0.43072+0.54939 0.42272 0.42877+0.59392 0.42650 0.42682+0.63848 0.43028 0.42486+0.68304 0.43406 0.42289+0.72755 0.43783 0.42094+0.77199 0.44158 0.41900+0.81632 0.44530 0.41707+0.13597 0.42529 0.44365+0.17887 0.42860 0.44193+0.22210 0.43201 0.44016+0.26563 0.43549 0.43835+0.30942 0.43906 0.43651+0.35342 0.44268 0.43463+0.39762 0.44636 0.43272+0.44196 0.45008 0.43079+0.48641 0.45383 0.42885+0.53093 0.45761 0.42689+0.57549 0.46139 0.42493+0.62005 0.46517 0.42297+0.66457 0.46894 0.42101+0.70901 0.47269 0.41907+0.75334 0.47641 0.41714+0.79752 0.48009 0.41523+0.84151 0.48371 0.41336+0.15916 0.46313 0.44023+0.20267 0.46661 0.43842+0.24645 0.47018 0.43658+0.29045 0.47380 0.43470+0.33464 0.47748 0.43279+0.37897 0.48119 0.43086+0.42342 0.48495 0.42892+0.46794 0.48872 0.42696+0.51250 0.49250 0.42500+0.55706 0.49628 0.42304+0.60158 0.50005 0.42108+0.64603 0.50381 0.41914+0.69036 0.50752 0.41721+0.73455 0.51120 0.41530+0.77855 0.51482 0.41342+0.82233 0.51839 0.41158+0.86584 0.52187 0.40977+0.18349 0.50129 0.43664+0.22748 0.50491 0.43477+0.27166 0.50859 0.43286+0.31599 0.51231 0.43093+0.36043 0.51606 0.42899+0.40495 0.51983 0.42703+0.44951 0.52361 0.42507+0.49407 0.52739 0.42311+0.53859 0.53117 0.42115+0.58304 0.53492 0.41921+0.62738 0.53864 0.41728+0.67158 0.54232 0.41537+0.71558 0.54594 0.41349+0.75937 0.54951 0.41165+0.80290 0.55299 0.40984+0.84613 0.55640 0.40807+0.88903 0.55971 0.40635+0.20868 0.53970 0.43293+0.25301 0.54342 0.43100+0.29745 0.54717 0.42906+0.34196 0.55094 0.42711+0.38652 0.55472 0.42514+0.43108 0.55850 0.42318+0.47561 0.56228 0.42123+0.52006 0.56603 0.41928+0.56440 0.56975 0.41735+0.60860 0.57343 0.41544+0.65262 0.57706 0.41356+0.69641 0.58063 0.41171+0.73995 0.58412 0.40990+0.78319 0.58753 0.40813+0.82610 0.59084 0.40642+0.86865 0.59405 0.40475+0.91078 0.59714 0.40315+0.23446 0.57828 0.42913+0.27897 0.58205 0.42718+0.32353 0.58583 0.42522+0.36809 0.58962 0.42326+0.41262 0.59339 0.42130+0.45708 0.59714 0.41935+0.50143 0.60087 0.41742+0.54563 0.60455 0.41551+0.58965 0.60818 0.41363+0.63346 0.61175 0.41178+0.67700 0.61524 0.40997+0.72026 0.61865 0.40820+0.76318 0.62197 0.40648+0.80574 0.62518 0.40481+0.84789 0.62828 0.40321+0.88960 0.63125 0.40166+0.93083 0.63409 0.40019+0.26054 0.61694 0.42529+0.30510 0.62073 0.42333+0.34963 0.62450 0.42137+0.39409 0.62825 0.41942+0.43845 0.63198 0.41749+0.48266 0.63566 0.41558+0.52669 0.63930 0.41370+0.57050 0.64287 0.41185+0.61406 0.64636 0.41003+0.65732 0.64978 0.40826+0.70026 0.65310 0.40654+0.74283 0.65632 0.40487+0.78499 0.65942 0.40326+0.82672 0.66240 0.40172+0.86797 0.66524 0.40025+0.90870 0.66793 0.39885+0.94888 0.67047 0.39753+0.28664 0.65561 0.42144+0.33111 0.65937 0.41949+0.37547 0.66309 0.41756+0.41968 0.66678 0.41565+0.46372 0.67041 0.41377+0.50754 0.67399 0.41191+0.55111 0.67749 0.41010+0.59439 0.68090 0.40833+0.63734 0.68423 0.40660+0.67992 0.68745 0.40493+0.72210 0.69056 0.40332+0.76384 0.69354 0.40178+0.80511 0.69639 0.40030+0.84586 0.69909 0.39890+0.88606 0.70163 0.39758+0.92567 0.70401 0.39635+0.96466 0.70621 0.39521+0.31249 0.69421 0.41763+0.35671 0.69789 0.41572+0.40075 0.70153 0.41384+0.44458 0.70511 0.41198+0.48816 0.70861 0.41017+0.53145 0.71203 0.40839+0.57441 0.71536 0.40667+0.61701 0.71858 0.40499+0.65921 0.72170 0.40338+0.70097 0.72468 0.40183+0.74225 0.72753 0.40035+0.78302 0.73024 0.39895+0.82324 0.73279 0.39763+0.86287 0.73517 0.39639+0.90188 0.73738 0.39525+0.94023 0.73940 0.39420+0.97788 0.74121 0.39326+0.33779 0.73265 0.41391+0.38162 0.73622 0.41205+0.42521 0.73973 0.41023+0.46851 0.74316 0.40846+0.51149 0.74649 0.40673+0.55410 0.74972 0.40505+0.59631 0.75283 0.40344+0.63809 0.75582 0.40189+0.67939 0.75868 0.40041+0.72018 0.76139 0.39900+0.76042 0.76395 0.39767+0.80008 0.76634 0.39644+0.83911 0.76855 0.39529+0.87748 0.77057 0.39424+0.91516 0.77240 0.39329+0.95210 0.77402 0.39245+0.98827 0.77542 0.39173+0.36226 0.77085 0.41030+0.40557 0.77428 0.40852+0.44856 0.77762 0.40679+0.49119 0.78085 0.40511+0.53342 0.78397 0.40350+0.57521 0.78697 0.40194+0.61653 0.78983 0.40046+0.65734 0.79255 0.39905+0.69760 0.79511 0.39772+0.73728 0.79750 0.39648+0.77634 0.79972 0.39533+0.81473 0.80175 0.39428+0.85244 0.80359 0.39333+0.88941 0.80521 0.39248+0.92561 0.80662 0.39175+0.96100 0.80780 0.39114+0.99555 0.80873 0.39066+0.03061 0.17659 0.49042+0.06548 0.17762 0.48989+0.10119 0.17889 0.48923+0.13768 0.18038 0.48846+0.17494 0.18209 0.48757+0.21291 0.18400 0.48658+0.25157 0.18610 0.48549+0.29086 0.18839 0.48431+0.33077 0.19085 0.48303+0.37125 0.19347 0.48167+0.41225 0.19625 0.48023+0.45376 0.19916 0.47872+0.49572 0.20220 0.47714+0.53811 0.20537 0.47550+0.58087 0.20864 0.47381+0.62399 0.21202 0.47206+0.66741 0.21548 0.47026+0.03851 0.21009 0.48926+0.07498 0.21157 0.48849+0.11220 0.21327 0.48761+0.15015 0.21517 0.48662+0.18878 0.21727 0.48553+0.22806 0.21955 0.48435+0.26794 0.22201 0.48308+0.30840 0.22462 0.48172+0.34939 0.22739 0.48029+0.39087 0.23030 0.47878+0.43282 0.23334 0.47720+0.47519 0.23650 0.47556+0.51794 0.23977 0.47387+0.56105 0.24314 0.47212+0.60446 0.24660 0.47033+0.64815 0.25013 0.46850+0.69207 0.25373 0.46663+0.04947 0.24446 0.48764+0.08739 0.24635 0.48666+0.12600 0.24844 0.48558+0.16525 0.25072 0.48440+0.20511 0.25316 0.48313+0.24555 0.25577 0.48177+0.28652 0.25854 0.48034+0.32799 0.26144 0.47884+0.36992 0.26448 0.47726+0.41227 0.26763 0.47563+0.45501 0.27090 0.47393+0.49810 0.27426 0.47219+0.54151 0.27772 0.47040+0.58519 0.28125 0.46856+0.62910 0.28485 0.46670+0.67322 0.28851 0.46480+0.71750 0.29221 0.46288+0.06322 0.27961 0.48562+0.10244 0.28188 0.48444+0.14229 0.28432 0.48318+0.18270 0.28693 0.48183+0.22365 0.28968 0.48040+0.26510 0.29258 0.47889+0.30702 0.29561 0.47732+0.34936 0.29876 0.47569+0.39208 0.30203 0.47400+0.43516 0.30539 0.47225+0.47855 0.30884 0.47046+0.52222 0.31237 0.46863+0.56613 0.31597 0.46677+0.61024 0.31962 0.46487+0.65452 0.32332 0.46295+0.69892 0.32706 0.46101+0.74341 0.33083 0.45906+0.07946 0.31548 0.48322+0.11985 0.31808 0.48188+0.16079 0.32083 0.48045+0.20222 0.32372 0.47895+0.24412 0.32675 0.47738+0.28644 0.32990 0.47575+0.32916 0.33315 0.47406+0.37222 0.33651 0.47232+0.41560 0.33996 0.47053+0.45926 0.34349 0.46870+0.50316 0.34708 0.46684+0.54727 0.35074 0.46494+0.59154 0.35444 0.46302+0.63594 0.35817 0.46109+0.68043 0.36194 0.45913+0.72497 0.36572 0.45718+0.76954 0.36950 0.45521+0.09792 0.35197 0.48050+0.13934 0.35486 0.47901+0.18122 0.35789 0.47744+0.22353 0.36103 0.47581+0.26623 0.36428 0.47412+0.30928 0.36764 0.47238+0.35265 0.37108 0.47060+0.39630 0.37461 0.46877+0.44019 0.37820 0.46691+0.48429 0.38185 0.46501+0.52855 0.38555 0.46309+0.57295 0.38929 0.46116+0.61744 0.39305 0.45921+0.66198 0.39683 0.45725+0.70655 0.40061 0.45529+0.75109 0.40439 0.45333+0.79558 0.40815 0.45138+0.11832 0.38902 0.47750+0.16061 0.39216 0.47587+0.20330 0.39541 0.47418+0.24634 0.39876 0.47245+0.28970 0.40220 0.47066+0.33334 0.40573 0.46884+0.37722 0.40932 0.46697+0.42131 0.41297 0.46508+0.46557 0.41666 0.46317+0.50996 0.42040 0.46123+0.55445 0.42416 0.45928+0.59899 0.42794 0.45732+0.64356 0.43172 0.45536+0.68810 0.43550 0.45340+0.73259 0.43926 0.45145+0.77700 0.44300 0.44951+0.82127 0.44670 0.44759+0.14037 0.42654 0.47425+0.18340 0.42989 0.47251+0.22675 0.43333 0.47073+0.27038 0.43684 0.46890+0.31426 0.44043 0.46704+0.35834 0.44408 0.46515+0.40259 0.44778 0.46324+0.44698 0.45151 0.46130+0.49146 0.45527 0.45935+0.53600 0.45905 0.45739+0.58057 0.46283 0.45543+0.62511 0.46661 0.45347+0.66961 0.47038 0.45152+0.71401 0.47411 0.44958+0.75829 0.47782 0.44766+0.80240 0.48147 0.44576+0.84632 0.48507 0.44390+0.16380 0.46445 0.47080+0.20742 0.46796 0.46897+0.25129 0.47155 0.46711+0.29536 0.47520 0.46522+0.33961 0.47889 0.46331+0.38399 0.48262 0.46137+0.42847 0.48638 0.45942+0.47301 0.49016 0.45746+0.51758 0.49394 0.45550+0.56213 0.49772 0.45354+0.60662 0.50149 0.45159+0.65103 0.50523 0.44965+0.69531 0.50893 0.44773+0.73943 0.51259 0.44583+0.78335 0.51619 0.44397+0.82704 0.51972 0.44213+0.87045 0.52318 0.44034+0.18832 0.50267 0.46718+0.23239 0.50631 0.46529+0.27663 0.51000 0.46338+0.32101 0.51373 0.46144+0.36549 0.51749 0.45949+0.41002 0.52127 0.45754+0.45459 0.52505 0.45557+0.49914 0.52883 0.45361+0.54364 0.53260 0.45166+0.58805 0.53634 0.44972+0.63234 0.54005 0.44780+0.67646 0.54371 0.44590+0.72039 0.54731 0.44403+0.76408 0.55085 0.44220+0.80750 0.55430 0.44041+0.85061 0.55767 0.43866+0.89337 0.56095 0.43696+0.21365 0.54112 0.46345+0.25802 0.54485 0.46151+0.30250 0.54860 0.45957+0.34703 0.55238 0.45761+0.39160 0.55616 0.45565+0.43615 0.55994 0.45369+0.48065 0.56371 0.45173+0.52507 0.56745 0.44979+0.56936 0.57116 0.44787+0.61349 0.57482 0.44597+0.65743 0.57843 0.44410+0.70113 0.58197 0.44227+0.74456 0.58543 0.44047+0.78768 0.58880 0.43872+0.83046 0.59208 0.43702+0.87285 0.59524 0.43538+0.91482 0.59829 0.43380+0.23951 0.57972 0.45964+0.28404 0.58349 0.45768+0.32861 0.58728 0.45572+0.37316 0.59106 0.45376+0.41766 0.59482 0.45180+0.46208 0.59857 0.44986+0.50638 0.60227 0.44794+0.55052 0.60594 0.44604+0.59447 0.60955 0.44417+0.63818 0.61309 0.44233+0.68162 0.61655 0.44054+0.72475 0.61993 0.43879+0.76754 0.62321 0.43709+0.80994 0.62638 0.43544+0.85193 0.62943 0.43386+0.89346 0.63235 0.43235+0.93450 0.63513 0.43090+0.26562 0.61839 0.45579+0.31017 0.62217 0.45383+0.35468 0.62593 0.45188+0.39910 0.62968 0.44993+0.44341 0.63339 0.44801+0.48755 0.63705 0.44611+0.53150 0.64066 0.44424+0.57522 0.64421 0.44240+0.61867 0.64768 0.44060+0.66182 0.65106 0.43885+0.70462 0.65434 0.43715+0.74704 0.65751 0.43550+0.78904 0.66057 0.43392+0.83059 0.66350 0.43240+0.87164 0.66628 0.43095+0.91217 0.66892 0.42959+0.95213 0.67139 0.42830+0.29169 0.65705 0.45195+0.33612 0.66079 0.45001+0.38043 0.66450 0.44808+0.42458 0.66817 0.44618+0.46854 0.67178 0.44431+0.51227 0.67533 0.44247+0.55573 0.67880 0.44067+0.59889 0.68218 0.43891+0.64170 0.68547 0.43721+0.68414 0.68865 0.43556+0.72615 0.69171 0.43397+0.76772 0.69464 0.43245+0.80879 0.69743 0.43101+0.84934 0.70008 0.42964+0.88932 0.70256 0.42835+0.92870 0.70487 0.42715+0.96744 0.70699 0.42605+0.31745 0.69562 0.44815+0.36161 0.69929 0.44625+0.40558 0.70290 0.44438+0.44932 0.70645 0.44254+0.49279 0.70992 0.44073+0.53596 0.71331 0.43898+0.57878 0.71660 0.43727+0.62123 0.71978 0.43562+0.66327 0.72285 0.43403+0.70485 0.72579 0.43251+0.74594 0.72858 0.43106+0.78651 0.73123 0.42969+0.82651 0.73372 0.42840+0.86591 0.73603 0.42719+0.90467 0.73817 0.42609+0.94276 0.74011 0.42508+0.98013 0.74185 0.42418+0.34261 0.73402 0.44444+0.38636 0.73757 0.44260+0.42984 0.74105 0.44080+0.47302 0.74444 0.43904+0.51586 0.74773 0.43733+0.55833 0.75092 0.43568+0.60038 0.75399 0.43409+0.64198 0.75693 0.43256+0.68309 0.75973 0.43111+0.72367 0.76239 0.42973+0.76370 0.76488 0.42844+0.80312 0.76720 0.42724+0.84191 0.76934 0.42613+0.88002 0.77129 0.42512+0.91742 0.77304 0.42421+0.95407 0.77458 0.42341+0.98994 0.77589 0.42273+0.36690 0.77217 0.44087+0.41009 0.77556 0.43911+0.45294 0.77886 0.43740+0.49542 0.78205 0.43574+0.53749 0.78513 0.43415+0.57910 0.78807 0.43262+0.62023 0.79088 0.43116+0.66084 0.79354 0.42978+0.70088 0.79604 0.42849+0.74033 0.79837 0.42728+0.77914 0.80052 0.42617+0.81728 0.80248 0.42515+0.85471 0.80423 0.42424+0.89139 0.80578 0.42344+0.92728 0.80710 0.42276+0.96236 0.80818 0.42219+0.99657 0.80903 0.42176+0.03189 0.17696 0.52148+0.06709 0.17808 0.52090+0.10310 0.17943 0.52020+0.13989 0.18101 0.51939+0.17742 0.18279 0.51846+0.21566 0.18478 0.51743+0.25456 0.18695 0.51630+0.29409 0.18931 0.51508+0.33422 0.19183 0.51377+0.37491 0.19451 0.51238+0.41611 0.19734 0.51092+0.45779 0.20031 0.50938+0.49992 0.20340 0.50778+0.54245 0.20661 0.50611+0.58536 0.20992 0.50439+0.62860 0.21332 0.50263+0.67213 0.21682 0.50082+0.04041 0.21063 0.52023+0.07717 0.21220 0.51942+0.11467 0.21397 0.51850+0.15289 0.21595 0.51747+0.19177 0.21812 0.51634+0.23128 0.22047 0.51513+0.27138 0.22299 0.51382+0.31205 0.22566 0.51243+0.35323 0.22848 0.51097+0.39490 0.23144 0.50944+0.43701 0.23453 0.50784+0.47953 0.23774 0.50617+0.52242 0.24104 0.50446+0.56565 0.24445 0.50269+0.60917 0.24794 0.50089+0.65295 0.25150 0.49904+0.69696 0.25512 0.49716+0.05193 0.24515 0.51853+0.09012 0.24713 0.51751+0.12897 0.24929 0.51639+0.16846 0.25163 0.51517+0.20855 0.25414 0.51387+0.24919 0.25681 0.51249+0.29036 0.25963 0.51103+0.33201 0.26258 0.50949+0.37410 0.26567 0.50790+0.41661 0.26887 0.50624+0.45949 0.27217 0.50452+0.50270 0.27557 0.50276+0.54622 0.27906 0.50095+0.58999 0.28262 0.49911+0.63399 0.28624 0.49723+0.67817 0.28991 0.49532+0.72250 0.29363 0.49339+0.06618 0.28045 0.51643+0.10565 0.28279 0.51522+0.14571 0.28529 0.51392+0.18634 0.28796 0.51254+0.22748 0.29077 0.51108+0.26912 0.29372 0.50955+0.31120 0.29680 0.50796+0.35369 0.30000 0.50630+0.39655 0.30330 0.50459+0.43976 0.30669 0.50283+0.48326 0.31018 0.50102+0.52702 0.31373 0.49918+0.57101 0.31735 0.49730+0.61519 0.32103 0.49539+0.65952 0.32475 0.49347+0.70396 0.32849 0.49152+0.74848 0.33227 0.48957+0.08288 0.31645 0.51397+0.12348 0.31911 0.51259+0.16461 0.32192 0.51114+0.20623 0.32486 0.50961+0.24829 0.32794 0.50801+0.29077 0.33113 0.50636+0.33362 0.33442 0.50465+0.37681 0.33782 0.50289+0.42030 0.34130 0.50109+0.46406 0.34485 0.49924+0.50804 0.34847 0.49737+0.55221 0.35214 0.49546+0.59654 0.35586 0.49354+0.64097 0.35961 0.49159+0.68549 0.36338 0.48964+0.73005 0.36716 0.48768+0.77461 0.37094 0.48572+0.10174 0.35306 0.51119+0.14334 0.35600 0.50967+0.18539 0.35907 0.50807+0.22785 0.36226 0.50642+0.27069 0.36555 0.50471+0.31387 0.36894 0.50296+0.35735 0.37242 0.50115+0.40109 0.37597 0.49931+0.44507 0.37959 0.49744+0.48923 0.38326 0.49553+0.53355 0.38697 0.49361+0.57799 0.39072 0.49166+0.62250 0.39449 0.48971+0.66706 0.39827 0.48775+0.71162 0.40205 0.48579+0.75615 0.40583 0.48383+0.80061 0.40958 0.48188+0.12248 0.39021 0.50813+0.16493 0.39339 0.50648+0.20776 0.39668 0.50478+0.25092 0.40006 0.50302+0.29439 0.40354 0.50122+0.33813 0.40709 0.49938+0.38210 0.41070 0.49751+0.42626 0.41437 0.49560+0.47057 0.41808 0.49368+0.51500 0.42183 0.49174+0.55951 0.42560 0.48978+0.60407 0.42938 0.48782+0.64863 0.43316 0.48586+0.69316 0.43694 0.48390+0.73762 0.44069 0.48196+0.78198 0.44442 0.48002+0.82619 0.44810 0.47811+0.14482 0.42781 0.50484+0.18798 0.43119 0.50309+0.23144 0.43466 0.50129+0.27517 0.43821 0.49945+0.31913 0.44182 0.49758+0.36328 0.44548 0.49567+0.40759 0.44920 0.49375+0.45201 0.45294 0.49181+0.49652 0.45671 0.48985+0.54108 0.46049 0.48789+0.58564 0.46427 0.48593+0.63017 0.46805 0.48397+0.67464 0.47180 0.48203+0.71900 0.47553 0.48010+0.76322 0.47922 0.47818+0.80726 0.48285 0.47630+0.85108 0.48643 0.47445+0.16848 0.46578 0.50135+0.21220 0.46932 0.49952+0.25615 0.47293 0.49765+0.30030 0.47660 0.49575+0.34460 0.48031 0.49382+0.38903 0.48405 0.49188+0.43354 0.48782 0.48993+0.47809 0.49160 0.48797+0.52265 0.49538 0.48600+0.56718 0.49916 0.48405+0.61165 0.50292 0.48210+0.65602 0.50664 0.48017+0.70024 0.51033 0.47825+0.74429 0.51397 0.47637+0.78812 0.51755 0.47451+0.83171 0.52105 0.47270+0.87500 0.52447 0.47092+0.19318 0.50405 0.49772+0.23732 0.50771 0.49582+0.28162 0.51142 0.49389+0.32604 0.51516 0.49195+0.37055 0.51893 0.49000+0.41510 0.52271 0.48804+0.45966 0.52650 0.48608+0.50420 0.53027 0.48412+0.54867 0.53403 0.48217+0.59304 0.53776 0.48024+0.63727 0.54145 0.47832+0.68132 0.54509 0.47644+0.72517 0.54867 0.47458+0.76876 0.55217 0.47276+0.81206 0.55560 0.47099+0.85504 0.55893 0.46926+0.89766 0.56216 0.46758+0.21864 0.54253 0.49396+0.26306 0.54628 0.49202+0.30756 0.55004 0.49007+0.35211 0.55382 0.48811+0.39667 0.55761 0.48615+0.44121 0.56138 0.48419+0.48568 0.56514 0.48224+0.53006 0.56887 0.48031+0.57429 0.57256 0.47839+0.61836 0.57620 0.47651+0.66221 0.57979 0.47465+0.70581 0.58330 0.47283+0.74913 0.58673 0.47105+0.79212 0.59006 0.46932+0.83475 0.59330 0.46764+0.87699 0.59642 0.46602+0.91879 0.59942 0.46447+0.24457 0.58115 0.49014+0.28912 0.58493 0.48818+0.33368 0.58872 0.48622+0.37822 0.59249 0.48426+0.42270 0.59625 0.48231+0.46708 0.59998 0.48038+0.51132 0.60368 0.47846+0.55539 0.60732 0.47657+0.59925 0.61090 0.47472+0.64286 0.61442 0.47289+0.68619 0.61785 0.47111+0.72919 0.62119 0.46938+0.77184 0.62443 0.46770+0.81409 0.62756 0.46608+0.85591 0.63056 0.46452+0.89725 0.63343 0.46304+0.93809 0.63615 0.46162+0.27069 0.61983 0.48629+0.31523 0.62361 0.48433+0.35971 0.62737 0.48238+0.40410 0.63110 0.48045+0.44834 0.63479 0.47853+0.49242 0.63844 0.47664+0.53629 0.64202 0.47478+0.57991 0.64554 0.47296+0.62325 0.64898 0.47118+0.66627 0.65232 0.46945+0.70893 0.65556 0.46776+0.75119 0.65869 0.46614+0.79302 0.66170 0.46458+0.83439 0.66458 0.46309+0.87525 0.66731 0.46167+0.91556 0.66988 0.46034+0.95529 0.67229 0.45909+0.29673 0.65848 0.48246+0.34111 0.66221 0.48052+0.38537 0.66591 0.47860+0.42945 0.66955 0.47671+0.47333 0.67314 0.47485+0.51696 0.67666 0.47303+0.56031 0.68010 0.47124+0.60334 0.68345 0.46951+0.64601 0.68670 0.46782+0.68829 0.68983 0.46620+0.73014 0.69284 0.46464+0.77153 0.69572 0.46314+0.81240 0.69846 0.46172+0.85274 0.70104 0.46039+0.89249 0.70346 0.45913+0.93163 0.70570 0.45797+0.97011 0.70776 0.45690+0.32239 0.69702 0.47867+0.36648 0.70067 0.47678+0.41037 0.70426 0.47492+0.45401 0.70778 0.47309+0.49737 0.71123 0.47131+0.54041 0.71458 0.46957+0.58310 0.71783 0.46789+0.62540 0.72097 0.46626+0.66726 0.72398 0.46469+0.70866 0.72687 0.46320+0.74956 0.72961 0.46178+0.78991 0.73220 0.46043+0.82969 0.73462 0.45918+0.86885 0.73687 0.45801+0.90736 0.73893 0.45694+0.94518 0.74080 0.45597+0.98227 0.74246 0.45511+0.34741 0.73538 0.47499+0.39106 0.73891 0.47316+0.43443 0.74235 0.47137+0.47748 0.74571 0.46963+0.52019 0.74896 0.46795+0.56250 0.75210 0.46632+0.60438 0.75513 0.46475+0.64580 0.75802 0.46325+0.68671 0.76076 0.46183+0.72709 0.76336 0.46048+0.76689 0.76579 0.45922+0.80607 0.76804 0.45805+0.84460 0.77011 0.45698+0.88245 0.77199 0.45601+0.91957 0.77365 0.45514+0.95593 0.77511 0.45439+0.99148 0.77633 0.45375+0.37149 0.77348 0.47144+0.41456 0.77683 0.46970+0.45727 0.78009 0.46801+0.49960 0.78324 0.46638+0.54150 0.78627 0.46481+0.58293 0.78916 0.46330+0.62387 0.79191 0.46188+0.66426 0.79451 0.46053+0.70408 0.79695 0.45927+0.74329 0.79921 0.45809+0.78185 0.80129 0.45702+0.81972 0.80317 0.45604+0.85687 0.80485 0.45517+0.89325 0.80631 0.45442+0.92884 0.80754 0.45378+0.96359 0.80853 0.45326+0.99747 0.80928 0.45287+0.03330 0.17736 0.55253+0.06881 0.17857 0.55190+0.10512 0.18001 0.55115+0.14220 0.18166 0.55029+0.18000 0.18353 0.54933+0.21850 0.18559 0.54826+0.25765 0.18783 0.54710+0.29741 0.19025 0.54584+0.33775 0.19284 0.54450+0.37864 0.19557 0.54308+0.42003 0.19846 0.54159+0.46189 0.20147 0.54002+0.50417 0.20461 0.53840+0.54686 0.20786 0.53671+0.58989 0.21121 0.53498+0.63325 0.21465 0.53319+0.67688 0.21817 0.53137+0.04242 0.21120 0.55118+0.07947 0.21285 0.55033+0.11725 0.21470 0.54937+0.15572 0.21676 0.54830+0.19484 0.21900 0.54714+0.23459 0.22141 0.54589+0.27491 0.22399 0.54455+0.31578 0.22672 0.54314+0.35715 0.22960 0.54164+0.39899 0.23261 0.54008+0.44126 0.23574 0.53846+0.48393 0.23898 0.53678+0.52695 0.24233 0.53504+0.57030 0.24577 0.53326+0.61392 0.24929 0.53144+0.65779 0.25287 0.52958+0.70187 0.25652 0.52768+0.05450 0.24588 0.54940+0.09294 0.24793 0.54834+0.13204 0.25016 0.54719+0.17176 0.25257 0.54594+0.21207 0.25514 0.54460+0.25291 0.25787 0.54319+0.29427 0.26074 0.54170+0.33609 0.26374 0.54014+0.37835 0.26687 0.53852+0.42100 0.27011 0.53684+0.46401 0.27346 0.53511+0.50734 0.27689 0.53333+0.55096 0.28040 0.53150+0.59482 0.28399 0.52964+0.63890 0.28763 0.52775+0.68314 0.29133 0.52584+0.72752 0.29506 0.52390+0.06924 0.28132 0.54723+0.10894 0.28373 0.54598+0.14922 0.28629 0.54465+0.19005 0.28901 0.54324+0.23139 0.29188 0.54176+0.27320 0.29488 0.54020+0.31544 0.29801 0.53858+0.35808 0.30124 0.53690+0.40107 0.30458 0.53517+0.44440 0.30801 0.53339+0.48800 0.31152 0.53157+0.53186 0.31511 0.52971+0.57592 0.31875 0.52782+0.62016 0.32244 0.52591+0.66454 0.32617 0.52398+0.70901 0.32993 0.52203+0.75355 0.33371 0.52007+0.08638 0.31745 0.54470+0.12719 0.32016 0.54330+0.16851 0.32302 0.54181+0.21030 0.32602 0.54026+0.25253 0.32914 0.53864+0.29515 0.33237 0.53696+0.33814 0.33571 0.53524+0.38145 0.33913 0.53346+0.42504 0.34264 0.53164+0.46889 0.34622 0.52978+0.51295 0.34986 0.52789+0.55718 0.35355 0.52598+0.60155 0.35728 0.52405+0.64603 0.36104 0.52210+0.69056 0.36482 0.52014+0.73512 0.36860 0.51818+0.77968 0.37238 0.51622+0.10563 0.35417 0.54187+0.14740 0.35716 0.54032+0.18961 0.36027 0.53870+0.23222 0.36350 0.53703+0.27520 0.36683 0.53530+0.31850 0.37026 0.53352+0.36208 0.37376 0.53171+0.40592 0.37734 0.52985+0.44997 0.38098 0.52796+0.49420 0.38467 0.52605+0.53857 0.38840 0.52412+0.58304 0.39215 0.52217+0.62757 0.39593 0.52021+0.67213 0.39971 0.51825+0.71669 0.40349 0.51629+0.76119 0.40726 0.51434+0.80562 0.41100 0.51240+0.12670 0.39141 0.53876+0.16930 0.39463 0.53709+0.21226 0.39796 0.53536+0.25555 0.40138 0.53359+0.29913 0.40488 0.53177+0.34295 0.40846 0.52992+0.38700 0.41209 0.52803+0.43122 0.41578 0.52612+0.47558 0.41951 0.52419+0.52005 0.42326 0.52224+0.56458 0.42704 0.52029+0.60914 0.43082 0.51832+0.65370 0.43460 0.51636+0.69821 0.43837 0.51441+0.74263 0.44212 0.51247+0.78694 0.44583 0.51054+0.83109 0.44949 0.50864+0.14932 0.42908 0.53543+0.19260 0.43250 0.53366+0.23617 0.43600 0.53184+0.27999 0.43958 0.52999+0.32402 0.44321 0.52810+0.36824 0.44689 0.52619+0.41260 0.45062 0.52426+0.45706 0.45438 0.52231+0.50159 0.45815 0.52036+0.54615 0.46193 0.51840+0.59071 0.46571 0.51643+0.63522 0.46948 0.51448+0.67965 0.47323 0.51254+0.72396 0.47694 0.51061+0.76812 0.48061 0.50871+0.81208 0.48422 0.50684+0.85581 0.48777 0.50500+0.17321 0.46712 0.53191+0.21702 0.47069 0.53006+0.26105 0.47432 0.52817+0.30526 0.47801 0.52626+0.34961 0.48173 0.52433+0.39407 0.48549 0.52239+0.43860 0.48926 0.52043+0.48316 0.49304 0.51847+0.52772 0.49683 0.51651+0.57223 0.50060 0.51455+0.61667 0.50434 0.51261+0.66098 0.50806 0.51068+0.70515 0.51173 0.50878+0.74912 0.51534 0.50691+0.79286 0.51889 0.50507+0.83634 0.52237 0.50326+0.87951 0.52576 0.50151+0.19808 0.50544 0.52824+0.24228 0.50912 0.52633+0.28663 0.51285 0.52440+0.33109 0.51660 0.52246+0.37561 0.52037 0.52050+0.42017 0.52415 0.51854+0.46473 0.52794 0.51658+0.50925 0.53171 0.51462+0.55368 0.53545 0.51268+0.59800 0.53917 0.51075+0.64217 0.54284 0.50885+0.68615 0.54646 0.50697+0.72990 0.55001 0.50513+0.77339 0.55349 0.50333+0.81658 0.55688 0.50157+0.85942 0.56018 0.49986+0.90189 0.56337 0.49821+0.22365 0.54396 0.52448+0.26810 0.54771 0.52253+0.31263 0.55148 0.52057+0.35719 0.55527 0.51861+0.40174 0.55905 0.51665+0.44626 0.56282 0.51470+0.49070 0.56657 0.51275+0.53503 0.57028 0.51083+0.57920 0.57396 0.50892+0.62319 0.57758 0.50704+0.66695 0.58113 0.50520+0.71045 0.58461 0.50339+0.75364 0.58801 0.50163+0.79650 0.59131 0.49992+0.83899 0.59450 0.49827+0.88106 0.59758 0.49667+0.92269 0.60053 0.49514+0.24964 0.58259 0.52065+0.29420 0.58638 0.51868+0.33875 0.59016 0.51672+0.38327 0.59393 0.51477+0.42772 0.59768 0.51282+0.47205 0.60140 0.51090+0.51623 0.60507 0.50899+0.56022 0.60869 0.50711+0.60399 0.61225 0.50527+0.64750 0.61574 0.50346+0.69071 0.61914 0.50170+0.73358 0.62244 0.49999+0.77608 0.62564 0.49833+0.81817 0.62872 0.49673+0.85981 0.63167 0.49520+0.90097 0.63449 0.49374+0.94160 0.63715 0.49236+0.27576 0.62127 0.51680+0.32029 0.62504 0.51484+0.36473 0.62879 0.51289+0.40907 0.63251 0.51097+0.45326 0.63619 0.50906+0.49726 0.63981 0.50718+0.54104 0.64337 0.50533+0.58455 0.64686 0.50353+0.62777 0.65026 0.50176+0.67066 0.65357 0.50005+0.71317 0.65677 0.49839+0.75528 0.65986 0.49679+0.79694 0.66281 0.49525+0.83811 0.66563 0.49379+0.87877 0.66831 0.49241+0.91886 0.67082 0.49110+0.95837 0.67317 0.48989+0.30175 0.65991 0.51297+0.34609 0.66363 0.51104+0.39028 0.66730 0.50913+0.43429 0.67093 0.50725+0.47808 0.67449 0.50540+0.52161 0.67798 0.50359+0.56484 0.68139 0.50183+0.60774 0.68470 0.50011+0.65027 0.68790 0.49845+0.69239 0.69099 0.49685+0.73406 0.69396 0.49531+0.77526 0.69678 0.49384+0.81593 0.69946 0.49245+0.85605 0.70198 0.49115+0.89557 0.70433 0.48993+0.93447 0.70651 0.48880+0.97269 0.70849 0.48777+0.32731 0.69842 0.50920+0.37133 0.70205 0.50732+0.41512 0.70561 0.50547+0.45866 0.70911 0.50366+0.50190 0.71251 0.50189+0.54482 0.71583 0.50017+0.58736 0.71904 0.49851+0.62950 0.72213 0.49690+0.67119 0.72510 0.49536+0.71240 0.72793 0.49390+0.75309 0.73062 0.49250+0.79323 0.73314 0.49119+0.83278 0.73550 0.48997+0.87170 0.73768 0.48884+0.90995 0.73967 0.48781+0.94749 0.74146 0.48688+0.98430 0.74304 0.48606+0.35217 0.73673 0.50554+0.39571 0.74023 0.50372+0.43897 0.74364 0.50195+0.48189 0.74696 0.50023+0.52445 0.75017 0.49857+0.56660 0.75327 0.49696+0.60831 0.75624 0.49542+0.64954 0.75908 0.49395+0.69026 0.76177 0.49255+0.73042 0.76430 0.49124+0.76999 0.76667 0.49002+0.80893 0.76885 0.48888+0.84720 0.77085 0.48785+0.88478 0.77265 0.48691+0.92161 0.77423 0.48609+0.95767 0.77560 0.48538+0.99291 0.77673 0.48480+0.37603 0.77477 0.50202+0.41897 0.77809 0.50030+0.46154 0.78131 0.49863+0.50371 0.78441 0.49702+0.54544 0.78739 0.49548+0.58668 0.79023 0.49400+0.62742 0.79292 0.49260+0.66760 0.79546 0.49129+0.70719 0.79783 0.49006+0.74616 0.80003 0.48892+0.78446 0.80203 0.48788+0.82206 0.80383 0.48695+0.85892 0.80543 0.48612+0.89500 0.80680 0.48541+0.93028 0.80795 0.48481+0.96470 0.80885 0.48435+0.99823 0.80950 0.48401+0.03482 0.17779 0.58355+0.07064 0.17909 0.58288+0.10725 0.18061 0.58209+0.14461 0.18235 0.58119+0.18268 0.18429 0.58018+0.22143 0.18642 0.57908+0.26082 0.18873 0.57788+0.30081 0.19122 0.57659+0.34137 0.19386 0.57522+0.38245 0.19666 0.57377+0.42402 0.19959 0.57225+0.46605 0.20265 0.57066+0.50849 0.20583 0.56901+0.55131 0.20912 0.56731+0.59447 0.21251 0.56555+0.63794 0.21598 0.56375+0.68167 0.21953 0.56191+0.04454 0.21180 0.58212+0.08187 0.21353 0.58122+0.11992 0.21546 0.58022+0.15865 0.21759 0.57912+0.19801 0.21990 0.57792+0.23798 0.22237 0.57664+0.27851 0.22501 0.57527+0.31958 0.22780 0.57383+0.36113 0.23073 0.57231+0.40314 0.23379 0.57072+0.44557 0.23696 0.56907+0.48838 0.24025 0.56737+0.53153 0.24363 0.56562+0.57498 0.24710 0.56382+0.61871 0.25065 0.56198+0.66266 0.25426 0.56011+0.70681 0.25792 0.55821+0.05716 0.24664 0.58026+0.09586 0.24876 0.57916+0.13520 0.25106 0.57797+0.17515 0.25353 0.57669+0.21566 0.25616 0.57532+0.25671 0.25895 0.57388+0.29825 0.26187 0.57236+0.34024 0.26492 0.57078+0.38265 0.26810 0.56914+0.42545 0.27138 0.56743+0.46858 0.27476 0.56568+0.51203 0.27822 0.56389+0.55574 0.28176 0.56205+0.59969 0.28537 0.56018+0.64383 0.28904 0.55828+0.68813 0.29275 0.55635+0.73256 0.29649 0.55441+0.07239 0.28222 0.57802+0.11232 0.28469 0.57674+0.15281 0.28731 0.57537+0.19384 0.29009 0.57393+0.23536 0.29301 0.57242+0.27734 0.29606 0.57084+0.31973 0.29923 0.56920+0.36251 0.30250 0.56750+0.40564 0.30588 0.56575+0.44907 0.30934 0.56395+0.49278 0.31288 0.56212+0.53672 0.31649 0.56025+0.58086 0.32015 0.55835+0.62515 0.32386 0.55642+0.66957 0.32760 0.55448+0.71407 0.33137 0.55253+0.75863 0.33515 0.55057+0.08996 0.31846 0.57543+0.13097 0.32124 0.57399+0.17247 0.32415 0.57248+0.21443 0.32719 0.57090+0.25682 0.33036 0.56926+0.29958 0.33363 0.56756+0.34270 0.33700 0.56581+0.38612 0.34046 0.56402+0.42982 0.34400 0.56218+0.47375 0.34761 0.56032+0.51788 0.35127 0.55842+0.56217 0.35497 0.55650+0.60658 0.35871 0.55456+0.65109 0.36248 0.55260+0.69564 0.36626 0.55064+0.74020 0.37004 0.54868+0.78474 0.37382 0.54672+0.10959 0.35529 0.57253+0.15153 0.35833 0.57096+0.19390 0.36149 0.56932+0.23665 0.36476 0.56762+0.27976 0.36813 0.56588+0.32317 0.37158 0.56409+0.36686 0.37512 0.56225+0.41078 0.37872 0.56039+0.45490 0.38238 0.55849+0.49919 0.38608 0.55657+0.54360 0.38983 0.55463+0.58810 0.39359 0.55268+0.63265 0.39737 0.55072+0.67721 0.40115 0.54875+0.72175 0.40493 0.54679+0.76623 0.40869 0.54485+0.81061 0.41242 0.54291+0.13098 0.39262 0.56938+0.17372 0.39589 0.56769+0.21681 0.39925 0.56594+0.26022 0.40271 0.56415+0.30389 0.40624 0.56232+0.34781 0.40984 0.56045+0.39193 0.41349 0.55856+0.43621 0.41720 0.55664+0.48061 0.42094 0.55470+0.52511 0.42470 0.55275+0.56966 0.42848 0.55079+0.61422 0.43227 0.54883+0.65876 0.43604 0.54687+0.70324 0.43980 0.54492+0.74763 0.44354 0.54298+0.79188 0.44723 0.54107+0.83596 0.45088 0.53917+0.15387 0.43038 0.56601+0.19726 0.43383 0.56422+0.24093 0.43736 0.56239+0.28484 0.44095 0.56052+0.32895 0.44461 0.55863+0.37322 0.44831 0.55671+0.41763 0.45205 0.55477+0.46212 0.45581 0.55282+0.50667 0.45959 0.55086+0.55123 0.46338 0.54890+0.59577 0.46715 0.54694+0.64026 0.47092 0.54499+0.68465 0.47465 0.54305+0.72890 0.47835 0.54114+0.77299 0.48199 0.53924+0.81687 0.48558 0.53738+0.86050 0.48910 0.53556+0.17797 0.46848 0.56246+0.22187 0.47207 0.56059+0.26597 0.47572 0.55870+0.31024 0.47942 0.55678+0.35464 0.48316 0.55484+0.39913 0.48692 0.55289+0.44368 0.49070 0.55093+0.48824 0.49449 0.54897+0.53278 0.49826 0.54701+0.57727 0.50203 0.54506+0.62166 0.50576 0.54312+0.66593 0.50946 0.54121+0.71002 0.51311 0.53931+0.75391 0.51670 0.53745+0.79755 0.52023 0.53562+0.84092 0.52367 0.53384+0.88397 0.52702 0.53210+0.20300 0.50684 0.55877+0.24726 0.51054 0.55685+0.29166 0.51427 0.55491+0.33614 0.51804 0.55296+0.38069 0.52181 0.55100+0.42525 0.52560 0.54904+0.46980 0.52938 0.54708+0.51429 0.53314 0.54513+0.55868 0.53688 0.54319+0.60295 0.54058 0.54128+0.64705 0.54423 0.53938+0.69095 0.54782 0.53752+0.73460 0.55135 0.53569+0.77798 0.55479 0.53390+0.82104 0.55815 0.53216+0.86375 0.56141 0.53047+0.90606 0.56455 0.52884+0.22867 0.54539 0.55499+0.27316 0.54915 0.55304+0.31770 0.55292 0.55108+0.36226 0.55671 0.54911+0.40681 0.56049 0.54715+0.45130 0.56425 0.54520+0.49570 0.56799 0.54327+0.53997 0.57169 0.54135+0.58408 0.57534 0.53945+0.62799 0.57894 0.53759+0.67165 0.58247 0.53576+0.71504 0.58592 0.53397+0.75811 0.58928 0.53223+0.80083 0.59254 0.53054+0.84316 0.59569 0.52890+0.88507 0.59872 0.52733+0.92651 0.60161 0.52583+0.25471 0.58404 0.55115+0.29927 0.58782 0.54919+0.34382 0.59160 0.54723+0.38831 0.59536 0.54527+0.43272 0.59910 0.54334+0.47700 0.60280 0.54142+0.52111 0.60646 0.53952+0.56502 0.61006 0.53765+0.60870 0.61359 0.53582+0.65210 0.61704 0.53403+0.69518 0.62041 0.53229+0.73792 0.62367 0.53060+0.78026 0.62683 0.52896+0.82219 0.62986 0.52739+0.86365 0.63276 0.52588+0.90461 0.63552 0.52445+0.94504 0.63813 0.52310+0.28083 0.62271 0.54730+0.32533 0.62647 0.54535+0.36974 0.63021 0.54341+0.41402 0.63392 0.54149+0.45814 0.63758 0.53959+0.50206 0.64118 0.53772+0.54575 0.64471 0.53589+0.58916 0.64817 0.53410+0.63225 0.65153 0.53235+0.67500 0.65480 0.53066+0.71736 0.65796 0.52902+0.75930 0.66100 0.52744+0.80078 0.66391 0.52594+0.84176 0.66667 0.52450+0.88221 0.66929 0.52315+0.92208 0.67174 0.52188+0.96135 0.67401 0.52070+0.30676 0.66133 0.54348+0.35104 0.66503 0.54156+0.39517 0.66869 0.53966+0.43910 0.67230 0.53779+0.48279 0.67583 0.53596+0.52621 0.67929 0.53416+0.56932 0.68266 0.53242+0.61208 0.68593 0.53072+0.65446 0.68910 0.52908+0.69642 0.69214 0.52750+0.73791 0.69505 0.52599+0.77891 0.69782 0.52455+0.81938 0.70044 0.52320+0.85928 0.70290 0.52192+0.89856 0.70518 0.52074+0.93721 0.70729 0.51965+0.97517 0.70919 0.51866+0.33220 0.69981 0.53973+0.37614 0.70342 0.53786+0.41984 0.70695 0.53602+0.46327 0.71042 0.53423+0.50639 0.71379 0.53248+0.54917 0.71707 0.53078+0.59156 0.72023 0.52914+0.63353 0.72328 0.52756+0.67505 0.72620 0.52605+0.71606 0.72897 0.52461+0.75655 0.73160 0.52325+0.79647 0.73406 0.52197+0.83578 0.73635 0.52078+0.87445 0.73846 0.51969+0.91243 0.74038 0.51869+0.94970 0.74209 0.51781+0.98622 0.74358 0.51703+0.35689 0.73808 0.53609+0.40033 0.74154 0.53429+0.44346 0.74492 0.53254+0.48625 0.74820 0.53084+0.52866 0.75137 0.52920+0.57064 0.75442 0.52762+0.61218 0.75734 0.52610+0.65321 0.76012 0.52466+0.69372 0.76275 0.52329+0.73366 0.76522 0.52201+0.77299 0.76752 0.52082+0.81169 0.76964 0.51973+0.84970 0.77156 0.51873+0.88699 0.77328 0.51784+0.92354 0.77478 0.51706+0.95929 0.77606 0.51639+0.99421 0.77710 0.51585+0.38053 0.77605 0.53261+0.42333 0.77933 0.53090+0.46575 0.78250 0.52926+0.50776 0.78556 0.52767+0.54931 0.78849 0.52615+0.59036 0.79127 0.52471+0.63089 0.79391 0.52334+0.67085 0.79639 0.52206+0.71021 0.79869 0.52086+0.74892 0.80081 0.51976+0.78696 0.80274 0.51876+0.82428 0.80447 0.51787+0.86085 0.80598 0.51708+0.89663 0.80727 0.51642+0.93159 0.80832 0.51587+0.96568 0.80913 0.51545+0.99886 0.80968 0.51517+0.03647 0.17826 0.61456+0.07260 0.17965 0.61384+0.10950 0.18125 0.61301+0.14713 0.18307 0.61207+0.18547 0.18508 0.61102+0.22446 0.18728 0.60988+0.26409 0.18966 0.60865+0.30429 0.19221 0.60733+0.34506 0.19491 0.60593+0.38633 0.19776 0.60445+0.42808 0.20074 0.60290+0.47027 0.20385 0.60129+0.51286 0.20708 0.59962+0.55581 0.21040 0.59789+0.59909 0.21382 0.59612+0.64267 0.21732 0.59430+0.68649 0.22090 0.59245+0.04677 0.21244 0.61304+0.08438 0.21425 0.61210+0.12269 0.21625 0.61106+0.16167 0.21845 0.60993+0.20127 0.22082 0.60869+0.24146 0.22336 0.60738+0.28220 0.22606 0.60598+0.32345 0.22890 0.60450+0.36518 0.23188 0.60296+0.40736 0.23499 0.60135+0.44993 0.23820 0.59968+0.49288 0.24153 0.59796+0.53615 0.24494 0.59619+0.57971 0.24844 0.59437+0.62353 0.25202 0.59252+0.66756 0.25565 0.59064+0.71177 0.25933 0.58873+0.05992 0.24743 0.61110+0.09887 0.24961 0.60997+0.13845 0.25198 0.60874+0.17862 0.25451 0.60743+0.21934 0.25721 0.60603+0.26057 0.26004 0.60456+0.30229 0.26302 0.60302+0.34445 0.26612 0.60141+0.38701 0.26933 0.59974+0.42994 0.27265 0.59802+0.47320 0.27607 0.59625+0.51675 0.27956 0.59444+0.56056 0.28313 0.59259+0.60459 0.28676 0.59071+0.64879 0.29045 0.58880+0.69314 0.29417 0.58687+0.73760 0.29792 0.58492+0.07563 0.28314 0.60879+0.11578 0.28567 0.60748+0.15648 0.28835 0.60608+0.19770 0.29119 0.60462+0.23940 0.29416 0.60308+0.28154 0.29725 0.60147+0.32409 0.30046 0.59981+0.36700 0.30378 0.59809+0.41025 0.30719 0.59632+0.45379 0.31068 0.59451+0.49759 0.31425 0.59266+0.54161 0.31788 0.59078+0.58581 0.32156 0.58887+0.63016 0.32528 0.58694+0.67462 0.32904 0.58499+0.71914 0.33281 0.58303+0.76370 0.33659 0.58107+0.09362 0.31950 0.60614+0.13482 0.32233 0.60467+0.17650 0.32530 0.60313+0.21863 0.32839 0.60153+0.26116 0.33159 0.59987+0.30407 0.33491 0.59815+0.34730 0.33831 0.59638+0.39084 0.34180 0.59457+0.43463 0.34537 0.59273+0.47864 0.34899 0.59085+0.52283 0.35267 0.58894+0.56718 0.35639 0.58701+0.61163 0.36015 0.58506+0.65615 0.36392 0.58311+0.70071 0.36770 0.58115+0.74527 0.37148 0.57918+0.78979 0.37526 0.57723+0.11361 0.35643 0.60319+0.15572 0.35952 0.60159+0.19824 0.36272 0.59993+0.24113 0.36603 0.59821+0.28436 0.36944 0.59645+0.32788 0.37292 0.59464+0.37166 0.37649 0.59279+0.41567 0.38011 0.59092+0.45986 0.38379 0.58901+0.50419 0.38751 0.58708+0.54864 0.39126 0.58513+0.59316 0.39503 0.58318+0.63772 0.39881 0.58122+0.68228 0.40260 0.57926+0.72680 0.40637 0.57730+0.77125 0.41012 0.57536+0.81558 0.41384 0.57343+0.13532 0.39385 0.59999+0.17820 0.39716 0.59828+0.22141 0.40056 0.59652+0.26492 0.40404 0.59471+0.30870 0.40760 0.59286+0.35269 0.41123 0.59098+0.39688 0.41490 0.58908+0.44121 0.41862 0.58715+0.48565 0.42237 0.58521+0.53017 0.42614 0.58325+0.57473 0.42992 0.58129+0.61929 0.43371 0.57933+0.66381 0.43748 0.57737+0.70826 0.44123 0.57543+0.75260 0.44495 0.57350+0.79679 0.44863 0.57159+0.84080 0.45225 0.56971+0.15847 0.43168 0.59658+0.20197 0.43516 0.59478+0.24573 0.43872 0.59293+0.28972 0.44234 0.59105+0.33390 0.44602 0.58915+0.37823 0.44973 0.58722+0.42267 0.45348 0.58528+0.46719 0.45725 0.58332+0.51174 0.46103 0.58136+0.55630 0.46482 0.57940+0.60083 0.46859 0.57744+0.64528 0.47234 0.57550+0.68962 0.47606 0.57357+0.73382 0.47974 0.57166+0.77783 0.48337 0.56978+0.82162 0.48693 0.56793+0.86515 0.49043 0.56612+0.18277 0.46984 0.59300+0.22675 0.47346 0.59112+0.27092 0.47713 0.58922+0.31524 0.48085 0.58729+0.35968 0.48459 0.58535+0.40420 0.48836 0.58339+0.44875 0.49215 0.58143+0.49331 0.49593 0.57947+0.53784 0.49970 0.57752+0.58230 0.50346 0.57557+0.62664 0.50718 0.57364+0.67085 0.51086 0.57173+0.71486 0.51449 0.56985+0.75866 0.51805 0.56800+0.80221 0.52155 0.56619+0.84546 0.52496 0.56442+0.88837 0.52827 0.56270+0.20794 0.50824 0.58929+0.25226 0.51196 0.58736+0.29669 0.51571 0.58542+0.34121 0.51947 0.58347+0.38576 0.52326 0.58151+0.43032 0.52704 0.57954+0.47485 0.53081 0.57759+0.51931 0.53457 0.57564+0.56366 0.53829 0.57371+0.60787 0.54197 0.57180+0.65190 0.54561 0.56992+0.69571 0.54917 0.56807+0.73926 0.55267 0.56625+0.78252 0.55608 0.56448+0.82545 0.55940 0.56276+0.86801 0.56262 0.56110+0.91017 0.56572 0.55949+0.23371 0.54682 0.58549+0.27822 0.55059 0.58354+0.32277 0.55437 0.58158+0.36733 0.55815 0.57962+0.41186 0.56192 0.57766+0.45633 0.56568 0.57571+0.50068 0.56940 0.57378+0.54490 0.57309 0.57187+0.58893 0.57672 0.56999+0.63275 0.58029 0.56813+0.67631 0.58379 0.56632+0.71958 0.58721 0.56455+0.76253 0.59053 0.56282+0.80511 0.59375 0.56116+0.84728 0.59686 0.55955+0.88901 0.59984 0.55800+0.93027 0.60268 0.55653+0.25978 0.58548 0.58165+0.30435 0.58926 0.57969+0.34888 0.59304 0.57773+0.39334 0.59679 0.57578+0.43770 0.60052 0.57385+0.48192 0.60420 0.57194+0.52597 0.60784 0.57006+0.56979 0.61141 0.56820+0.61336 0.61492 0.56639+0.65665 0.61834 0.56461+0.69960 0.62166 0.56289+0.74220 0.62489 0.56122+0.78439 0.62800 0.55960+0.82614 0.63098 0.55806+0.86741 0.63383 0.55658+0.90817 0.63653 0.55518+0.94839 0.63908 0.55386+0.28589 0.62415 0.57780+0.33036 0.62790 0.57586+0.37472 0.63163 0.57392+0.41895 0.63532 0.57201+0.46300 0.63896 0.57012+0.50683 0.64253 0.56827+0.55042 0.64604 0.56645+0.59371 0.64946 0.56468+0.63668 0.65279 0.56295+0.67929 0.65602 0.56128+0.72149 0.65913 0.55966+0.76326 0.66212 0.55811+0.80455 0.66498 0.55663+0.84533 0.66769 0.55523+0.88557 0.67024 0.55390+0.92521 0.67263 0.55267+0.96424 0.67484 0.55152+0.31174 0.66275 0.57399+0.35598 0.66644 0.57208+0.40003 0.67007 0.57019+0.44387 0.67365 0.56834+0.48747 0.67716 0.56652+0.53077 0.68059 0.56474+0.57375 0.68392 0.56301+0.61637 0.68715 0.56134+0.65860 0.69027 0.55972+0.70038 0.69327 0.55817+0.74169 0.69613 0.55668+0.78249 0.69884 0.55528+0.82275 0.70140 0.55395+0.86241 0.70379 0.55271+0.90146 0.70601 0.55156+0.93985 0.70804 0.55051+0.97754 0.70987 0.54956+0.33706 0.70119 0.57026+0.38092 0.70477 0.56840+0.42452 0.70828 0.56658+0.46784 0.71171 0.56481+0.51083 0.71505 0.56308+0.55346 0.71829 0.56140+0.59570 0.72141 0.55978+0.63750 0.72441 0.55822+0.67883 0.72727 0.55674+0.71965 0.72999 0.55533+0.75992 0.73256 0.55400+0.79962 0.73496 0.55275+0.83869 0.73718 0.55160+0.87710 0.73921 0.55055+0.91481 0.74105 0.54959+0.95180 0.74268 0.54875+0.98802 0.74409 0.54802+0.36157 0.73941 0.56665+0.40490 0.74284 0.56487+0.44790 0.74618 0.56314+0.49055 0.74942 0.56146+0.53280 0.75255 0.55984+0.57462 0.75555 0.55828+0.61597 0.75842 0.55679+0.65681 0.76115 0.55538+0.69710 0.76372 0.55405+0.73682 0.76612 0.55280+0.77591 0.76835 0.55164+0.81435 0.77039 0.55058+0.85209 0.77224 0.54963+0.88910 0.77388 0.54878+0.92535 0.77530 0.54804+0.96079 0.77649 0.54742+0.99538 0.77744 0.54693+0.38498 0.77731 0.56320+0.42764 0.78055 0.56152+0.46991 0.78368 0.55990+0.51174 0.78669 0.55834+0.55311 0.78957 0.55684+0.59396 0.79230 0.55543+0.63428 0.79487 0.55409+0.67402 0.79729 0.55284+0.71313 0.79952 0.55168+0.75159 0.80157 0.55062+0.78936 0.80342 0.54966+0.82640 0.80507 0.54881+0.86268 0.80650 0.54807+0.89815 0.80770 0.54744+0.93277 0.80866 0.54695+0.96652 0.80937 0.54658+0.99936 0.80982 0.54634+0.03824 0.17876 0.64555+0.07466 0.18023 0.64479+0.11185 0.18192 0.64391+0.14975 0.18381 0.64293+0.18834 0.18590 0.64185+0.22758 0.18817 0.64067+0.26743 0.19061 0.63940+0.30786 0.19322 0.63805+0.34882 0.19598 0.63662+0.39028 0.19888 0.63512+0.43220 0.20191 0.63354+0.47455 0.20507 0.63191+0.51728 0.20833 0.63022+0.56036 0.21170 0.62847+0.60376 0.21515 0.62668+0.64743 0.21868 0.62485+0.69135 0.22228 0.62299+0.04911 0.21310 0.64395+0.08699 0.21499 0.64297+0.12556 0.21707 0.64189+0.16478 0.21933 0.64072+0.20461 0.22177 0.63945+0.24501 0.22437 0.63810+0.28595 0.22713 0.63668+0.32739 0.23002 0.63517+0.36930 0.23305 0.63360+0.41163 0.23620 0.63197+0.45435 0.23946 0.63028+0.49742 0.24282 0.62854+0.54081 0.24627 0.62675+0.58447 0.24980 0.62492+0.62838 0.25339 0.62306+0.67248 0.25705 0.62116+0.71675 0.26075 0.61924+0.06278 0.24824 0.64193+0.10197 0.25050 0.64076+0.14178 0.25293 0.63950+0.18216 0.25552 0.63815+0.22309 0.25827 0.63673+0.26451 0.26116 0.63523+0.30640 0.26419 0.63366+0.34872 0.26733 0.63203+0.39142 0.27059 0.63034+0.43448 0.27394 0.62860+0.47786 0.27739 0.62682+0.52151 0.28092 0.62499+0.56541 0.28451 0.62312+0.60951 0.28816 0.62123+0.65377 0.29186 0.61931+0.69817 0.29560 0.61737+0.74266 0.29936 0.61542+0.07896 0.28408 0.63955+0.11932 0.28667 0.63821+0.16022 0.28942 0.63678+0.20163 0.29230 0.63529+0.24350 0.29532 0.63372+0.28580 0.29846 0.63209+0.32849 0.30172 0.63041+0.37154 0.30507 0.62867+0.41491 0.30851 0.62688+0.45855 0.31204 0.62506+0.50244 0.31563 0.62319+0.54653 0.31928 0.62130+0.59079 0.32298 0.61938+0.63518 0.32671 0.61745+0.67967 0.33047 0.61550+0.72421 0.33425 0.61354+0.76878 0.33803 0.61157+0.09736 0.32056 0.63684+0.13875 0.32345 0.63534+0.18060 0.32646 0.63378+0.22289 0.32960 0.63215+0.26557 0.33285 0.63047+0.30860 0.33619 0.62873+0.35195 0.33963 0.62695+0.39559 0.34315 0.62512+0.43947 0.34674 0.62326+0.48355 0.35039 0.62137+0.52781 0.35409 0.61945+0.57220 0.35782 0.61752+0.61668 0.36158 0.61557+0.66123 0.36536 0.61361+0.70579 0.36915 0.61165+0.75034 0.37292 0.60969+0.79483 0.37669 0.60774+0.11770 0.35760 0.63384+0.15997 0.36073 0.63221+0.20264 0.36397 0.63053+0.24566 0.36732 0.62880+0.28900 0.37076 0.62702+0.33263 0.37427 0.62519+0.37650 0.37786 0.62333+0.42058 0.38151 0.62144+0.46483 0.38520 0.61953+0.50921 0.38893 0.61759+0.55370 0.39269 0.61564+0.59824 0.39647 0.61368+0.64280 0.40026 0.61172+0.68735 0.40404 0.60976+0.73184 0.40780 0.60781+0.77625 0.41154 0.60587+0.82053 0.41524 0.60395+0.13971 0.39510 0.63059+0.18272 0.39844 0.62886+0.22605 0.40188 0.62708+0.26967 0.40539 0.62526+0.31353 0.40898 0.62340+0.35760 0.41262 0.62151+0.40185 0.41631 0.61960+0.44623 0.42005 0.61766+0.49071 0.42381 0.61571+0.53525 0.42758 0.61375+0.57981 0.43137 0.61179+0.62436 0.43515 0.60983+0.66886 0.43891 0.60788+0.71327 0.44265 0.60594+0.75755 0.44636 0.60402+0.80168 0.45002 0.60212+0.84560 0.45362 0.60025+0.16310 0.43300 0.62715+0.20671 0.43651 0.62533+0.25056 0.44009 0.62347+0.29463 0.44374 0.62158+0.33887 0.44743 0.61967+0.38324 0.45116 0.61773+0.42772 0.45492 0.61578+0.47226 0.45869 0.61383+0.51682 0.46248 0.61186+0.56137 0.46626 0.60990+0.60587 0.47002 0.60795+0.65029 0.47377 0.60601+0.69458 0.47747 0.60409+0.73871 0.48113 0.60219+0.78264 0.48474 0.60032+0.82634 0.48827 0.59849+0.86976 0.49173 0.59669+0.18760 0.47121 0.62354+0.23165 0.47485 0.62165+0.27589 0.47854 0.61974+0.32026 0.48227 0.61780+0.36473 0.48603 0.61586+0.40927 0.48980 0.61390+0.45383 0.49359 0.61194+0.49838 0.49737 0.60998+0.54289 0.50114 0.60802+0.58730 0.50488 0.60608+0.63160 0.50859 0.60416+0.67574 0.51225 0.60226+0.71968 0.51586 0.60039+0.76338 0.51940 0.59855+0.80682 0.52286 0.59676+0.84995 0.52623 0.59501+0.89273 0.52951 0.59331+0.21291 0.50966 0.61981+0.25727 0.51338 0.61788+0.30174 0.51714 0.61593+0.34628 0.52092 0.61397+0.39084 0.52470 0.61201+0.43539 0.52848 0.61005+0.47990 0.53225 0.60809+0.52432 0.53599 0.60615+0.56862 0.53970 0.60423+0.61277 0.54337 0.60233+0.65671 0.54697 0.60046+0.70043 0.55052 0.59862+0.74388 0.55398 0.59682+0.78702 0.55736 0.59507+0.82981 0.56064 0.59337+0.87222 0.56382 0.59172+0.91422 0.56687 0.59014+0.23876 0.54825 0.61600+0.28329 0.55203 0.61404+0.32785 0.55581 0.61208+0.37240 0.55959 0.61012+0.41691 0.56336 0.60817+0.46134 0.56710 0.60622+0.50565 0.57082 0.60430+0.54980 0.57448 0.60240+0.59375 0.57809 0.60053+0.63748 0.58164 0.59869+0.68093 0.58511 0.59689+0.72408 0.58849 0.59514+0.76689 0.59177 0.59343+0.80932 0.59495 0.59178+0.85133 0.59801 0.59020+0.89289 0.60094 0.58868+0.93395 0.60373 0.58723+0.26486 0.58692 0.61215+0.30941 0.59070 0.61019+0.35393 0.59447 0.60824+0.39836 0.59822 0.60629+0.44267 0.60193 0.60437+0.48682 0.60560 0.60247+0.53079 0.60921 0.60059+0.57452 0.61276 0.59875+0.61799 0.61623 0.59695+0.66115 0.61962 0.59520+0.70397 0.62291 0.59349+0.74642 0.62609 0.59184+0.78844 0.62915 0.59026+0.83002 0.63208 0.58873+0.87110 0.63488 0.58729+0.91166 0.63752 0.58591+0.95165 0.64001 0.58463+0.29094 0.62558 0.60831+0.33537 0.62933 0.60637+0.37969 0.63304 0.60444+0.42385 0.63671 0.60254+0.46782 0.64033 0.60066+0.51157 0.64388 0.59882+0.55504 0.64735 0.59702+0.59822 0.65074 0.59526+0.64105 0.65404 0.59356+0.68351 0.65722 0.59190+0.72555 0.66029 0.59031+0.76715 0.66323 0.58879+0.80825 0.66603 0.58734+0.84883 0.66868 0.58596+0.88884 0.67117 0.58467+0.92825 0.67349 0.58347+0.96703 0.67563 0.58236+0.31671 0.66416 0.60451+0.36088 0.66783 0.60261+0.40486 0.67145 0.60073+0.44861 0.67500 0.59889+0.49210 0.67848 0.59709+0.53529 0.68187 0.59533+0.57813 0.68517 0.59362+0.62061 0.68836 0.59196+0.66267 0.69143 0.59037+0.70427 0.69437 0.58884+0.74540 0.69718 0.58739+0.78599 0.69983 0.58601+0.82603 0.70233 0.58472+0.86546 0.70466 0.58351+0.90426 0.70680 0.58240+0.94239 0.70876 0.58138+0.97980 0.71051 0.58048+0.34190 0.70256 0.60080+0.38566 0.70612 0.59896+0.42915 0.70960 0.59715+0.47235 0.71300 0.59539+0.51521 0.71630 0.59368+0.55770 0.71949 0.59202+0.59978 0.72257 0.59043+0.64140 0.72552 0.58890+0.68254 0.72833 0.58744+0.72316 0.73099 0.58606+0.76321 0.73349 0.58476+0.80267 0.73583 0.58355+0.84150 0.73798 0.58244+0.87965 0.73994 0.58142+0.91709 0.74170 0.58051+0.95379 0.74325 0.57971+0.98970 0.74457 0.57902+0.36621 0.74073 0.59722+0.40942 0.74412 0.59545+0.45229 0.74743 0.59374+0.49479 0.75063 0.59208+0.53688 0.75371 0.59049+0.57853 0.75666 0.58895+0.61969 0.75948 0.58749+0.66032 0.76214 0.58611+0.70040 0.76465 0.58481+0.73988 0.76699 0.58360+0.77873 0.76915 0.58248+0.81691 0.77112 0.58146+0.85438 0.77289 0.58054+0.89110 0.77444 0.57973+0.92704 0.77578 0.57904+0.96216 0.77688 0.57847+0.99643 0.77773 0.57803+0.38937 0.77856 0.59380+0.43189 0.78176 0.59214+0.47399 0.78485 0.59054+0.51565 0.78780 0.58901+0.55683 0.79063 0.58755+0.59749 0.79330 0.58616+0.63759 0.79581 0.58486+0.67709 0.79816 0.58364+0.71596 0.80033 0.58252+0.75416 0.80230 0.58149+0.79166 0.80408 0.58057+0.82841 0.80564 0.57976+0.86438 0.80698 0.57906+0.89954 0.80809 0.57849+0.93383 0.80896 0.57804+0.96724 0.80957 0.57772+0.99971 0.80992 0.57754+0.04012 0.17930 0.67652+0.07684 0.18085 0.67572+0.11430 0.18262 0.67480+0.15247 0.18458 0.67378+0.19132 0.18674 0.67266+0.23079 0.18908 0.67145+0.27087 0.19159 0.67015+0.31150 0.19425 0.66877+0.35265 0.19707 0.66731+0.39429 0.20002 0.66578+0.43638 0.20310 0.66418+0.47888 0.20630 0.66252+0.52175 0.20960 0.66081+0.56496 0.21300 0.65905+0.60847 0.21649 0.65724+0.65224 0.22004 0.65539+0.69623 0.22366 0.65352+0.05156 0.21380 0.67484+0.08971 0.21576 0.67382+0.12852 0.21791 0.67270+0.16798 0.22024 0.67150+0.20803 0.22274 0.67020+0.24864 0.22540 0.66882+0.28978 0.22821 0.66736+0.33140 0.23116 0.66583+0.37348 0.23424 0.66424+0.41596 0.23743 0.66258+0.45882 0.24073 0.66087+0.50201 0.24413 0.65911+0.54551 0.24761 0.65731+0.58927 0.25116 0.65546+0.63326 0.25478 0.65359+0.67743 0.25845 0.65168+0.72176 0.26217 0.64975+0.06573 0.24908 0.67275+0.10517 0.25140 0.67154+0.14520 0.25390 0.67025+0.18579 0.25655 0.66887+0.22691 0.25936 0.66742+0.26851 0.26230 0.66589+0.31057 0.26537 0.66430+0.35304 0.26856 0.66264+0.39588 0.27186 0.66094+0.43907 0.27525 0.65918+0.48256 0.27873 0.65737+0.52631 0.28228 0.65553+0.57028 0.28590 0.65366+0.61445 0.28957 0.65175+0.65877 0.29328 0.64983+0.70321 0.29703 0.64788+0.74772 0.30080 0.64593+0.08236 0.28505 0.67030+0.12294 0.28770 0.66892+0.16404 0.29050 0.66747+0.20562 0.29344 0.66595+0.24766 0.29651 0.66436+0.29012 0.29969 0.66271+0.33295 0.30298 0.66100+0.37612 0.30637 0.65924+0.41960 0.30985 0.65744+0.46334 0.31340 0.65560+0.50731 0.31701 0.65373+0.55147 0.32068 0.65182+0.59579 0.32440 0.64990+0.64022 0.32814 0.64795+0.68474 0.33191 0.64600+0.72929 0.33569 0.64404+0.77385 0.33948 0.64208+0.10117 0.32165 0.66753+0.14274 0.32458 0.66600+0.18476 0.32764 0.66442+0.22720 0.33082 0.66277+0.27002 0.33411 0.66106+0.31318 0.33750 0.65931+0.35665 0.34097 0.65751+0.40038 0.34452 0.65567+0.44434 0.34813 0.65379+0.48850 0.35180 0.65189+0.53281 0.35551 0.64997+0.57724 0.35925 0.64803+0.62175 0.36302 0.64607+0.66630 0.36680 0.64411+0.71086 0.37059 0.64215+0.75539 0.37436 0.64019+0.79986 0.37812 0.63824+0.12186 0.35878 0.66448+0.16428 0.36195 0.66283+0.20709 0.36524 0.66113+0.25024 0.36862 0.65937+0.29369 0.37209 0.65757+0.33741 0.37563 0.65574+0.38137 0.37924 0.65386+0.42552 0.38291 0.65196+0.46982 0.38662 0.65004+0.51425 0.39037 0.64810+0.55876 0.39413 0.64614+0.60331 0.39791 0.64418+0.64787 0.40170 0.64222+0.69241 0.40547 0.64026+0.73687 0.40923 0.63832+0.78124 0.41296 0.63638+0.82546 0.41664 0.63447+0.14416 0.39637 0.66119+0.18729 0.39974 0.65944+0.23074 0.40321 0.65764+0.27445 0.40675 0.65580+0.31840 0.41036 0.65393+0.36254 0.41402 0.65203+0.40684 0.41773 0.65011+0.45126 0.42148 0.64817+0.49577 0.42524 0.64622+0.54032 0.42903 0.64426+0.58488 0.43281 0.64229+0.62942 0.43658 0.64034+0.67389 0.44034 0.63839+0.71826 0.44407 0.63645+0.76248 0.44776 0.63454+0.80654 0.45140 0.63266+0.85037 0.45497 0.63080+0.16778 0.43433 0.65771+0.21149 0.43787 0.65587+0.25543 0.44148 0.65400+0.29956 0.44514 0.65210+0.34386 0.44885 0.65018+0.38828 0.45259 0.64824+0.43278 0.45636 0.64629+0.47733 0.46014 0.64433+0.52189 0.46392 0.64237+0.56643 0.46770 0.64041+0.61090 0.47145 0.63846+0.65528 0.47518 0.63653+0.69951 0.47887 0.63461+0.74357 0.48251 0.63272+0.78742 0.48609 0.63087+0.83101 0.48960 0.62905+0.87432 0.49303 0.62727+0.19246 0.47259 0.65407+0.23659 0.47625 0.65217+0.28088 0.47996 0.65025+0.32529 0.48370 0.64831+0.36979 0.48747 0.64636+0.41434 0.49125 0.64440+0.45890 0.49503 0.64244+0.50344 0.49881 0.64048+0.54792 0.50257 0.63853+0.59229 0.50630 0.63660+0.63653 0.50999 0.63468+0.68060 0.51363 0.63279+0.72446 0.51721 0.63094+0.76806 0.52073 0.62911+0.81139 0.52416 0.62734+0.85439 0.52750 0.62560+0.89703 0.53073 0.62393+0.21789 0.51107 0.65032+0.26230 0.51481 0.64838+0.30680 0.51858 0.64643+0.35135 0.52236 0.64447+0.39591 0.52614 0.64251+0.44045 0.52992 0.64055+0.48493 0.53368 0.63860+0.52931 0.53741 0.63667+0.57356 0.54110 0.63475+0.61763 0.54475 0.63286+0.66150 0.54833 0.63100+0.70511 0.55185 0.62918+0.74845 0.55528 0.62740+0.79146 0.55863 0.62567+0.83411 0.56187 0.62399+0.87637 0.56500 0.62236+0.91820 0.56800 0.62081+0.24381 0.54969 0.64650+0.28836 0.55347 0.64454+0.33293 0.55725 0.64258+0.37747 0.56103 0.64062+0.42195 0.56479 0.63867+0.46633 0.56852 0.63674+0.51058 0.57222 0.63482+0.55466 0.57587 0.63293+0.59854 0.57945 0.63107+0.64216 0.58297 0.62925+0.68551 0.58641 0.62746+0.72853 0.58975 0.62573+0.77120 0.59300 0.62405+0.81347 0.59613 0.62242+0.85532 0.59914 0.62086+0.89669 0.60202 0.61937+0.93756 0.60475 0.61795+0.26994 0.58836 0.64265+0.31448 0.59214 0.64070+0.35896 0.59590 0.63874+0.40335 0.59964 0.63681+0.44761 0.60333 0.63489+0.49170 0.60698 0.63300+0.53558 0.61057 0.63114+0.57921 0.61409 0.62931+0.62257 0.61753 0.62753+0.66561 0.62088 0.62579+0.70829 0.62413 0.62411+0.75058 0.62727 0.62248+0.79243 0.63028 0.62092+0.83383 0.63317 0.61942+0.87471 0.63591 0.61800+0.91506 0.63849 0.61666+0.95483 0.64091 0.61541+0.29598 0.62701 0.63882+0.34037 0.63075 0.63688+0.38463 0.63445 0.63496+0.42873 0.63810 0.63307+0.47262 0.64169 0.63121+0.51626 0.64521 0.62938+0.55963 0.64866 0.62759+0.60268 0.65201 0.62586+0.64537 0.65526 0.62417+0.68768 0.65841 0.62254+0.72955 0.66143 0.62097+0.77096 0.66431 0.61948+0.81187 0.66706 0.61805+0.85223 0.66965 0.61671+0.89202 0.67208 0.61545+0.93120 0.67433 0.61428+0.96972 0.67639 0.61321+0.32166 0.66556 0.63503+0.36576 0.66922 0.63314+0.40966 0.67281 0.63127+0.45331 0.67634 0.62945+0.49669 0.67978 0.62766+0.53975 0.68314 0.62592+0.58246 0.68640 0.62423+0.62478 0.68954 0.62260+0.66667 0.69257 0.62103+0.70810 0.69546 0.61953+0.74902 0.69821 0.61810+0.78941 0.70081 0.61676+0.82922 0.70324 0.61550+0.86842 0.70550 0.61433+0.90697 0.70757 0.61325+0.94482 0.70945 0.61228+0.98196 0.71112 0.61141+0.34669 0.70393 0.63134+0.39036 0.70746 0.62951+0.43375 0.71091 0.62772+0.47682 0.71427 0.62598+0.51954 0.71753 0.62429+0.56188 0.72068 0.62266+0.60379 0.72371 0.62109+0.64523 0.72661 0.61958+0.68618 0.72936 0.61816+0.72658 0.73196 0.61681+0.76642 0.73440 0.61554+0.80564 0.73667 0.61437+0.84421 0.73875 0.61329+0.88209 0.74063 0.61231+0.91926 0.74231 0.61144+0.95566 0.74378 0.61068+0.99126 0.74502 0.61004+0.37081 0.74203 0.62779+0.41389 0.74540 0.62604+0.45663 0.74866 0.62435+0.49898 0.75181 0.62272+0.54090 0.75485 0.62114+0.58236 0.75775 0.61964+0.62333 0.76051 0.61821+0.66376 0.76312 0.61685+0.70361 0.76557 0.61559+0.74285 0.76784 0.61441+0.78145 0.76993 0.61333+0.81936 0.77182 0.61234+0.85655 0.77351 0.61147+0.89298 0.77498 0.61071+0.92862 0.77622 0.61006+0.96342 0.77723 0.60954+0.99734 0.77800 0.60914+0.39371 0.77979 0.62441+0.43608 0.78295 0.62278+0.47802 0.78599 0.62120+0.51950 0.78890 0.61969+0.56048 0.79166 0.61826+0.60093 0.79428 0.61690+0.64081 0.79673 0.61563+0.68007 0.79901 0.61445+0.71869 0.80110 0.61336+0.75663 0.80300 0.61238+0.79385 0.80470 0.61150+0.83031 0.80618 0.61073+0.86597 0.80743 0.61008+0.90080 0.80845 0.60955+0.93476 0.80922 0.60915+0.96782 0.80973 0.60889+0.99993 0.80998 0.60876+0.04211 0.17986 0.70748+0.07912 0.18150 0.70663+0.11686 0.18334 0.70567+0.15529 0.18539 0.70462+0.19438 0.18761 0.70346+0.23409 0.19002 0.70221+0.27438 0.19259 0.70088+0.31522 0.19531 0.69947+0.35656 0.19818 0.69798+0.39838 0.20118 0.69642+0.44062 0.20431 0.69480+0.48327 0.20755 0.69312+0.52627 0.21089 0.69139+0.56960 0.21432 0.68961+0.61321 0.21783 0.68779+0.65707 0.22142 0.68593+0.70114 0.22506 0.68404+0.05411 0.21452 0.70571+0.09251 0.21656 0.70466+0.13158 0.21878 0.70350+0.17127 0.22118 0.70226+0.21154 0.22374 0.70093+0.25235 0.22646 0.69952+0.29368 0.22932 0.69804+0.33548 0.23232 0.69648+0.37771 0.23544 0.69486+0.42034 0.23868 0.69319+0.46334 0.24201 0.69146+0.50665 0.24544 0.68968+0.55025 0.24895 0.68786+0.59410 0.25253 0.68600+0.63816 0.25618 0.68411+0.68240 0.25987 0.68220+0.72677 0.26360 0.68026+0.06878 0.24994 0.70355+0.10845 0.25233 0.70231+0.14870 0.25489 0.70098+0.18949 0.25761 0.69957+0.23080 0.26046 0.69809+0.27258 0.26346 0.69654+0.31480 0.26657 0.69492+0.35742 0.26981 0.69325+0.40040 0.27314 0.69152+0.44370 0.27656 0.68974+0.48729 0.28007 0.68793+0.53113 0.28365 0.68607+0.57519 0.28729 0.68418+0.61942 0.29098 0.68227+0.66379 0.29471 0.68034+0.70826 0.29847 0.67839+0.75279 0.30224 0.67643+0.08585 0.28605 0.70103+0.12663 0.28875 0.69963+0.16792 0.29161 0.69815+0.20969 0.29460 0.69660+0.25189 0.29771 0.69498+0.29449 0.30093 0.69331+0.33746 0.30426 0.69158+0.38075 0.30769 0.68981+0.42433 0.31119 0.68799+0.46817 0.31477 0.68614+0.51221 0.31841 0.68425+0.55644 0.32209 0.68234+0.60080 0.32582 0.68041+0.64527 0.32958 0.67846+0.68981 0.33335 0.67650+0.73437 0.33714 0.67454+0.77892 0.34092 0.67258+0.10504 0.32275 0.69820+0.14679 0.32573 0.69666+0.18898 0.32884 0.69505+0.23157 0.33206 0.69337+0.27452 0.33539 0.69165+0.31780 0.33881 0.68988+0.36138 0.34231 0.68806+0.40520 0.34589 0.68621+0.44924 0.34952 0.68432+0.49346 0.35321 0.68241+0.53782 0.35693 0.68048+0.58228 0.36069 0.67853+0.62682 0.36446 0.67657+0.67138 0.36825 0.67461+0.71593 0.37203 0.67265+0.76044 0.37580 0.67070+0.80487 0.37954 0.66876+0.12607 0.35998 0.69511+0.16865 0.36319 0.69344+0.21159 0.36652 0.69171+0.25486 0.36993 0.68994+0.29842 0.37343 0.68813+0.34223 0.37700 0.68628+0.38627 0.38064 0.68439+0.43048 0.38432 0.68248+0.47483 0.38805 0.68055+0.51930 0.39180 0.67860+0.56383 0.39557 0.67665+0.60839 0.39936 0.67469+0.65294 0.40314 0.67272+0.69745 0.40691 0.67077+0.74189 0.41065 0.66883+0.78620 0.41437 0.66690+0.83036 0.41804 0.66500+0.14865 0.39764 0.69178+0.19191 0.40106 0.69001+0.23546 0.40455 0.68820+0.27927 0.40812 0.68634+0.32329 0.41175 0.68446+0.36750 0.41543 0.68255+0.41185 0.41916 0.68062+0.45631 0.42291 0.67868+0.50084 0.42669 0.67672+0.54540 0.43047 0.67476+0.58995 0.43425 0.67280+0.63447 0.43802 0.67084+0.67890 0.44177 0.66890+0.72322 0.44548 0.66697+0.76739 0.44915 0.66507+0.81136 0.45277 0.66319+0.85511 0.45632 0.66135+0.17250 0.43567 0.68826+0.21630 0.43924 0.68641+0.26032 0.44287 0.68453+0.30452 0.44655 0.68262+0.34887 0.45027 0.68069+0.39332 0.45402 0.67875+0.43785 0.45780 0.67679+0.48241 0.46158 0.67483+0.52696 0.46536 0.67287+0.57148 0.46913 0.67091+0.61592 0.47288 0.66897+0.66024 0.47660 0.66704+0.70442 0.48027 0.66514+0.74840 0.48389 0.66326+0.79215 0.48744 0.66142+0.83565 0.49092 0.65962+0.87884 0.49431 0.65786+0.19735 0.47398 0.68460+0.24154 0.47766 0.68269+0.28588 0.48138 0.68076+0.33033 0.48513 0.67882+0.37486 0.48891 0.67686+0.41942 0.49269 0.67490+0.46398 0.49647 0.67294+0.50849 0.50024 0.67099+0.55294 0.50399 0.66904+0.59727 0.50771 0.66711+0.64144 0.51138 0.66521+0.68543 0.51500 0.66333+0.72920 0.51856 0.66149+0.77270 0.52204 0.65968+0.81591 0.52544 0.65792+0.85877 0.52874 0.65621+0.90127 0.53194 0.65455+0.22290 0.51249 0.68084+0.26735 0.51625 0.67889+0.31187 0.52002 0.67694+0.35643 0.52380 0.67497+0.40099 0.52758 0.67301+0.44551 0.53135 0.67106+0.48995 0.53511 0.66911+0.53429 0.53882 0.66718+0.57847 0.54250 0.66528+0.62247 0.54612 0.66340+0.66624 0.54968 0.66155+0.70976 0.55317 0.65975+0.75297 0.55657 0.65798+0.79585 0.55987 0.65627+0.83836 0.56307 0.65461+0.88046 0.56616 0.65301+0.92211 0.56911 0.65148+0.24888 0.55113 0.67701+0.29344 0.55491 0.67505+0.33800 0.55869 0.67308+0.38252 0.56247 0.67113+0.42697 0.56622 0.66918+0.47131 0.56994 0.66725+0.51550 0.57362 0.66535+0.55950 0.57724 0.66347+0.60329 0.58080 0.66162+0.64681 0.58429 0.65981+0.69004 0.58769 0.65805+0.73293 0.59100 0.65633+0.77545 0.59421 0.65467+0.81757 0.59730 0.65307+0.85923 0.60026 0.65153+0.90042 0.60308 0.65007+0.94108 0.60576 0.64868+0.27501 0.58980 0.67316+0.31953 0.59358 0.67120+0.36399 0.59733 0.66925+0.40833 0.60105 0.66733+0.45253 0.60473 0.66542+0.49654 0.60836 0.66354+0.54033 0.61192 0.66169+0.58386 0.61541 0.65988+0.62710 0.61882 0.65811+0.67001 0.62213 0.65639+0.71254 0.62534 0.65473+0.75467 0.62843 0.65313+0.79636 0.63140 0.65159+0.83756 0.63423 0.65012+0.87825 0.63691 0.64873+0.91838 0.63943 0.64742+0.95791 0.64179 0.64620+0.30100 0.62844 0.66933+0.34535 0.63217 0.66740+0.38955 0.63585 0.66549+0.43357 0.63948 0.66361+0.47737 0.64304 0.66176+0.52092 0.64654 0.65994+0.56417 0.64995 0.65818+0.60709 0.65326 0.65646+0.64964 0.65648 0.65479+0.69178 0.65957 0.65318+0.73348 0.66254 0.65164+0.77471 0.66538 0.65018+0.81541 0.66806 0.64878+0.85556 0.67059 0.64747+0.89512 0.67296 0.64625+0.93405 0.67514 0.64511+0.97231 0.67713 0.64408+0.32658 0.66696 0.66556+0.37061 0.67059 0.66367+0.41442 0.67416 0.66182+0.45797 0.67766 0.66001+0.50123 0.68107 0.65824+0.54416 0.68439 0.65652+0.58673 0.68761 0.65485+0.62889 0.69071 0.65324+0.67061 0.69369 0.65170+0.71185 0.69653 0.65023+0.75257 0.69922 0.64883+0.79274 0.70175 0.64752+0.83232 0.70412 0.64629+0.87128 0.70631 0.64515+0.90957 0.70831 0.64412+0.94716 0.71011 0.64318+0.98400 0.71170 0.64236+0.35146 0.70528 0.66189+0.39502 0.70878 0.66008+0.43829 0.71220 0.65830+0.48124 0.71552 0.65658+0.52382 0.71874 0.65491+0.56599 0.72185 0.65330+0.60773 0.72483 0.65176+0.64899 0.72767 0.65028+0.68973 0.73037 0.64888+0.72993 0.73291 0.64756+0.76953 0.73529 0.64633+0.80851 0.73748 0.64519+0.84682 0.73949 0.64415+0.88444 0.74130 0.64321+0.92131 0.74290 0.64239+0.95741 0.74428 0.64167+0.99270 0.74543 0.64108+0.37536 0.74333 0.65837+0.41832 0.74665 0.65664+0.46091 0.74988 0.65497+0.50310 0.75299 0.65336+0.54485 0.75597 0.65181+0.58613 0.75882 0.65033+0.62689 0.76152 0.64893+0.66711 0.76407 0.64761+0.70673 0.76645 0.64638+0.74573 0.76866 0.64523+0.78407 0.77067 0.64419+0.82171 0.77249 0.64325+0.85862 0.77409 0.64241+0.89475 0.77548 0.64169+0.93007 0.77664 0.64110+0.96454 0.77755 0.64062+0.99813 0.77822 0.64028+0.39800 0.78101 0.65503+0.44020 0.78412 0.65342+0.48197 0.78711 0.65187+0.52327 0.78997 0.65039+0.56405 0.79268 0.64898+0.60429 0.79523 0.64766+0.64394 0.79762 0.64642+0.68296 0.79983 0.64527+0.72133 0.80185 0.64423+0.75899 0.80367 0.64328+0.79592 0.80529 0.64244+0.83208 0.80668 0.64172+0.86743 0.80785 0.64111+0.90194 0.80877 0.64064+0.93556 0.80945 0.64029+0.96826 0.80986 0.64007+1.00000 0.81000 0.64000diff --git a/examples/29_capabilities_reel/package.json b/examples/29_capabilities_reel/package.jsonnew file mode 100644index 00000000..c76bb5b1--- /dev/null+++ b/examples/29_capabilities_reel/package.json@@ -0,0 +1,25 @@+{+ "name": "@framefields/example-29-capabilities-reel",+ "version": "2.3.1",+ "private": true,+ "type": "module",+ "scripts": {+ "assets": "tsx src/fetch-assets.ts",+ "score": "tsx src/score.ts",+ "probe": "tsx src/probe.ts",+ "probe:nodes": "tsx src/nodes-probe.ts",+ "render": "tsx src/render.ts",+ "render:src": "tsx --tsconfig tsconfig.dev.json --conditions=development src/render.ts",+ "typecheck": "tsc --noEmit -p .",+ "render:segments": "tsx src/render-segments.ts"+ },+ "dependencies": {+ "framefields": "workspace:*"+ },+ "devDependencies": {+ "@framefields/tsconfig": "workspace:*",+ "@types/node": "^24.1.0",+ "tsx": "^4.20.3",+ "typescript": "^5.8.3"+ }+}diff --git a/examples/29_capabilities_reel/src/fetch-assets.ts b/examples/29_capabilities_reel/src/fetch-assets.tsnew file mode 100644index 00000000..8d59a88f--- /dev/null+++ b/examples/29_capabilities_reel/src/fetch-assets.ts@@ -0,0 +1,119 @@+/**+ * pnpm assets → assets/{emoji,lottie,svg,fonts}+ *+ * Every downloaded file is listed here with where it came from and its licence; this script is+ * the record (the files themselves stay out of git like other examples' fonts). Idempotent: files+ * already on disk are kept.+ *+ * | Folder | Source | Licence |+ * | --- | --- | --- |+ * | emoji/ | Noto Animated Emoji (Lottie), fonts.gstatic.com | CC BY 4.0, Google |+ * | lottie/ | lottie-ios Tests/Samples (Airbnb) | Apache-2.0 |+ * | lottie/ | lottie-ios Tests/Samples/LottieFiles (lottiefiles.com) | Lottie Simple License |+ * | lottie/ | lottie-web demo/ (Airbnb) | MIT |+ * | svg/fluent/ | Fluent Emoji, color SVGs (Microsoft) | MIT |+ * | svg/twemoji/ | Twemoji 15.1 (jdecked/twemoji) | CC BY 4.0 |+ * | svg/lucide/ | Lucide icons, lucide-static | ISC |+ * | fonts/ | copied from the repo's assets/fonts and the renderer's Noto Color Emoji | OFL |+ */+import fs from "node:fs/promises";+import path from "node:path";+import { FLUENT, LOTTIES, LUCIDE, NOTO, TWEMOJI } from "./manifest.js";+import { ASSETS, FONTS, REPO } from "./paths.js";++const FONT_FILES = [+ path.join(REPO, "assets/fonts/Syne.ttf"),+ path.join(REPO, "assets/fonts/Inter.ttf"),+ path.join(REPO, "assets/fonts/JetBrainsMono.ttf"),+ path.join(REPO, "assets/fonts/InstrumentSerif-Italic.ttf"),+ path.join(REPO, "packages/renderer/src/assets/NotoColorEmoji.ttf"),+];+const NOTO_SANS_ARABIC =+ "https://raw.githubusercontent.com/google/fonts/main/ofl/notosansarabic/NotoSansArabic%5Bwdth%2Cwght%5D.ttf";+const NOTO_SANS_HEBREW =+ "https://raw.githubusercontent.com/google/fonts/main/ofl/notosanshebrew/NotoSansHebrew%5Bwdth%2Cwght%5D.ttf";++async function exists(file: string): Promise<boolean> {+ return (await fs.stat(file).catch(() => null)) !== null;+}++async function download(url: string, file: string): Promise<boolean> {+ if (await exists(file)) return true;+ const res = await fetch(url);+ if (!res.ok) {+ console.warn(+ `skip ${path.relative(ASSETS, file)}: HTTP ${res.status} ${url}`,+ );+ return false;+ }+ await fs.mkdir(path.dirname(file), { recursive: true });+ await fs.writeFile(file, Buffer.from(await res.arrayBuffer()));+ console.log(path.relative(ASSETS, file));+ return true;+}++const snake = (folder: string) => folder.toLowerCase().replace(/ /g, "_");++async function main(): Promise<void> {+ const jobs: Array<Promise<boolean>> = [];+ for (const [name, code] of Object.entries(NOTO)) {+ jobs.push(+ download(+ `https://fonts.gstatic.com/s/e/notoemoji/latest/${code}/lottie.json`,+ path.join(ASSETS, "emoji", `${name}.json`),+ ),+ );+ }+ for (const [name, url] of Object.entries(LOTTIES)) {+ jobs.push(download(url, path.join(ASSETS, "lottie", `${name}.json`)));+ }+ for (const [name, folder] of Object.entries(FLUENT)) {+ const base = `https://raw.githubusercontent.com/microsoft/fluentui-emoji/main/assets/${encodeURIComponent(folder)}`;+ const file = path.join(ASSETS, "svg/fluent", `${name}.svg`);+ jobs.push(+ download(`${base}/Color/${snake(folder)}_color.svg`, file).then(+ (ok) =>+ ok ||+ // Emoji with skin tones keep their colour SVG one folder deeper.+ download(+ `${base}/Default/Color/${snake(folder)}_color_default.svg`,+ file,+ ),+ ),+ );+ }+ for (const [name, code] of Object.entries(TWEMOJI)) {+ jobs.push(+ download(+ `https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/svg/${code}.svg`,+ path.join(ASSETS, "svg/twemoji", `${name}.svg`),+ ),+ );+ }+ for (const name of LUCIDE) {+ jobs.push(+ download(+ `https://unpkg.com/[email protected]/icons/${name}.svg`,+ path.join(ASSETS, "svg/lucide", `${name}.svg`),+ ),+ );+ }+ jobs.push(download(NOTO_SANS_ARABIC, path.join(FONTS, "NotoSansArabic.ttf")));+ jobs.push(download(NOTO_SANS_HEBREW, path.join(FONTS, "NotoSansHebrew.ttf")));+ await fs.mkdir(FONTS, { recursive: true });+ for (const src of FONT_FILES) {+ const dst = path.join(FONTS, path.basename(src));+ if (!(await exists(dst))) {+ await fs.copyFile(src, dst);+ console.log(path.relative(ASSETS, dst));+ }+ }+ const results = await Promise.all(jobs);+ const missing = results.filter((ok) => !ok).length;+ console.log(+ `${results.length - missing}/${results.length} downloads present`,+ );+}++await main();+process.exit(0);diff --git a/examples/29_capabilities_reel/src/film.ts b/examples/29_capabilities_reel/src/film.tsnew file mode 100644index 00000000..68f88936--- /dev/null+++ b/examples/29_capabilities_reel/src/film.ts@@ -0,0 +1,216 @@+/**+ * The reel: twelve chapters on a 120 BPM grid, one per corner of the engine, cut together with+ * every transition the sequencer has, scored by four synthesized stems mixed through the audio+ * nodes, and finished with a whole-composition grade.+ */+import {+ ColorBalance,+ Composition,+ Effect,+ FilmGrain,+ Layer,+ Signal,+ Transition,+ Vignette,+} from "framefields";+import { lowpassAt } from "./music.js";+import { ASSETS } from "./paths.js";+import { dataScene } from "./scenes/data.js";+import { emojiScene } from "./scenes/emoji.js";+import { finaleScene } from "./scenes/finale.js";+import { fluidScene } from "./scenes/fluid.js";+import { lottieScene } from "./scenes/lottie.js";+import { nodesScene } from "./scenes/nodes.js";+import { openScene } from "./scenes/open.js";+import { spaceScene } from "./scenes/space.js";+import { stylizeScene } from "./scenes/stylize.js";+import { typeScene } from "./scenes/type.js";+import { vectorScene } from "./scenes/vector.js";+import { visionScene } from "./scenes/vision.js";+import { FONT_FILES, FPS, H, INK, registerFonts, W } from "./theme.js";+import { CHAPTERS, chapter, TOTAL_FRAMES } from "./timeline.js";++type Builder = (comp: Composition) => unknown | Promise<unknown>;++/** Each chapter's builder and the transition that brings it in. */+const CUTS: Record<+ string,+ { build: Builder; transition?: ReturnType<typeof Transition.cut> }+> = {+ open: { build: openScene },+ lottie: { build: lottieScene, transition: Transition.whip("left", 12) },+ emoji: { build: emojiScene, transition: Transition.zoom(14) },+ vector: { build: vectorScene, transition: Transition.iris(18) },+ stylize: { build: stylizeScene, transition: Transition.wipe("right", 15) },+ fluid: { build: fluidScene, transition: Transition.push("up", 18) },+ vision: { build: visionScene, transition: Transition.cut() },+ type: { build: typeScene, transition: Transition.slide("left", 15) },+ space: { build: spaceScene, transition: Transition.fadeThrough(16) },+ data: { build: dataScene, transition: Transition.crossfade(14) },+ nodes: { build: nodesScene, transition: Transition.cut() },+ finale: { build: finaleScene, transition: Transition.push("left", 15) },+};++const stem = (name: string) => `${ASSETS}/stems/${name}.wav`;++/** The four stems through the audio nodes. */+export function mix(comp: Composition): void {+ const len = { durationFrames: TOTAL_FRAMES + FPS };+ const fadeOut = Effect.audioFade({+ fadeInDuration: 0,+ fadeOutDuration: 2.5,+ fadeOutCurve: "scurve",+ });+ comp.addAudio(+ Layer.audio(stem("drums"), { id: "stem-drums", volume: 1.05, ...len })+ .apply(+ Effect.audioCompressor({+ threshold: -16,+ ratio: 4,+ attack: 0.004,+ release: 0.12,+ knee: 6,+ makeupGain: 5,+ }),+ )+ .apply(+ Effect.audioParametricEq({+ type: "lowShelf",+ frequency: 90,+ gain: 3,+ q: 0.8,+ }),+ ),+ );+ comp.addAudio(+ Layer.audio(stem("bass"), { id: "stem-bass", volume: 0.95, ...len })+ // The breakdown's filter sweep, frame-locked to the EQ curve drawn on screen.+ .apply(+ Effect.audioParametricEq({+ type: "lowPass",+ frequency: Signal.programmatic((ctx) => lowpassAt(ctx.frame)),+ q: 1.1,+ gain: 0,+ }),+ )+ .apply(+ Effect.audioCompressor({+ threshold: -20,+ ratio: 2,+ attack: 0.01,+ release: 0.2,+ knee: 6,+ makeupGain: 2.5,+ }),+ ),+ );+ comp.addAudio(+ Layer.audio(stem("music"), { id: "stem-music", volume: 1, ...len })+ .apply(+ Effect.audioParametricEq({+ type: "lowPass",+ frequency: Signal.programmatic((ctx) => lowpassAt(ctx.frame)),+ q: 1.4,+ gain: 0,+ }),+ )+ .apply(+ Effect.audioDelay({+ delayTime: 0.375,+ feedback: 0.35,+ wet: 0.22,+ dry: 1,+ pingPong: true,+ }),+ )+ .apply(+ Effect.audioReverb({+ roomSize: 0.82,+ damping: 0.4,+ wet: 0.25,+ dry: 1,+ width: 1,+ }),+ )+ .apply(+ Effect.audioCompressor({+ threshold: -20,+ ratio: 2,+ attack: 0.01,+ release: 0.2,+ knee: 6,+ makeupGain: 2.5,+ }),+ )+ .apply(fadeOut),+ );+ comp.addAudio(+ Layer.audio(stem("fx"), { id: "stem-fx", volume: 0.85, ...len })+ // Risers sweep across the stereo field.+ .apply(+ Effect.stereoPanning({+ pan: Signal.programmatic((ctx) => 0.6 * Math.sin(ctx.frame / 9)),+ }),+ )+ .apply(+ Effect.audioReverb({+ roomSize: 0.9,+ damping: 0.3,+ wet: 0.3,+ dry: 1,+ width: 1,+ }),+ ),+ );+}++export async function buildFilm(): Promise<Composition> {+ await registerFonts();+ const comp = new Composition({+ width: W,+ height: H,+ fps: FPS,+ durationFrames: TOTAL_FRAMES,+ backgroundColor: INK,+ fonts: FONT_FILES,+ });++ const entries = [];+ for (let i = 0; i < CHAPTERS.length; i++) {+ const c = chapter(CHAPTERS[i].id);+ const cut = CUTS[c.id];+ const next = CHAPTERS[i + 1]+ ? CUTS[CHAPTERS[i + 1].id].transition+ : undefined;+ // Each chapter runs on under the next one's transition, so the next starts on its downbeat.+ const tail = next?.frames ?? 0;+ entries.push({+ scene: (await cut.build(comp)) as never,+ duration: c.frames + tail,+ ...(cut.transition ? { transition: cut.transition } : {}),+ });+ }+ const film = Layer.sequence(entries, { width: W, height: H });+ comp.add(film);++ // Whole-composition finish: a touch of split-tone, grain and lens falloff.+ comp.apply(+ new ColorBalance({+ shadows: { cyanRed: -2, magentaGreen: 0, yellowBlue: 4 },+ highlights: { cyanRed: 3, magentaGreen: 0, yellowBlue: -3 },+ preserveLuminosity: true,+ }),+ );+ comp.apply(new Vignette({ strength: 28, radius: 1.15, softness: 0.65 }));+ comp.apply(+ new FilmGrain({+ strength: 12,+ size: 1.4,+ monochrome: true,+ animated: true,+ }),+ );++ mix(comp);+ return comp;+}diff --git a/examples/29_capabilities_reel/src/kit.ts b/examples/29_capabilities_reel/src/kit.tsnew file mode 100644index 00000000..e270a608--- /dev/null+++ b/examples/29_capabilities_reel/src/kit.ts@@ -0,0 +1,323 @@+/**+ * Shared building blocks: the full-frame scene shell, the chapter HUD that names the API on+ * screen, keyframe shorthands, and small vector helpers.+ */+import fs from "node:fs";+import { Color, Layer, LayerAnimation } from "framefields";+import { DISPLAY, H, INK, MONO, MUTED, PAPER, W } from "./theme.js";+import { CHAPTERS, chapter as chapterOf } from "./timeline.js";++// biome-ignore lint/suspicious/noExplicitAny: layout nodes are plain specs here.+export type Node = any;+export type Key = [number, number | string, string?];++export const keys = (prop: string, list: Key[]) =>+ LayerAnimation.keys(prop as never, list as never);++/** A full-frame, absolutely placed box. */+export function full(options: Record<string, unknown> = {}): Node {+ return Layer.box({+ position: "absolute",+ x: 0,+ y: 0,+ width: W,+ height: H,+ ...options,+ } as never);+}++/** A chapter's root: full frame, solid background, children keyed from the chapter's frame 0. */+export function scene(+ id: string,+ background: string,+ children: Node[],+ extra: Record<string, unknown> = {},+): Node {+ return full({+ id: `scene-${id}`,+ background,+ overflow: "hidden",+ children,+ ...extra,+ });+}++/** Where a chapter sits on the composition clock. */+export const at = (id: string) => chapterOf(id);++/**+ * The chapter tag, bottom left: index, name and the APIs on screen, in mono. It slides in a beat+ * after the chapter opens and leaves before it ends.+ */+export function hud(+ id: string,+ apis: string[],+ options: { dark?: boolean; until?: number } = {},+): Node {+ const c = at(id);+ const index = CHAPTERS.findIndex((x) => x.id === id) + 1;+ const fg = options.dark ? INK : PAPER;+ const dim = options.dark ? Color.alpha(INK, 0.6) : MUTED;+ const until = options.until ?? c.frames;+ return Layer.flex({+ id: `hud-${id}`,+ position: "absolute",+ x: 72,+ y: H - 132,+ width: W - 144,+ height: 72,+ dir: "row",+ align: "center",+ gap: 22,+ children: [+ Layer.text(String(index).padStart(2, "0"), {+ fontFamily: MONO,+ fontSize: 22,+ fill: dim,+ letterSpacing: 2,+ }),+ Layer.box({ width: 46, height: 2, background: fg }),+ Layer.text(c.title.toUpperCase(), {+ fontFamily: DISPLAY,+ fontWeight: 700,+ fontSize: 26,+ fill: fg,+ letterSpacing: 3,+ }),+ Layer.text(apis.join(" · "), {+ fontFamily: MONO,+ fontSize: 19,+ fill: dim,+ }),+ ],+ } as never).animate(+ keys("opacity", [+ [0, 0],+ [12, 0],+ [24, 1, "power2.out"],+ [until - 14, 1],+ [until - 4, 0, "power2.in"],+ ]),+ keys("x", [+ [12, 40],+ [30, 72, "expo.out"],+ ]),+ );+}++/** Sets a layer's blend mode (for builders such as Layer.vfx that take no layout props). */+export function blend<T>(+ node: T,+ blendMode: string,+ extra: Record<string, unknown> = {},+): T {+ return Object.assign(node as object, { blendMode, ...extra }) as T;+}++/**+ * Emoji used inside rich-text spans: the renderer preloads emoji glyphs only from plain `text`,+ * so an invisible plain-text twin at the same sizes makes them load.+ */+export function preloadEmoji(chars: string, sizes: number[]): Node[] {+ return sizes.map((fontSize, i) =>+ Layer.text(chars, {+ id: `emoji-preload-${fontSize}-${i}-${chars.length}`,+ position: "absolute",+ x: 0,+ y: 0,+ fontSize,+ opacity: 0,+ }),+ );+}++/** Pop in: scale from `from` to 1 with an overshoot, fading up. */+export function popIn(delay = 0, length = 18, from = 0.4) {+ return LayerAnimation.merge(+ keys("scale", [+ [0, from],+ [delay, from],+ [delay + length, 1, "back.out(1.8)"],+ ]),+ keys("opacity", [+ [0, 0],+ [delay, 0],+ [delay + 6, 1, "power1.out"],+ ]),+ );+}++/** Fade out over `length` frames ending at `end`. */+export const fadeOut = (end: number, length = 10) =>+ keys("opacity", [+ [end - length, 1],+ [end, 0, "power2.in"],+ ]);++// ── SVG → path data ─────────────────────────────────────────────────────────++const num = (s: string | undefined, d = 0) => (s === undefined ? d : Number(s));+const attr = (tag: string, name: string) =>+ tag.match(new RegExp(`\\s${name}="([^"]*)"`))?.[1];++function circlePath(cx: number, cy: number, rx: number, ry = rx): string {+ return `M${cx - rx} ${cy}A${rx} ${ry} 0 1 0 ${cx + rx} ${cy}A${rx} ${ry} 0 1 0 ${cx - rx} ${cy}Z`;+}++function rectPath(+ x: number,+ y: number,+ w: number,+ h: number,+ r: number,+): string {+ if (r <= 0) return `M${x} ${y}H${x + w}V${y + h}H${x}Z`;+ return [+ `M${x + r} ${y}H${x + w - r}A${r} ${r} 0 0 1 ${x + w} ${y + r}`,+ `V${y + h - r}A${r} ${r} 0 0 1 ${x + w - r} ${y + h}`,+ `H${x + r}A${r} ${r} 0 0 1 ${x} ${y + h - r}`,+ `V${y + r}A${r} ${r} 0 0 1 ${x + r} ${y}Z`,+ ].join("");+}++/**+ * A leading relative "m" is absolute within its own element but not once paths are joined, so+ * make it "M x y"; any further pairs of that moveto are relative line-tos and stay so via "l".+ */+function absoluteStart(d: string): string {+ const m = d.match(/^\s*m([^A-Za-z]*)/);+ if (!m) return d;+ const nums = m[1].match(/-?(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?/gi) ?? [];+ const rest = d.slice(m[0].length);+ const head = `M${nums[0]} ${nums[1]}`;+ return nums.length > 2+ ? `${head}l${nums.slice(2).join(" ")}${rest}`+ : `${head}${rest}`;+}++/** Every drawable element of an icon SVG (Lucide's path/circle/rect/line/poly*) as one `d`. */+export function svgToPath(file: string): string {+ const svg = fs.readFileSync(file, "utf8");+ const parts: string[] = [];+ for (const [tag, name] of svg.matchAll(+ /<(path|circle|ellipse|rect|line|polyline|polygon)\b[^>]*>/g,+ )) {+ switch (name) {+ case "path":+ parts.push(absoluteStart(attr(tag, "d") ?? ""));+ break;+ case "circle":+ parts.push(+ circlePath(+ num(attr(tag, "cx")),+ num(attr(tag, "cy")),+ num(attr(tag, "r")),+ ),+ );+ break;+ case "ellipse":+ parts.push(+ circlePath(+ num(attr(tag, "cx")),+ num(attr(tag, "cy")),+ num(attr(tag, "rx")),+ num(attr(tag, "ry")),+ ),+ );+ break;+ case "rect":+ parts.push(+ rectPath(+ num(attr(tag, "x")),+ num(attr(tag, "y")),+ num(attr(tag, "width")),+ num(attr(tag, "height")),+ num(attr(tag, "rx")),+ ),+ );+ break;+ case "line":+ parts.push(+ `M${attr(tag, "x1")} ${attr(tag, "y1")}L${attr(tag, "x2")} ${attr(tag, "y2")}`,+ );+ break;+ case "polyline":+ case "polygon": {+ const pts = (attr(tag, "points") ?? "")+ .trim()+ .split(/[\s,]+/)+ .map(Number);+ let d = "";+ for (let i = 0; i < pts.length; i += 2)+ d += `${i ? "L" : "M"}${pts[i]} ${pts[i + 1]}`;+ parts.push(name === "polygon" ? `${d}Z` : d);+ break;+ }+ }+ }+ return parts.join(" ");+}++/**+ * Scales SVG path data by `s` (arcs keep their rotation and flags). A path shape rasterizes at+ * its own box size, so an icon drawn at 24 units and enlarged with `scale` comes out soft; scale+ * the geometry instead and draw it at full size.+ */+export function scalePath(d: string, s: number): string {+ const out: string[] = [];+ for (const [, cmd, args] of d.matchAll(+ /([MmLlHhVvCcSsQqTtAaZz])([^MmLlHhVvCcSsQqTtAaZz]*)/g,+ )) {+ const nums = (+ args.match(/-?(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?/gi) ?? []+ ).map(Number);+ const scaled = nums.map((n, i) => {+ // Arc: rx ry rotation large-arc sweep x y — only rx, ry, x, y scale.+ if (cmd === "A" || cmd === "a")+ return [2, 3, 4].includes(i % 7) ? n : n * s;+ return n * s;+ });+ out.push(cmd + scaled.map((n) => +n.toFixed(3)).join(" "));+ }+ return out.join("");+}++/** A regular star centred in a `size` box. */+export function starPath(size: number, points = 5, inner = 0.45): string {+ const c = size / 2;+ let d = "";+ for (let i = 0; i < points * 2; i++) {+ const r = (i % 2 ? inner : 1) * c * 0.96;+ const a = (Math.PI * i) / points - Math.PI / 2;+ d += `${i ? "L" : "M"}${(c + r * Math.cos(a)).toFixed(2)} ${(c + r * Math.sin(a)).toFixed(2)}`;+ }+ return `${d}Z`;+}++export const circleD = (size: number) =>+ circlePath(size / 2, size / 2, size * 0.46);++export function heartPath(size: number): string {+ const s = size / 100;+ const p = (x: number, y: number) =>+ `${(x * s).toFixed(2)} ${(y * s).toFixed(2)}`;+ return `M${p(50, 88)}C${p(20, 66)} ${p(4, 48)} ${p(4, 30)}C${p(4, 16)} ${p(15, 6)} ${p(28, 6)}C${p(38, 6)} ${p(46, 12)} ${p(50, 20)}C${p(54, 12)} ${p(62, 6)} ${p(72, 6)}C${p(85, 6)} ${p(96, 16)} ${p(96, 30)}C${p(96, 48)} ${p(80, 66)} ${p(50, 88)}Z`;+}++/** A soft blob from a few harmonics, for liquid shapes. */+export function blobPath(size: number, seed: number, wobble = 0.12): string {+ const c = size / 2;+ const n = 48;+ let d = "";+ for (let i = 0; i < n; i++) {+ const a = (i / n) * Math.PI * 2;+ const r =+ c *+ 0.8 *+ (1 ++ wobble * Math.sin(3 * a + seed) ++ wobble * 0.6 * Math.cos(5 * a + seed * 1.7));+ d += `${i ? "L" : "M"}${(c + r * Math.cos(a)).toFixed(2)} ${(c + r * Math.sin(a)).toFixed(2)}`;+ }+ return `${d}Z`;+}diff --git a/examples/29_capabilities_reel/src/manifest.ts b/examples/29_capabilities_reel/src/manifest.tsnew file mode 100644index 00000000..da0a7898--- /dev/null+++ b/examples/29_capabilities_reel/src/manifest.ts@@ -0,0 +1,158 @@+/** What `pnpm assets` downloads; see fetch-assets.ts for sources and licences. */+/** Noto animated emoji: codepoint → file name. */+export const NOTO = {+ fire: "1f525",+ rocket: "1f680",+ sparkles: "2728",+ party: "1f389",+ heartEyes: "1f60d",+ starStruck: "1f929",+ mindBlown: "1f92f",+ hundred: "1f4af",+ rainbow: "1f308",+ heart: "2764_fe0f",+ thumbsUp: "1f44d",+ clap: "1f44f",+ zap: "26a1",+ robot: "1f916",+ alien: "1f47e",+ cool: "1f60e",+ partying: "1f973",+ boom: "1f4a5",+ eyes: "1f440",+ clapper: "1f3ac",+ popcorn: "1f37f",+ globe: "1f30d",+ gem: "1f48e",+ brain: "1f9e0",+ unicorn: "1f984",+ volcano: "1f30b",+ melting: "1fae0",+ flash: "1f4f8",+ star: "2b50",+ glowingStar: "1f31f",+ dizzy: "1f4ab",+ cyclone: "1f300",+ crystalBall: "1f52e",+ bullseye: "1f3af",+ trophy: "1f3c6",+ raisingHands: "1f64c",+ rofl: "1f923",+ inLove: "1f970",+ octopus: "1f419",+ snail: "1f40c",+ catHeart: "1f63b",+} as const;+export type NotoName = keyof typeof NOTO;++const IOS =+ "https://raw.githubusercontent.com/airbnb/lottie-ios/master/Tests/Samples";+const WEB = "https://raw.githubusercontent.com/airbnb/lottie-web/master/demo";++/** Lottie animations: file name → URL. */+export const LOTTIES = {+ fireworks: `${IOS}/LottieFiles/fireworks.json`,+ growth: `${IOS}/LottieFiles/growth.json`,+ dogCar: `${IOS}/LottieFiles/dog_car_ride.json`,+ cactus: `${IOS}/LottieFiles/cactus.json`,+ infinity: `${IOS}/LottieFiles/infinity_loader.json`,+ gradientShapes: `${IOS}/LottieFiles/gradient_shapes.json`,+ gradientStrokes: `${IOS}/LottieFiles/loading_gradient_strokes.json`,+ shop: `${IOS}/LottieFiles/shop.json`,+ stepLoader: `${IOS}/LottieFiles/step_loader.json`,+ bounceStrokes: `${IOS}/LottieFiles/bounce_strokes.json`,+ boat: `${IOS}/Boat_Loader.json`,+ squares: `${IOS}/9squares_AlBoardman.json`,+ watermelon: `${IOS}/Watermelon.json`,+ pinJump: `${IOS}/PinJump.json`,+ motionCorpse: `${IOS}/MotionCorpse_Jrcanest.json`,+ iconTransitions: `${IOS}/IconTransitions.json`,+ success: `${IOS}/success.json`,+ gatin: `${WEB}/gatin/data.json`,+ adrock: `${WEB}/adrock/data.json`,+ happy2016: `${WEB}/happy2016/data.json`,+ navidad: `${WEB}/navidad/data.json`,+ bodymovin: `${WEB}/bodymovin/data.json`,+} as const;+export type LottieName = keyof typeof LOTTIES;++/** Fluent Emoji color SVGs: file name → folder in microsoft/fluentui-emoji/assets. */+export const FLUENT = {+ rocket: "Rocket",+ fire: "Fire",+ sparkles: "Sparkles",+ party: "Party popper",+ heart: "Red heart",+ starStruck: "Star-struck",+ unicorn: "Unicorn",+ robot: "Robot",+ crystalBall: "Crystal ball",+ gem: "Gem stone",+ rainbow: "Rainbow",+ alien: "Alien monster",+ palette: "Artist palette",+ clapper: "Clapper board",+ movieCamera: "Movie camera",+ film: "Film frames",+ laptop: "Laptop",+ bulb: "Light bulb",+ wand: "Magic wand",+ joystick: "Joystick",+ zap: "High voltage",+ planet: "Ringed planet",+ comet: "Comet",+ galaxy: "Milky way",+ dna: "Dna",+ headphone: "Headphone",+ notes: "Musical notes",+ trophy: "Trophy",+ crown: "Crown",+ ghost: "Ghost",+ ufo: "Flying saucer",+ mushroom: "Mushroom",+ blossom: "Cherry blossom",+ butterfly: "Butterfly",+ dragon: "Dragon",+ octopus: "Octopus",+} as const;+export type FluentName = keyof typeof FLUENT;++/** Twemoji SVGs: file name → codepoint. */+export const TWEMOJI = {+ rocket: "1f680",+ fire: "1f525",+ sparkles: "2728",+ heart: "2764",+ star: "2b50",+ zap: "26a1",+ rainbow: "1f308",+ party: "1f389",+ gem: "1f48e",+ unicorn: "1f984",+ alien: "1f47e",+ robot: "1f916",+} as const;++/** Lucide icons used as stroke paths (drawn on with trimEnd). */+export const LUCIDE = [+ "clapperboard",+ "wand-sparkles",+ "layers",+ "cpu",+ "zap",+ "palette",+ "music",+ "box",+ "type",+ "shapes",+ "aperture",+ "orbit",+ "atom",+ "rocket",+ "brush",+ "scan-face",+ "chart-pie",+ "waves",+ "sparkles",+ "film",+] as const;diff --git a/examples/29_capabilities_reel/src/mem-probe.ts b/examples/29_capabilities_reel/src/mem-probe.tsnew file mode 100644index 00000000..e688e599--- /dev/null+++ b/examples/29_capabilities_reel/src/mem-probe.ts@@ -0,0 +1,228 @@+/**+ * Memory probe: renders frames in order and samples the process footprint (which, unlike RSS,+ * counts Metal / IOAccelerator allocations) every `every` frames.+ *+ * tsx src/mem-probe.ts film <from> <to> [every] the real film+ * tsx src/mem-probe.ts stress <case> <frames> [every] one suspect in isolation+ */+import { execSync } from "node:child_process";+import { Composition, HeadlessMediaRenderer, Layer } from "framefields";+import { buildFilm } from "./film.js";+import { DANCER, emoji, lottie } from "./paths.js";+import { FONT_FILES, FPS, H, registerFonts, W } from "./theme.js";++const [mode, a, b, c] = process.argv.slice(2);++const toMb = (v: string, u: string) =>+ Number(v) *+ ({ B: 1 / 1048576, KB: 1 / 1024, MB: 1, GB: 1024 } as Record<string, number>)[+ u+ ];++/** Footprint and its top categories (dirty MB). */+function footprint(): { total: number; top: string } {+ const out = execSync(`footprint -p ${process.pid}`, { encoding: "utf8" });+ const total = out.match(/phys_footprint:\s+([\d.]+)\s+(B|KB|MB|GB)/);+ const cats: Array<[string, number]> = [];+ for (const m of out.matchAll(+ /^\s*([\d.]+)\s+(B|KB|MB|GB)\s+[\d.]+\s+(?:B|KB|MB|GB)\s+[\d.]+\s+(?:B|KB|MB|GB)\s+\d+\s+(.+)$/gm,+ )) {+ if (m[3].trim() !== "TOTAL") cats.push([m[3].trim(), toMb(m[1], m[2])]);+ }+ cats.sort((x, y) => y[1] - x[1]);+ return {+ total: total ? toMb(total[1], total[2]) : 0,+ top: cats+ .slice(0, 3)+ .map(([n, v]) => `${n}=${v.toFixed(0)}`)+ .join(" "),+ };+}++function stress(kind: string, frames: number): Composition {+ const comp = new Composition({+ width: W,+ height: H,+ fps: FPS,+ durationFrames: frames,+ backgroundColor: "#000",+ fonts: FONT_FILES,+ });+ const full = {+ position: "absolute" as const,+ x: 0,+ y: 0,+ width: W,+ height: H,+ };+ if (kind === "particles") {+ comp.add(+ Layer.particles({+ ...full,+ max: 30000,+ emitter: { shape: "ring", x: W / 2, y: H / 2, radius: 600, rate: 4000 },+ lifetime: [1, 2],+ speed: [60, 140],+ spread: 360,+ size: [5, 2],+ shape: "spark",+ blend: "add",+ color: ["#0ff", "#f0f"],+ } as never),+ );+ } else if (kind === "videos-seq") {+ // A new video layer every 8 frames (like the montage / beat-switched looks).+ for (let k = 0; k * 8 < frames; k++)+ comp.add(+ Layer.video(DANCER, {+ ...full,+ fit: "cover",+ muted: true,+ startFrame: k * 8,+ durationFrames: 8,+ trimStartSec: ((k * 8) / 30) % 5,+ }),+ );+ } else if (kind === "videos-same") {+ // Eight video layers of the same clip alive at once.+ for (let k = 0; k < 8; k++)+ comp.add(+ Layer.video(DANCER, {+ position: "absolute",+ x: (k % 4) * 480,+ y: Math.floor(k / 4) * 540,+ width: 480,+ height: 540,+ fit: "cover",+ muted: true,+ trimStartSec: k * 0.3,+ }),+ );+ } else if (kind === "video-one") {+ comp.add(Layer.video(DANCER, { ...full, fit: "cover", muted: true }));+ } else if (kind === "lotties") {+ const names = [+ "fireworks",+ "dogCar",+ "gatin",+ "growth",+ "cactus",+ "happy2016",+ "squares",+ "navidad",+ ];+ names.forEach((n, i) => {+ comp.add(+ Layer.lottie(lottie(n), {+ position: "absolute",+ x: (i % 4) * 480,+ y: Math.floor(i / 4) * 540,+ width: 480,+ height: 540,+ fit: "cover",+ }),+ );+ });+ } else if (kind === "emoji") {+ const names = [+ "fire",+ "rocket",+ "heartEyes",+ "party",+ "starStruck",+ "unicorn",+ "robot",+ "rainbow",+ "cool",+ "alien",+ "gem",+ "brain",+ "globe",+ "popcorn",+ "rofl",+ "inLove",+ "octopus",+ "trophy",+ "zap",+ "eyes",+ ];+ names.forEach((n, i) => {+ comp.add(+ Layer.lottie(emoji(n), {+ position: "absolute",+ x: (i % 5) * 380,+ y: Math.floor(i / 5) * 270,+ width: 160,+ height: 160,+ }),+ );+ });+ } else if (kind === "image" || kind === "image-moving") {+ const img = Layer.image(`${DANCER.replace("dancer.mp4", "dancer.png")}`, {+ ...full,+ fit: "cover",+ });+ comp.add(kind === "image" ? img : img.animate({ tracks: [] } as never));+ } else if (kind === "video-frozen") {+ comp.add(Layer.video(DANCER, { ...full, fit: "cover", muted: true }));+ } else if (kind === "baseline") {+ comp.add(Layer.text("baseline", { ...full, fontSize: 100, fill: "#fff" }));+ } else throw new Error(`unknown case ${kind}`);+ return comp;+}++let comp: Composition;+let from = 0;+let to: number;+const every = Number(c ?? 30);+if (mode === "film") {+ comp = await buildFilm();+ from = Number(a);+ to = Number(b);+} else {+ await registerFonts();+ to = Number(b);+ comp = stress(a, to);+}+if (process.env.VIA === "video") {+ // Through renderVideo (the export path), sampling as frames finish.+ let next = every;+ const r = await comp.renderVideo({+ outputPath: `/tmp/mem-probe-${process.pid}.mp4`,+ quality: "draft",+ onProgress: (p: {+ phase?: string;+ frame?: number;+ framesDone?: number;+ }) => {+ const f = p.framesDone ?? p.frame ?? 0;+ if (f >= next) {+ next += every;+ const m = footprint();+ console.log(+ `frame ${f} total=${m.total.toFixed(0)}MB [${m.top}] ext=${(process.memoryUsage().external / 1048576).toFixed(0)}MB`,+ );+ }+ },+ } as never);+ await r.cleanup?.();+ process.exit(0);+}+const renderer = new HeadlessMediaRenderer();+const t0 = footprint();+console.log(`start total=${t0.total.toFixed(0)}MB ${t0.top}`);+for (let f = from; f < to; f++) {+ await comp.renderFrame({+ frame: mode === "stress" && a === "video-frozen" ? 0 : f,+ renderer,+ });+ if (process.env.GC) (globalThis as { gc?: () => void }).gc?.();+ if ((f - from + 1) % every === 0) {+ const m = footprint();+ const heap = process.memoryUsage();+ console.log(+ `frame ${f} total=${m.total.toFixed(0)}MB [${m.top}] rss=${(heap.rss / 1048576).toFixed(0)}MB heap=${(heap.heapUsed / 1048576).toFixed(0)}MB ext=${(heap.external / 1048576).toFixed(0)}MB`,+ );+ }+}+process.exit(0);diff --git a/examples/29_capabilities_reel/src/music.ts b/examples/29_capabilities_reel/src/music.tsnew file mode 100644index 00000000..cbeb6106--- /dev/null+++ b/examples/29_capabilities_reel/src/music.ts@@ -0,0 +1,149 @@+/**+ * The score as data: one arrangement read by both the synthesizer (score.ts writes the stems)+ * and the picture (every beat-reactive signal is built from the same note list, so nothing is+ * detected and nothing drifts).+ */+import { Signal } from "framefields";+import { BAR, BEAT, FPS } from "./theme.js";+import { CHAPTERS, TOTAL_BARS, TOTAL_FRAMES } from "./timeline.js";++export const SAMPLE_RATE = 48000;+export const SECONDS_PER_BEAT = BEAT / FPS;++/** A minor: Am – F – C – G, one chord a bar. MIDI roots. */+export const PROGRESSION = [+ { root: 45, tones: [57, 60, 64, 69] },+ { root: 41, tones: [53, 57, 60, 65] },+ { root: 48, tones: [55, 60, 64, 67] },+ { root: 43, tones: [55, 59, 62, 67] },+];++export type Section =+ | "intro"+ | "groove"+ | "lift"+ | "breakdown"+ | "drop"+ | "outro";++/** What plays in each bar, read off the chapters. */+export function sectionAt(bar: number): Section {+ const chapter = CHAPTERS.find((c) => bar >= c.bar && bar < c.bar + c.bars);+ if (!chapter) return "outro";+ if (chapter.id === "open") return "intro";+ if (chapter.id === "fluid") return "breakdown";+ if (+ chapter.id === "vision" ||+ chapter.id === "nodes" ||+ chapter.id === "finale"+ ) {+ return bar === TOTAL_BARS - 1 ? "outro" : "drop";+ }+ if (chapter.id === "stylize" || chapter.id === "space") return "lift";+ return "groove";+}++export interface Hit {+ beat: number; // absolute beat index (quarter notes)+ step?: number; // 16th offset inside the beat, 0–3+}++const beatsOf = (bar: number) => bar * 4;++/** Kick: four on the floor everywhere but the intro, the breakdown and the outro tail. */+export const KICKS: number[] = [];+/** Clap on 2 and 4. */+export const CLAPS: number[] = [];+/** Closed hats on the off-beat 8ths; in lifts and drops, 16ths. */+export const HATS: Array<{ beat: number; step: number; open: boolean }> = [];+/** Downbeats that open a chapter: an impact plays there. */+export const IMPACTS: number[] = [];+/** Bars that end with a riser into the next chapter. */+export const RISERS: number[] = [];++for (let bar = 0; bar < TOTAL_BARS; bar++) {+ const section = sectionAt(bar);+ const b0 = beatsOf(bar);+ const drums =+ section !== "intro" && section !== "breakdown" && section !== "outro";+ if (drums) {+ for (let i = 0; i < 4; i++) KICKS.push(b0 + i);+ CLAPS.push(b0 + 1, b0 + 3);+ }+ if (section === "intro" && bar === 2) {+ // The last intro bar: kicks on every beat building into the drop.+ for (let i = 0; i < 4; i++) KICKS.push(b0 + i);+ }+ if (section === "outro") KICKS.push(b0);+ if (drums || (section === "intro" && bar >= 1)) {+ const dense = section === "lift" || section === "drop";+ for (let i = 0; i < 4; i++) {+ for (let step = 0; step < 4; step++) {+ const offbeat = step === 2;+ if (offbeat || (dense && step % 2 === 1)) {+ HATS.push({+ beat: b0 + i,+ step,+ open: offbeat && dense && i % 2 === 1,+ });+ }+ }+ }+ }+}+for (const c of CHAPTERS) {+ if (c.bar > 0) {+ IMPACTS.push(beatsOf(c.bar));+ RISERS.push(c.bar - 1);+ }+}+IMPACTS.push(beatsOf(TOTAL_BARS - 1));++export const beatToFrame = (beat: number, step = 0) =>+ Math.round((beat + step / 4) * BEAT);++/** A per-frame envelope: 1 on each hit frame, decaying with `decay` (frames to ~37 %). */+export function envelope(+ frames: number[],+ decay: number,+ length = TOTAL_FRAMES,+): Float32Array {+ const out = new Float32Array(length);+ const sorted = [...frames].sort((a, b) => a - b);+ let k = 0;+ let last = -1e9;+ for (let f = 0; f < length; f++) {+ while (k < sorted.length && sorted[k] <= f) last = sorted[k++];+ out[f] = Math.exp(-(f - last) / decay);+ }+ return out;+}++export const KICK_FRAMES = KICKS.map((b) => beatToFrame(b));+export const CLAP_FRAMES = CLAPS.map((b) => beatToFrame(b));+export const HAT_FRAMES = HATS.map((h) => beatToFrame(h.beat, h.step));+export const IMPACT_FRAMES = IMPACTS.map((b) => beatToFrame(b));++/** Per-frame envelopes, for drivers that take `(frame) => value`. */+export const KICK_ENV = envelope(KICK_FRAMES, 4);+export const kickAt = (frame: number) =>+ KICK_ENV[Math.max(0, Math.min(KICK_ENV.length - 1, Math.round(frame)))] ?? 0;++/** Beat-reactive signals on the composition clock. */+export const kick = Signal.fromArray(KICK_ENV, FPS);+export const clap = Signal.fromArray(envelope(CLAP_FRAMES, 5), FPS);+export const hat = Signal.fromArray(envelope(HAT_FRAMES, 1.5), FPS);+export const impact = Signal.fromArray(envelope(IMPACT_FRAMES, 10), FPS);++/** The breakdown's low-pass sweep (Hz), shared by the audio EQ and the picture. */+export function lowpassAt(frame: number): number {+ const fluid = CHAPTERS.find((c) => c.id === "fluid");+ if (!fluid) return 20000;+ const start = fluid.bar * BAR;+ const end = start + fluid.bars * BAR;+ if (frame < start || frame >= end) return 20000;+ const t = (frame - start) / (end - start);+ // Closes to a muffled 380 Hz over the first half, opens back up into the drop.+ const shape = t < 0.5 ? 1 - t / 0.5 : (t - 0.5) / 0.5;+ return 380 * (20000 / 380) ** (shape ** 2);+}diff --git a/examples/29_capabilities_reel/src/nodes-probe.ts b/examples/29_capabilities_reel/src/nodes-probe.tsnew file mode 100644index 00000000..702a8c5d--- /dev/null+++ b/examples/29_capabilities_reel/src/nodes-probe.ts@@ -0,0 +1,49 @@+/** pnpm probe:nodes → output/probe-nodes.png: every montage look on one still. */+import fs from "node:fs/promises";+import path from "node:path";+import { Composition, HeadlessMediaRenderer, Layer } from "framefields";+import { OUTPUT, REPO } from "./paths.js";+import { nodeLooks } from "./scenes/nodes.js";+import { FONT_FILES, MONO, registerFonts } from "./theme.js";++await registerFonts();+const still = `${REPO}/examples/19_framefields_film/assets/dancer.png`;+const comp = new Composition({+ width: 1920,+ height: 1080,+ fps: 30,+ durationFrames: 30,+ backgroundColor: "#203040",+ fonts: FONT_FILES,+});+nodeLooks(() => 0).forEach(([name, fx], i) => {+ const x = (i % 4) * 480;+ const y = Math.floor(i / 4) * 270;+ comp.add(+ Layer.image(still, {+ position: "absolute",+ x,+ y,+ width: 480,+ height: 270,+ fit: "cover",+ }).withEffects(fx as never),+ );+ comp.add(+ Layer.text(name, {+ position: "absolute",+ x: x + 8,+ y: y + 8,+ fontFamily: MONO,+ fontSize: 18,+ fill: "#fff",+ background: "#000",+ padding: 4,+ }),+ );+});+await fs.writeFile(+ path.join(OUTPUT, "probe-nodes.png"),+ await comp.renderFrame({ frame: 12, renderer: new HeadlessMediaRenderer() }),+);+process.exit(0);diff --git a/examples/29_capabilities_reel/src/paths.ts b/examples/29_capabilities_reel/src/paths.tsnew file mode 100644index 00000000..8c30e536--- /dev/null+++ b/examples/29_capabilities_reel/src/paths.ts@@ -0,0 +1,27 @@+import path from "node:path";+import { fileURLToPath } from "node:url";++const HERE = path.dirname(fileURLToPath(import.meta.url));+export const ROOT = path.resolve(HERE, "..");+export const REPO = path.resolve(ROOT, "../..");+export const ASSETS = path.join(ROOT, "assets");+export const FONTS = path.join(ASSETS, "fonts");+export const OUTPUT = path.join(ROOT, "output");++export const emoji = (name: string) =>+ path.join(ASSETS, "emoji", `${name}.json`);+export const lottie = (name: string) =>+ path.join(ASSETS, "lottie", `${name}.json`);+export const fluent = (name: string) =>+ path.join(ASSETS, "svg/fluent", `${name}.svg`);+export const twemoji = (name: string) =>+ path.join(ASSETS, "svg/twemoji", `${name}.svg`);+export const lucide = (name: string) =>+ path.join(ASSETS, "svg/lucide", `${name}.svg`);+export const SCORE = path.join(ASSETS, "score.wav");+/** Example 19's generated clip (run `pnpm assets` there). */+export const DANCER = path.resolve(+ REPO,+ "examples/19_framefields_film/assets/dancer.mp4",+);+export const LOGO = path.resolve(REPO, "assets/brand/logo.png");diff --git a/examples/29_capabilities_reel/src/precomp.ts b/examples/29_capabilities_reel/src/precomp.tsnew file mode 100644index 00000000..47823009--- /dev/null+++ b/examples/29_capabilities_reel/src/precomp.ts@@ -0,0 +1,45 @@+/**+ * Stills rendered once at build time and reused as image layers. Layer effects run on media+ * (video, image, SVG, Lottie, particles, VFX) — a box or text layer's `withEffect` is not applied —+ * so type that needs a glow, a split or a warp is drawn here first, on a transparent canvas.+ */+import crypto from "node:crypto";+import fs from "node:fs";+import path from "node:path";+import { Composition, HeadlessMediaRenderer } from "framefields";+import type { Node } from "./kit.js";+import { OUTPUT } from "./paths.js";+import { FONT_FILES } from "./theme.js";++const DIR = path.join(OUTPUT, "precomp");+let renderer: HeadlessMediaRenderer | undefined;++/** Renders `nodes` on a transparent `width`×`height` canvas to a PNG (cached by content). */+export async function still(+ id: string,+ width: number,+ height: number,+ nodes: Node[],+): Promise<string> {+ const comp = new Composition({+ width,+ height,+ fps: 30,+ durationFrames: 1,+ backgroundColor: "transparent",+ fonts: FONT_FILES,+ });+ comp.add(nodes);+ const hash = crypto+ .createHash("sha1")+ .update(JSON.stringify(comp.toSpec()))+ .digest("hex")+ .slice(0, 10);+ const file = path.join(DIR, `${id}-${hash}.png`);+ if (!fs.existsSync(file)) {+ fs.mkdirSync(DIR, { recursive: true });+ renderer ??= new HeadlessMediaRenderer();+ fs.writeFileSync(file, await comp.renderFrame({ frame: 0, renderer }));+ }+ return file;+}diff --git a/examples/29_capabilities_reel/src/probe.ts b/examples/29_capabilities_reel/src/probe.tsnew file mode 100644index 00000000..f2efb046--- /dev/null+++ b/examples/29_capabilities_reel/src/probe.ts@@ -0,0 +1,97 @@+/**+ * pnpm probe → output/probe-*.png: every downloaded asset in one contact sheet, to see+ * which ones the engine draws before building scenes around them.+ */+import fs from "node:fs/promises";+import path from "node:path";+import { Composition, HeadlessMediaRenderer, Layer } from "framefields";+import { FLUENT, LOTTIES, LUCIDE, NOTO, TWEMOJI } from "./manifest.js";+import { emoji, fluent, lottie, lucide, OUTPUT, twemoji } from "./paths.js";+import { FONT_FILES, MONO, registerFonts } from "./theme.js";++await registerFonts();++function sheet(+ items: Array<[string, (o: object) => unknown]>,+ cell: number,+ cols: number,+) {+ const rows = Math.ceil(items.length / cols);+ const comp = new Composition({+ width: cols * cell,+ height: rows * (cell + 24),+ fps: 30,+ durationFrames: 60,+ backgroundColor: "#202028",+ fonts: FONT_FILES,+ });+ items.forEach(([name, make], i) => {+ const x = (i % cols) * cell;+ const y = Math.floor(i / cols) * (cell + 24);+ comp.add(+ make({+ position: "absolute",+ x: x + 8,+ y: y + 8,+ width: cell - 16,+ height: cell - 16,+ }) as never,+ );+ comp.add(+ Layer.text(name, {+ position: "absolute",+ x,+ y: y + cell - 4,+ width: cell,+ fontSize: 14,+ fontFamily: MONO,+ fill: "#ddd",+ align: "center",+ }),+ );+ });+ return comp;+}++const renderer = new HeadlessMediaRenderer();+await fs.mkdir(OUTPUT, { recursive: true });+const sheets: Record<string, Composition> = {+ emoji: sheet(+ Object.keys(NOTO).map((n) => [n, (o) => Layer.lottie(emoji(n), o)]),+ 160,+ 9,+ ),+ lottie: sheet(+ Object.keys(LOTTIES).map((n) => [n, (o) => Layer.lottie(lottie(n), o)]),+ 240,+ 6,+ ),+ svg: sheet(+ [+ ...Object.keys(FLUENT).map((n): [string, (o: object) => unknown] => [+ n,+ (o) => Layer.svg(fluent(n), o),+ ]),+ ...Object.keys(TWEMOJI).map((n): [string, (o: object) => unknown] => [+ `tw:${n}`,+ (o) => Layer.svg(twemoji(n), o),+ ]),+ ...LUCIDE.map((n): [string, (o: object) => unknown] => [+ `lu:${n}`,+ (o) => Layer.svg(lucide(n), o),+ ]),+ ],+ 140,+ 12,+ ),+};+for (const [name, comp] of Object.entries(sheets)) {+ const png = await comp.renderFrame({+ frame: Number(process.argv[2] ?? 20),+ renderer,+ });+ const file = path.join(OUTPUT, `probe-${name}.png`);+ await fs.writeFile(file, png);+ console.log(file);+}+process.exit(0);diff --git a/examples/29_capabilities_reel/src/render-segments.ts b/examples/29_capabilities_reel/src/render-segments.tsnew file mode 100644index 00000000..00b0f34e--- /dev/null+++ b/examples/29_capabilities_reel/src/render-segments.ts@@ -0,0 +1,193 @@+/**+ * pnpm render:segments → output/capabilities-reel.mp4+ *+ * A single long renderVideo of this reel grows GPU memory until macOS kills the process near the+ * end, so the picture is rendered in a few fresh processes instead, each one a run of frames+ * piped to ffmpeg. Segments split where chapters cut (no transition), so nothing stateful —+ * particles, trails, vision — straddles a boundary. The audio is mixed once by framefields (the+ * stems through the audio nodes) and muxed on at the end.+ *+ * tsx src/render-segments.ts all segments, then concat + mux+ * tsx src/render-segments.ts segment 720 1140 out.mp4 one run (used by the parent)+ * tsx src/render-segments.ts audio out.wav only the mix+ */+import { spawn } from "node:child_process";+import fs from "node:fs";+import path from "node:path";+import { fileURLToPath } from "node:url";+import { Composition, HeadlessMediaRenderer } from "framefields";+import { mix } from "./film.js";+import { OUTPUT } from "./paths.js";+import { FPS, H, INK, registerFonts, W } from "./theme.js";+import { chapter, TOTAL_FRAMES } from "./timeline.js";++const SELF = fileURLToPath(import.meta.url);+const DIR = path.join(OUTPUT, "segments");+const [mode = "all", ...args] = process.argv.slice(2);++function run(+ cmd: string,+ argv: string[],+ input?: (stdin: NodeJS.WritableStream) => Promise<void>,+): Promise<void> {+ return new Promise((resolve, reject) => {+ const child = spawn(cmd, argv, {+ stdio: [input ? "pipe" : "ignore", "inherit", "inherit"],+ });+ child.on("error", reject);+ child.on("exit", (code, sig) =>+ code === 0+ ? resolve()+ : reject(new Error(`${cmd} exited ${code ?? sig}`)),+ );+ if (input && child.stdin)+ input(child.stdin).then(() => child.stdin?.end(), reject);+ });+}++async function segment(from: number, to: number, out: string): Promise<void> {+ const { buildFilm } = await import("./film.js");+ const comp = await buildFilm();+ const renderer = new HeadlessMediaRenderer();+ const started = Date.now();+ await run(+ "ffmpeg",+ [+ "-y",+ "-v",+ "error",+ "-f",+ "image2pipe",+ "-framerate",+ String(FPS),+ "-c:v",+ "png",+ "-i",+ "-",+ "-c:v",+ "libx264",+ "-preset",+ "medium",+ "-crf",+ "15",+ "-pix_fmt",+ "yuv420p",+ "-r",+ String(FPS),+ out,+ ],+ async (stdin) => {+ for (let f = from; f < to; f++) {+ const png = await comp.renderFrame({ frame: f, renderer });+ if (!stdin.write(png)) await new Promise((r) => stdin.once("drain", r));+ if ((f - from) % 60 === 0)+ console.log(+ ` frame ${f} (${((Date.now() - started) / 1000).toFixed(0)} s)`,+ );+ }+ },+ );+}++async function audio(out: string): Promise<void> {+ await registerFonts();+ // The same mix the film uses, over black frames: framefields renders the audio graph.+ const comp = new Composition({+ width: 320,+ height: 180,+ fps: FPS,+ durationFrames: TOTAL_FRAMES,+ backgroundColor: INK,+ });+ mix(comp);+ const tmp = path.join(DIR, "audio-carrier.mp4");+ const r = await comp.renderVideo({+ outputPath: tmp,+ quality: "draft",+ qa: { targetLufs: -14 },+ });+ await r.cleanup?.().catch(() => {});+ if (r.qa)+ console.log(+ ` audio: ${r.qa.audio?.integratedLufs?.toFixed(1)} LUFS, peak ${r.qa.audio?.peakDbfs?.toFixed(1)} dBFS`,+ );+ await run("ffmpeg", [+ "-y",+ "-v",+ "error",+ "-i",+ tmp,+ "-vn",+ "-c:a",+ "pcm_s16le",+ out,+ ]);+}++if (mode === "segment") {+ await segment(Number(args[0]), Number(args[1]), args[2]);+} else if (mode === "audio") {+ await audio(args[0]);+} else {+ fs.mkdirSync(DIR, { recursive: true });+ // Split at chapters that open on a hard cut (or whose predecessor holds no state).+ const cuts = [+ 0,+ chapter("stylize").start,+ chapter("vision").start,+ chapter("nodes").start,+ TOTAL_FRAMES,+ ];+ const parts: string[] = [];+ const started = Date.now();+ for (let i = 0; i < cuts.length - 1; i++) {+ const out = path.join(DIR, `part-${i}.mp4`);+ console.log(`segment ${i}: frames ${cuts[i]}–${cuts[i + 1] - 1}`);+ await run("npx", [+ "tsx",+ SELF,+ "segment",+ String(cuts[i]),+ String(cuts[i + 1]),+ out,+ ]);+ parts.push(out);+ }+ const wav = path.join(DIR, "mix.wav");+ console.log("audio mix");+ await run("npx", ["tsx", SELF, "audio", wav]);+ const list = path.join(DIR, "parts.txt");+ fs.writeFileSync(list, parts.map((p) => `file '${p}'`).join("\n"));+ const final = path.join(OUTPUT, "capabilities-reel.mp4");+ await run("ffmpeg", [+ "-y",+ "-v",+ "error",+ "-f",+ "concat",+ "-safe",+ "0",+ "-i",+ list,+ "-i",+ wav,+ "-map",+ "0:v",+ "-map",+ "1:a",+ "-c:v",+ "copy",+ "-c:a",+ "aac",+ "-b:a",+ "256k",+ "-shortest",+ "-movflags",+ "+faststart",+ final,+ ]);+ console.log(+ `${final} (${((Date.now() - started) / 1000).toFixed(0)} s, ${W}x${H})`,+ );+}+process.exit(0);diff --git a/examples/29_capabilities_reel/src/render.ts b/examples/29_capabilities_reel/src/render.tsnew file mode 100644index 00000000..89bc07ce--- /dev/null+++ b/examples/29_capabilities_reel/src/render.ts@@ -0,0 +1,115 @@+/**+ * pnpm render → output/capabilities-reel.mp4 (with QA)+ * pnpm render frames 0 90 400 → output/frames/f0000.png …+ * pnpm render grid lottie [12] → output/grid-lottie.png: a contact sheet across one chapter+ * pnpm render seq vision 40 6 → consecutive frames (vision needs frames in order), every 6th kept+ * pnpm render lint → schema + document lint+ * pnpm render preview → live player on localhost+ */+import fs from "node:fs/promises";+import path from "node:path";+import {+ CompositorProgramSchema,+ formatQaReport,+ HeadlessMediaRenderer,+ startPreview,+} from "framefields";+import { buildFilm } from "./film.js";+import { OUTPUT, REPO } from "./paths.js";+import { chapter } from "./timeline.js";++const [mode = "video", ...args] = process.argv.slice(2);++if (mode === "preview") {+ const session = await startPreview(+ { entry: new URL("./film.ts", import.meta.url), export: "buildFilm" },+ {+ title: "framefields — capabilities reel",+ open: args.includes("--open"),+ root: [REPO],+ },+ );+ console.log(`Preview at ${session.url}`);+ await session.closed;+ process.exit(0);+}++const started = Date.now();+const comp = await buildFilm();+console.log(`built in ${((Date.now() - started) / 1000).toFixed(1)} s`);+await fs.mkdir(OUTPUT, { recursive: true });++if (mode === "lint") {+ const parsed = CompositorProgramSchema.safeParse(comp.toSpec());+ if (!parsed.success) {+ const { z } = await import("zod");+ console.error(+ z.prettifyError(parsed.error).split("\n").slice(0, 40).join("\n"),+ );+ }+ for (const d of comp.lint())+ console.log(+ `${d.severity} ${d.code}: ${d.message}${d.layerId ? ` (${d.layerId})` : ""}`,+ );+ console.log(parsed.success ? "schema ok" : "schema FAILED");+} else if (mode === "frames") {+ const renderer = new HeadlessMediaRenderer();+ await fs.mkdir(path.join(OUTPUT, "frames"), { recursive: true });+ for (const f of args.map(Number)) {+ const file = path.join(+ OUTPUT,+ "frames",+ `f${String(f).padStart(4, "0")}.png`,+ );+ await fs.writeFile(file, await comp.renderFrame({ frame: f, renderer }));+ console.log(file);+ }+} else if (mode === "grid") {+ const c = chapter(args[0]);+ const count = Number(args[1] ?? 12);+ const frames = Array.from(+ { length: count },+ (_, i) => c.start + Math.round((i * (c.frames - 1)) / (count - 1)),+ );+ const png = await comp.renderFrameGrid({+ frames,+ columns: 4,+ cellWidth: 480,+ showLabels: true,+ });+ const file = path.join(OUTPUT, `grid-${c.id}.png`);+ await fs.writeFile(file, png);+ console.log(file, frames.join(" "));+} else if (mode === "seq") {+ // Frames rendered in order with one renderer, keeping every `step`th (vision reads the previous frame).+ const c = chapter(args[0]);+ const from = c.start + Number(args[1] ?? 0);+ const step = Number(args[2] ?? 10);+ const to = Math.min(c.start + c.frames, from + step * 8);+ const renderer = new HeadlessMediaRenderer();+ await fs.mkdir(path.join(OUTPUT, "frames"), { recursive: true });+ for (let f = from; f < to; f++) {+ const png = await comp.renderFrame({ frame: f, renderer });+ if ((f - from) % step === step - 1) {+ const file = path.join(+ OUTPUT,+ "frames",+ `f${String(f).padStart(4, "0")}.png`,+ );+ await fs.writeFile(file, png);+ console.log(file);+ }+ }+} else {+ const result = await comp.renderVideo({+ outputPath: path.join(OUTPUT, "capabilities-reel.mp4"),+ quality: "high",+ qa: { targetLufs: -14 },+ });+ await result.cleanup?.().catch(() => {});+ if (result.qa) console.log(formatQaReport(result.qa));+ console.log(+ `${result.filePath} (${((Date.now() - started) / 1000).toFixed(1)} s)`,+ );+}+process.exit(0);diff --git a/examples/29_capabilities_reel/src/scenes/data.ts b/examples/29_capabilities_reel/src/scenes/data.tsnew file mode 100644index 00000000..4b8905a5--- /dev/null+++ b/examples/29_capabilities_reel/src/scenes/data.ts@@ -0,0 +1,281 @@+/**+ * 10 — Data + color. First the engine counts itself: its 74 nodes by category as an animated bar+ * chart and donut (built from native layers). Then a grade: the portrait clip, with a wipe that+ * reveals Curves → SelectiveColor → ColorBalance → ShadowsHighlights → Vignette on the right.+ */+import {+ Color,+ ColorBalance,+ Curves,+ FilmGrain,+ Layer,+ SelectiveColor,+ ShadowsHighlights,+ Vignette,+} from "framefields";+import { full, hud, keys, type Node, scene } from "../kit.js";+import { REPO } from "../paths.js";+import {+ BAR,+ BEAT,+ CYAN,+ DISPLAY,+ EMBER,+ GOLD,+ H,+ INK,+ LIME,+ MONO,+ MUTED,+ PAPER,+ PINK,+ SANS,+ VIOLET,+ W,+} from "../theme.js";++const PORTRAIT = `${REPO}/examples/19_framefields_film/assets/portrait.mp4`;++/** framefields' 74 nodes (nodes/*), by what they do. */+const NODES: Array<[string, number, string]> = [+ ["Stylize", 16, PINK],+ ["Color", 11, EMBER],+ ["Warp", 10, GOLD],+ ["Generate", 10, LIME],+ ["Audio", 8, CYAN],+ ["Optics", 6, VIOLET],+ ["Matte", 6, "#FF8AD8"],+ ["Signal", 4, "#9AE6B4"],+ ["3D light", 3, "#B9C7FF"],+];++export function dataScene(): Node {+ const split = BAR + BEAT * 2;+ const total = NODES.reduce((n, [, v]) => n + v, 0);++ const charts = full({+ id: "data-charts",+ durationFrames: split + 10,+ children: [+ Layer.text("74 nodes. Counted.", {+ id: "data-title",+ position: "absolute",+ x: 110,+ y: 90,+ fontFamily: DISPLAY,+ fontWeight: 800,+ fontSize: 76,+ letterSpacing: -2,+ fill: PAPER,+ }).animate(+ keys("opacity", [+ [0, 0],+ [8, 1],+ ]),+ ),+ Layer.chart(+ {+ type: "bar",+ width: 1050,+ height: 620,+ categories: NODES.map(([name]) => name),+ series: [+ { name: "nodes", data: NODES.map(([, v]) => v), color: VIOLET },+ ],+ colors: NODES.map(([, , c]) => c),+ yAxis: { min: 0, max: 18, ticks: 6, grid: true },+ valueLabels: true,+ fontFamily: SANS,+ fontSize: 18,+ textColor: MUTED,+ gridColor: Color.alpha("#ffffff", 0.08),+ cornerRadius: 8,+ animate: {+ start: 6,+ duration: 26,+ stagger: 3,+ ease: "back.out(1.4)",+ },+ } as never,+ { id: "data-bars", position: "absolute", x: 90, y: 230 },+ ),+ Layer.chart(+ {+ type: "donut",+ width: 560,+ height: 560,+ data: NODES.map(([label, value, color]) => ({ label, value, color })),+ innerRadius: 0.62,+ cornerRadius: 6,+ legend: false,+ fontFamily: SANS,+ fontSize: 16,+ textColor: PAPER,+ animate: { start: 14, duration: 30, stagger: 2, ease: "expo.out" },+ } as never,+ { id: "data-donut", position: "absolute", x: 1240, y: 250 },+ ),+ Layer.text(String(total), {+ id: "data-total",+ position: "absolute",+ x: 1240,+ y: 455,+ width: 560,+ align: "center",+ fontFamily: DISPLAY,+ fontWeight: 800,+ fontSize: 130,+ fill: PAPER,+ }).animate(+ keys("scale", [+ [0, 0],+ [30, 0],+ [44, 1, "back.out(2)"],+ ]),+ ),+ Layer.text(+ "Layer.chart({ type: bar | donut }) — d3 scales, native layers",+ {+ id: "data-sub",+ position: "absolute",+ x: 112,+ y: 186,+ fontFamily: MONO,+ fontSize: 20,+ fill: MUTED,+ },+ ).animate(+ keys("opacity", [+ [0, 0],+ [12, 0],+ [24, 1],+ ]),+ ),+ ],+ });++ // The grade: the same clip twice, the graded copy revealed by a wipe matte.+ const clip = (id: string) =>+ Layer.video(PORTRAIT, {+ id,+ position: "absolute",+ x: 0,+ y: 0,+ width: W,+ height: H,+ fit: "cover",+ muted: true,+ trimStartSec: 1,+ });+ const wipeX = (f: number) => {+ const t = Math.max(0, Math.min(1, (f - 8) / 50));+ const e = t < 0.5 ? 4 * t ** 3 : 1 - (-2 * t + 2) ** 3 / 2;+ return W * (0.92 - 0.6 * e + 0.12 * Math.sin(f / 14) * e);+ };+ const graded = clip("data-graded")+ .withEffects([+ new Curves({+ master: [+ { x: 0, y: 0.04 },+ { x: 0.25, y: 0.2 },+ { x: 0.75, y: 0.84 },+ { x: 1, y: 0.97 },+ ],+ } as never),+ new SelectiveColor({+ method: "Relative",+ reds: { cyan: -10, magenta: 8, yellow: 14, black: 0 },+ yellows: { cyan: 6, magenta: 0, yellow: -12, black: 0 },+ } as never),+ new ColorBalance({+ shadows: { cyanRed: -8, magentaGreen: 0, yellowBlue: 6 },+ highlights: { cyanRed: 8, magentaGreen: 0, yellowBlue: -8 },+ preserveLuminosity: true,+ }),+ new ShadowsHighlights({+ shadowAmount: 30,+ highlightAmount: 20,+ midtoneContrast: 18,+ }),+ new Vignette({ strength: 45, radius: 0.95, softness: 0.6 }),+ new FilmGrain({ strength: 18, size: 1.6 }),+ ])+ .withMatte(+ Layer.box({+ id: "data-wipe",+ position: "absolute",+ x: 0,+ y: 0,+ width: W,+ height: H,+ background: "#ffffff",+ }).animate(drive(wipeX)),+ );+ const grade = full({+ id: "data-grade",+ startFrame: split,+ children: [+ clip("data-raw"),+ graded,+ Layer.box({+ id: "data-divider",+ position: "absolute",+ x: 0,+ y: 0,+ width: 4,+ height: H,+ background: PAPER,+ }).animate(drive((f) => wipeX(f) - 2)),+ Layer.text("ungraded", {+ id: "data-before",+ position: "absolute",+ x: 80,+ y: 90,+ fontFamily: MONO,+ fontSize: 24,+ fill: PAPER,+ }),+ Layer.text(+ "Curves · SelectiveColor · ColorBalance · ShadowsHighlights · Vignette · FilmGrain",+ {+ id: "data-after",+ position: "absolute",+ x: 80,+ y: H - 210,+ fontFamily: MONO,+ fontSize: 22,+ fill: PAPER,+ },+ ).animate(+ keys("opacity", [+ [0, 0],+ [20, 0],+ [32, 1],+ ]),+ ),+ ],+ }).animate(+ keys("opacity", [+ [0, 0],+ [6, 1],+ ]),+ );++ return scene("data", INK, [+ charts,+ grade,+ hud("data", ["Layer.chart", "withEffects([...grade])", "withMatte(wipe)"]),+ ]);+}++/** A layer's x keyed every 2 frames from a function (the wipe follows a curve). */+function drive(fn: (localFrame: number) => number) {+ return keys(+ "x",+ Array.from(+ { length: 46 },+ (_, i) =>+ [i * 2, Math.round(fn(i * 2)), "none"] as [number, number, string],+ ),+ );+}diff --git a/examples/29_capabilities_reel/src/scenes/emoji.ts b/examples/29_capabilities_reel/src/scenes/emoji.tsnew file mode 100644index 00000000..1e2acb97--- /dev/null+++ b/examples/29_capabilities_reel/src/scenes/emoji.ts@@ -0,0 +1,235 @@+/**+ * 03 — Emoji + physics. Thirty Noto animated emoji (each a Lottie, still playing) rain onto three+ * tilted glass bars and pile up on the floor in a Rapier world. The loudest hit each frame shakes+ * the stage.+ */+import {+ Color,+ Gradient,+ Layer,+ LayerAnimation,+ LayerStyle,+ Physics,+} from "framefields";+import { full, hud, keys, type Node, scene } from "../kit.js";+import type { NotoName } from "../manifest.js";+import { emoji } from "../paths.js";+import {+ BEAT,+ CYAN,+ DISPLAY,+ FPS,+ H,+ INK,+ MONO,+ MUTED,+ PAPER,+ PINK,+ VIOLET,+ W,+} from "../theme.js";+import { chapter } from "../timeline.js";++const RAIN: NotoName[] = [+ "rocket",+ "heartEyes",+ "fire",+ "starStruck",+ "party",+ "mindBlown",+ "unicorn",+ "robot",+ "rainbow",+ "cool",+ "partying",+ "alien",+ "heart",+ "zap",+ "gem",+ "brain",+ "globe",+ "popcorn",+ "rofl",+ "inLove",+ "octopus",+ "catHeart",+ "trophy",+ "crystalBall",+ "eyes",+ "clap",+ "thumbsUp",+ "glowingStar",+ "volcano",+ "melting",+];++function rng(seed: number) {+ let s = seed;+ return () => {+ s = (s * 1664525 + 1013904223) >>> 0;+ return s / 4294967296;+ };+}++export async function emojiScene(): Promise<Node> {+ const c = chapter("emoji");+ const world = await Physics.world2d({+ fps: FPS,+ frames: c.frames + 30,+ startFrame: c.start,+ gravity: 2600,+ substeps: 6,+ });+ const floor = H - 24;+ world.walls({ width: W, height: floor, restitution: 0.25 });++ const bars: Node[] = [+ { x: 60, y: 600, w: 520, r: 15 },+ { x: 1340, y: 600, w: 520, r: -15 },+ { x: 760, y: 470, w: 400, r: 0 },+ ].map((b, i) => {+ const bar = Layer.box({+ id: `emoji-bar-${i}`,+ position: "absolute",+ x: b.x,+ y: b.y,+ width: b.w,+ height: 34,+ rotation: b.r,+ borderRadius: 17,+ background: Gradient.linear(+ [+ Color.alpha(CYAN, 0.55),+ Color.alpha(VIOLET, 0.55),+ Color.alpha(PINK, 0.55),+ ],+ 90,+ ),+ borderColor: Color.alpha("#ffffff", 0.45),+ borderWidth: 1.5,+ }).withEffect(+ new LayerStyle({+ outerGlow: {+ enabled: true,+ color: CYAN,+ opacity: 0.5,+ size: 22,+ spread: 0,+ },+ }),+ );+ world.body(bar, { type: "fixed", restitution: 0.5, friction: 0.3 });+ return bar.animate(+ keys("scaleX", [+ [0, 0],+ [6 + i * 4, 0],+ [22 + i * 4, 1, "expo.out"],+ ]),+ );+ });++ const rand = rng(29);+ const drops = RAIN.map((name, i) => {+ const size = Math.round(118 + rand() * 60);+ const layer = Layer.lottie(emoji(name), {+ id: `emoji-drop-${name}`,+ position: "absolute",+ x: Math.round(120 + rand() * (W - 240 - size)),+ y: -size - 40 - Math.round(rand() * 140),+ width: size,+ height: size,+ rotation: Math.round(rand() * 60 - 30),+ });+ world.body(layer, {+ shape: "circle",+ restitution: 0.42,+ friction: 0.35,+ density: 0.8,+ angularVelocity: rand() * 240 - 120,+ startFrame: 8 + Math.round((i * (BEAT * 7)) / RAIN.length),+ });+ return layer;+ });+ world.simulate();++ return scene("emoji", INK, [+ full({ background: Gradient.linear(["#1B0F3A", "#0A0716"], 180) }),+ full({+ background: Gradient.radial([Color.alpha(VIOLET, 0.35), "transparent"]),+ }),+ // The stage shakes with the loudest impact.+ full({+ id: "emoji-stage",+ children: [...bars, ...drops],+ }).animate(+ LayerAnimation.create().signal("y", world.impact, {+ multiplier: 9,+ offset: 0,+ smoothing: 1,+ }),+ ),+ full({+ id: "emoji-flash",+ background: "#ffffff",+ opacity: 0,+ blendMode: "overlay",+ }).animate(+ LayerAnimation.create().signal("opacity", world.impact, {+ multiplier: 0.18,+ }),+ ),+ Layer.text(+ [+ { text: "Animated emoji\n" },+ { text: "with real physics", fill: Color.lighten(CYAN, 0.1) },+ ] as never,+ {+ id: "emoji-title",+ zIndex: 20,+ position: "absolute",+ x: 110,+ y: 96,+ width: 1300,+ fontFamily: DISPLAY,+ fontWeight: 800,+ fontSize: 84,+ lineHeight: 92,+ letterSpacing: -1.5,+ fill: PAPER,+ },+ ).animate(+ keys("opacity", [+ [0, 0],+ [8, 1],+ ]),+ keys("y", [+ [0, 130],+ [22, 96, "expo.out"],+ ]),+ ),+ Layer.text(+ "Noto Animated Emoji as Lottie · Physics.world2d · body.impact → camera shake",+ {+ id: "emoji-sub",+ zIndex: 20,+ position: "absolute",+ x: 112,+ y: 300,+ fontFamily: MONO,+ fontSize: 21,+ fill: MUTED,+ },+ ).animate(+ keys("opacity", [+ [0, 0],+ [16, 0],+ [30, 1],+ ]),+ ),+ hud("emoji", [+ "Physics.world2d",+ "world.body(lottie, { shape: circle })",+ "world.impact → shake",+ ]),+ ]);+}diff --git a/examples/29_capabilities_reel/src/scenes/finale.ts b/examples/29_capabilities_reel/src/scenes/finale.tsnew file mode 100644index 00000000..545f0dc8--- /dev/null+++ b/examples/29_capabilities_reel/src/scenes/finale.ts@@ -0,0 +1,378 @@+/**+ * 11 — Finale. A GPU particle vortex that surges on every kick, Lottie fireworks going off round+ * the frame, every emoji SVG orbiting the framefields mark, the name and the install line — then+ * the last hit and an old-TV power-off to black. The asset credits sit along the bottom.+ */+import {+ Color,+ FontManager,+ Gradient,+ Layer,+ LayerAnimation,+ LayerStyle,+ Signal,+} from "framefields";+import { blend, full, keys, type Node, popIn, scene } from "../kit.js";+import { FLUENT, TWEMOJI } from "../manifest.js";+import { kick, kickAt } from "../music.js";+import { fluent, LOGO, lottie, twemoji } from "../paths.js";+import { still } from "../precomp.js";+import {+ BAR,+ BEAT,+ CYAN,+ DISPLAY,+ GOLD,+ H,+ INK,+ MONO,+ MUTED,+ PAPER,+ PINK,+ VIOLET,+ W,+} from "../theme.js";+import { chapter } from "../timeline.js";++const CX = W / 2;+const CY = 470;++export async function finaleScene(): Promise<Node> {+ const c = chapter("finale");+ const hit = BAR * 3; // the last downbeat+ const off = hit + BEAT * 2; // power-off++ const NAME = {+ fontFamily: DISPLAY,+ fontWeight: 800,+ fontSize: 128,+ letterSpacing: -3,+ };+ const nw = Math.ceil(FontManager.measure("framefields", NAME).width + 60);+ const nameGlow = await still("finale-name", nw, 190, [+ Layer.text("framefields", {+ position: "absolute",+ x: 0,+ y: 0,+ width: nw,+ height: 190,+ ...NAME,+ fill: PAPER,+ align: "center",+ }),+ ]);++ const vortex = Layer.particles({+ id: "finale-vortex",+ width: W,+ height: H,+ max: 30000,+ seed: 13,+ emitter: {+ shape: "ring",+ x: CX,+ y: CY,+ radius: 700,+ rate: (f: number) => 700 + 6000 * kickAt(f),+ },+ lifetime: [1.0, 1.8],+ speed: [60, 140],+ direction: 0,+ spread: 360,+ drag: 0.6,+ noise: { strength: 160, scale: 260, speed: 0.4 },+ attractors: [{ x: CX, y: CY, strength: 900, radius: 900 }],+ size: [5, 1.5],+ sizeJitter: 0.5,+ fade: [0.1, 0.4],+ shape: "spark",+ blend: "add",+ color: [CYAN, VIOLET, PINK],+ colorBySpeed: 900,+ prewarm: 2,+ } as never);++ const BURSTS: Array<[number, number, number, number]> = [+ [120, 120, 0, 520],+ [1500, 90, 18, 560],+ [1380, 560, 40, 480],+ [180, 560, 62, 460],+ [1140, 600, 128, 420],+ ];+ const fireworks = BURSTS.map(([x, y, at, size], i) =>+ blend(+ Layer.lottie(lottie("fireworks"), {+ id: `finale-fw-${i}`,+ position: "absolute",+ x,+ y,+ width: size,+ height: size * 1.4,+ fit: "cover",+ startFrame: at,+ }),+ "screen",+ ),+ );++ const ring = [+ ...Object.keys(FLUENT).map((n) => fluent(n)),+ ...Object.keys(TWEMOJI)+ .slice(0, 6)+ .map((n) => twemoji(n)),+ ];+ const orbit = ring.map((src, i) => {+ const size = 92;+ const phase = (i / ring.length) * Math.PI * 2;+ const radius = (frame: number) =>+ 440 + 40 * Math.sin((frame - c.start) / 9 + i);+ const angle = (frame: number) => phase + ((frame - c.start) / 60) * 0.55;+ return Layer.box({+ id: `finale-orbit-${i}`,+ position: "absolute",+ x: 0,+ y: 0,+ width: size,+ height: size,+ children: [+ Layer.svg(src, {+ position: "absolute",+ x: 0,+ y: 0,+ width: size,+ height: size,+ }).animate(popIn(6 + (i % 12) * 3, 14, 0)),+ ],+ }).animate(+ LayerAnimation.create()+ .signal(+ "x",+ Signal.programmatic(+ (ctx) =>+ CX ++ Math.cos(angle(ctx.frame)) * radius(ctx.frame) * 1.75 -+ size / 2,+ ),+ )+ .signal(+ "y",+ Signal.programmatic(+ (ctx) =>+ CY ++ 30 ++ Math.sin(angle(ctx.frame)) * radius(ctx.frame) * 0.9 -+ size / 2,+ ),+ ),+ );+ });++ const logo = 230;+ const stage = full({+ id: "finale-stage",+ children: [+ full({ background: Gradient.radial([Color.alpha(VIOLET, 0.4), INK]) }),+ blend(+ Layer.vfx({+ id: "finale-aurora",+ effectType: "Aurora",+ width: W,+ height: H,+ colorStart: VIOLET,+ colorEnd: CYAN,+ density: 0.65,+ speed: 1.4,+ intensity: 0.7,+ }),+ "screen",+ ),+ vortex,+ // A dark halo keeps the mark and the name readable over the vortex.+ Layer.shape("ellipse", {+ id: "finale-halo",+ position: "absolute",+ x: CX - 700,+ y: CY - 380,+ width: 1400,+ height: 860,+ fillColor: Gradient.radial([+ Color.alpha(INK, 0.85),+ Color.alpha(INK, 0),+ ]),+ }),+ ...fireworks,+ ...orbit,+ Layer.box({+ id: "finale-mark",+ position: "absolute",+ x: CX - logo / 2,+ y: CY - logo / 2 - 120,+ width: logo,+ height: logo,+ children: [+ Layer.image(LOGO, {+ id: "finale-logo",+ position: "absolute",+ x: 0,+ y: 0,+ width: logo,+ height: logo,+ fit: "contain",+ })+ .withEffect(+ new LayerStyle({+ outerGlow: {+ enabled: true,+ color: CYAN,+ opacity: 0.8,+ size: 50,+ spread: 0,+ },+ }),+ )+ .animate(popIn(4, 22, 0)),+ ],+ }).animate(+ LayerAnimation.create().signal("scale", kick, {+ multiplier: 0.06,+ offset: 1,+ }),+ keys("rotation", [+ [hit - 1, 0],+ [hit, -6],+ [hit + 20, 0, "elastic.out(1, 0.4)"],+ ]),+ ),+ Layer.box({+ id: "finale-name",+ position: "absolute",+ x: CX - nw / 2,+ y: CY + 30,+ width: nw,+ height: 190,+ children: [+ Layer.image(nameGlow, {+ id: "finale-name-img",+ position: "absolute",+ x: 0,+ y: 0,+ width: nw,+ height: 190,+ }).withEffect(+ new LayerStyle({+ outerGlow: {+ enabled: true,+ color: PINK,+ opacity: 0.55,+ size: 40,+ spread: 0,+ },+ }),+ ),+ ],+ }).animate(+ keys("opacity", [+ [0, 0],+ [16, 0],+ [24, 1],+ ]),+ keys("y", [+ [16, CY + 90],+ [36, CY + 30, "expo.out"],+ ]),+ ),+ Layer.box({+ id: "finale-install",+ position: "absolute",+ x: CX - 250,+ y: CY + 240,+ width: 500,+ height: 74,+ borderRadius: 37,+ background: Color.alpha("#ffffff", 0.08),+ borderColor: Color.alpha("#ffffff", 0.25),+ borderWidth: 1.5,+ children: [+ Layer.text("$ npm i framefields", {+ id: "finale-install-text",+ position: "absolute",+ x: 0,+ y: 18,+ width: 500,+ align: "center",+ fontFamily: MONO,+ fontSize: 30,+ fill: GOLD,+ }).animate(LayerAnimation.create().typewriter(40, 64, "linear")),+ ],+ }).animate(popIn(34, 16, 0.6)),+ Layer.text(+ "Emoji: Noto Animated Emoji (CC BY 4.0) · Fluent Emoji (MIT) · Twemoji (CC BY 4.0) · Lottie: Airbnb samples, LottieFiles · Icons: Lucide · Score: synthesized",+ {+ id: "finale-credits",+ position: "absolute",+ x: 60,+ y: H - 70,+ width: W - 120,+ align: "center",+ fontFamily: MONO,+ fontSize: 15,+ fill: MUTED,+ },+ ).animate(+ keys("opacity", [+ [0, 0],+ [BAR, 0],+ [BAR + 20, 1],+ ]),+ ),+ full({ id: "finale-hit", background: PAPER, opacity: 0 }).animate(+ keys("opacity", [+ [hit - 1, 0],+ [hit, 0.9],+ [hit + 12, 0, "power2.out"],+ ]),+ ),+ ],+ }).animate(+ // The power-off: the picture folds to a line, then to a dot.+ keys("scaleY", [+ [off, 1],+ [off + 7, 0.004, "power3.in"],+ ]),+ keys("scaleX", [+ [off + 7, 1],+ [off + 13, 0, "power3.in"],+ ]),+ );++ return scene("finale", "#000000", [+ stage,+ Layer.shape("ellipse", {+ id: "finale-dot",+ position: "absolute",+ x: CX - 30,+ y: H / 2 - 3,+ width: 60,+ height: 6,+ fillColor: "#ffffff",+ opacity: 0,+ }).animate(+ keys("opacity", [+ [off + 6, 0],+ [off + 8, 1],+ [off + 20, 0, "power2.out"],+ ]),+ keys("scaleX", [+ [off + 8, 1],+ [off + 16, 0.05, "power2.in"],+ ]),+ ),+ full({ id: "finale-end", background: "#000000", opacity: 0 }).animate(+ keys("opacity", [+ [off + 14, 0],+ [off + 15, 1],+ ]),+ ),+ ]);+}diff --git a/examples/29_capabilities_reel/src/scenes/fluid.ts b/examples/29_capabilities_reel/src/scenes/fluid.tsnew file mode 100644index 00000000..186d9555--- /dev/null+++ b/examples/29_capabilities_reel/src/scenes/fluid.ts@@ -0,0 +1,361 @@+/**+ * 06 — Warp + fluid, over the breakdown. Three panels of effects that need motion inside the+ * layer: Gooey metaballs from big GPU particles, Trails echoing a light-painting emitter, and a+ * Liquify twirl over a precomposed poster that TileOffset scrolls underneath it. Along the bottom, the+ * low-pass EQ curve that is filtering the music right now, with its cutoff counting live.+ */+import {+ Color,+ Gooey,+ Gradient,+ Layer,+ Liquify,+ Signal,+ TileOffset,+ Trails,+} from "framefields";+import { full, hud, keys, type Node, popIn, scene } from "../kit.js";+import { lowpassAt } from "../music.js";+import { still } from "../precomp.js";+import {+ CYAN,+ DISPLAY,+ EMBER,+ GOLD,+ INK,+ LIME,+ MONO,+ MUTED,+ PAPER,+ PINK,+ VIOLET,+} from "../theme.js";+import { chapter } from "../timeline.js";++const PANEL = { r: 28, bg: "#0B0A16", border: Color.alpha("#ffffff", 0.1) };++function panel(+ id: string,+ x: number,+ y: number,+ w: number,+ h: number,+ label: string,+ children: Node[],+ delay: number,+): Node {+ return Layer.box({+ id: `fluid-panel-${id}`,+ position: "absolute",+ x,+ y,+ width: w,+ height: h,+ borderRadius: PANEL.r,+ background: PANEL.bg,+ borderColor: PANEL.border,+ borderWidth: 1.5,+ overflow: "hidden",+ children: [+ ...children,+ Layer.box({+ position: "absolute",+ x: 16,+ y: h - 50,+ height: 34,+ padding: 8,+ borderRadius: 8,+ background: Color.alpha(INK, 0.75),+ children: [+ Layer.text(label, { fontFamily: MONO, fontSize: 17, fill: PAPER }),+ ],+ }),+ ],+ }).animate(popIn(delay, 20, 0.85));+}++/** Magnitude (dB) of a 2nd-order low-pass at `f` for cutoff `fc`. */+function lowpassDb(f: number, fc: number, q = 1.2): number {+ const r = f / fc;+ return -10 * Math.log10((1 - r * r) ** 2 + (r / q) ** 2);+}++export async function fluidScene(): Promise<Node> {+ const c = chapter("fluid");+ const top = 200;++ // Gooey: a dozen large particles drifting round a centre melt into each other.+ const gw = 820;+ const gh = 560;+ const goo = Layer.particles({+ id: "fluid-goo",+ x: 0,+ y: 0,+ width: gw,+ height: gh,+ max: 60,+ seed: 9,+ emitter: { shape: "circle", x: gw / 2, y: gh / 2, radius: 200, rate: 14 },+ lifetime: [5, 7],+ speed: [20, 70],+ spread: 360,+ drag: 0.4,+ noise: { strength: 120, scale: 220, speed: 0.4 },+ attractors: [{ x: gw / 2, y: gh / 2, strength: 160, radius: 400 }],+ size: [150, 80],+ sizeJitter: 0.5,+ fade: [0.05, 0.1],+ shape: "circle",+ color: [PINK, VIOLET, CYAN],+ prewarm: 6,+ } as never).withEffect(+ new Gooey({ radius: 26, threshold: 0.5, softness: 0.06 }),+ );++ // Trails: a light pen on a Lissajous path; the effect keeps fading copies that zoom and shift hue.+ const tw = 900;+ const th = 270;+ const pen = Layer.particles({+ id: "fluid-pen",+ x: 0,+ y: 0,+ width: tw,+ height: th,+ max: 4000,+ seed: 2,+ emitter: {+ shape: "point",+ x: (f: number) => tw / 2 + Math.sin((f - c.start) / 11) * 330,+ y: (f: number) => th / 2 + Math.sin((f - c.start) / 7) * 80,+ rate: 900,+ },+ lifetime: [0.3, 0.6],+ speed: [0, 30],+ spread: 360,+ size: [30, 8],+ fade: [0, 0.5],+ shape: "soft",+ blend: "add",+ color: [GOLD, EMBER, PINK],+ } as never).withEffect(+ new Trails({+ decay: 0.96,+ mode: "max",+ zoom: 1.012,+ hueShift: 9,+ warmup: 40,+ }),+ );++ // Liquify: a static twirl lens over a poster that Ken Burns pans underneath.+ const lw = 900;+ const lh = 270;+ const posterW = 1800;+ const posterH = 540;+ const poster = await still("fluid-poster", posterW, posterH, [+ Layer.box({+ position: "absolute",+ x: 0,+ y: 0,+ width: posterW,+ height: posterH,+ background: Gradient.linear([VIOLET, PINK, EMBER, GOLD], 90),+ }),+ ...[0, 1, 2, 3].map((row) =>+ Layer.text("BEND · TWIST · MELT · WARP · ", {+ position: "absolute",+ x: -row * 160,+ y: row * 135 - 10,+ width: posterW + 800,+ fontFamily: DISPLAY,+ fontWeight: 800,+ fontSize: 120,+ letterSpacing: -2,+ fill: row % 2 ? INK : PAPER,+ }),+ ),+ ]);+ const liquid = Layer.image(poster, {+ id: "fluid-poster",+ position: "absolute",+ x: 0,+ y: 0,+ width: lw,+ height: lh,+ fit: "cover",+ }).withEffects([+ // Scroll the poster through the frame (wrapping), so the lens has something moving under it.+ new TileOffset({+ offsetX: Signal.programmatic((ctx) => (ctx.frame - c.start) * 7),+ offsetY: 0,+ wrap: true,+ edgeMode: "wrap",+ }),+ new Liquify({+ operations: [+ {+ type: "TwirlCW",+ x: 0.5,+ y: 0.5,+ radius: 0.45,+ strength: 1,+ dx: 0,+ dy: 0,+ },+ {+ type: "Bloat",+ x: 0.5,+ y: 0.5,+ radius: 0.3,+ strength: 0.8,+ dx: 0,+ dy: 0,+ },+ ],+ }),+ ]);++ // The EQ curve: the response of the low-pass the stems run through, redrawn every 2 frames.+ const ew = 1760;+ const eh = 104;+ const curve = (frame: number) => {+ const fc = lowpassAt(frame);+ let d = "";+ for (let i = 0; i <= 120; i++) {+ const f = 20 * 1000 ** (i / 120);+ const db = Math.max(-36, Math.min(6, lowpassDb(f, fc)));+ const x = (i / 120) * ew;+ const y = eh * 0.25 - (db / 36) * eh * 0.75;+ d += `${i ? "L" : "M"}${x.toFixed(1)} ${y.toFixed(1)}`;+ }+ return d;+ };+ const eqKeys: Array<[number, string]> = [];+ for (let f = 0; f <= c.frames; f += 2) eqKeys.push([f, curve(c.start + f)]);+ // A marker at the cutoff, riding the curve.+ const markerKeys: Array<[number, number, string]> = [];+ for (let f = 0; f <= c.frames; f += 2) {+ const fc = lowpassAt(c.start + f);+ const u = Math.log(fc / 20) / Math.log(1000);+ markerKeys.push([f, Math.round(u * ew) - 9, "none"]);+ }++ return scene("fluid", "#06060D", [+ full({+ background: Gradient.radial([Color.alpha(VIOLET, 0.22), "transparent"]),+ }),+ Layer.text("Warp, melt, echo", {+ id: "fluid-title",+ position: "absolute",+ x: 80,+ y: 84,+ fontFamily: DISPLAY,+ fontWeight: 800,+ fontSize: 76,+ letterSpacing: -2,+ fill: PAPER,+ }).animate(+ keys("opacity", [+ [0, 0],+ [10, 1],+ ]),+ keys("x", [+ [0, 30],+ [24, 80, "expo.out"],+ ]),+ ),+ panel("goo", 80, top, gw, gh, "Gooey · Layer.particles", [goo], 6),+ panel("trails", 940, top, tw, th, "Trails · light pen", [pen], 12),+ panel(+ "liquify",+ 940,+ top + th + 20,+ lw,+ lh,+ "TileOffset(signal) → Liquify(TwirlCW, Bloat)",+ [liquid],+ 18,+ ),+ // The live EQ.+ Layer.box({+ id: "fluid-eq",+ position: "absolute",+ x: 80,+ y: 776,+ width: ew,+ height: eh,+ children: [+ Layer.box({+ position: "absolute",+ x: 0,+ y: eh * 0.25,+ width: ew,+ height: 1,+ background: Color.alpha("#ffffff", 0.15),+ }),+ Layer.shape("path", {+ id: "fluid-eq-curve",+ position: "absolute",+ x: 0,+ y: 0,+ width: ew,+ height: eh,+ d: eqKeys[0][1],+ fillType: "none",+ fillColor: "transparent",+ strokeColor: LIME,+ strokeWidth: 4,+ }).animate(keys("d", eqKeys)),+ // At the cutoff the response is -3 dB, so the marker rides at that height.+ Layer.shape("circle", {+ id: "fluid-eq-marker",+ position: "absolute",+ x: 0,+ y:+ Math.round(eh * 0.25 - (lowpassDb(1000, 1000) / 36) * eh * 0.75) -+ 9,+ width: 18,+ height: 18,+ fillColor: LIME,+ }).animate(keys("x", markerKeys)),+ Layer.text(+ "the low-pass on the music right now: AudioParametricEq({ frequency: signal })",+ {+ id: "fluid-eq-label",+ position: "absolute",+ x: 0,+ y: eh + 6,+ width: ew,+ align: "end",+ fontFamily: MONO,+ fontSize: 19,+ fill: MUTED,+ },+ ),+ ],+ }).animate(+ keys("opacity", [+ [0, 0],+ [24, 0],+ [40, 1],+ ]),+ ),+ full({ id: "fluid-dim", background: INK, opacity: 0 }).animate(+ keys("opacity", [+ [c.frames - 4, 0],+ [c.frames, 0.6],+ ]),+ ),+ hud(+ "fluid",+ [+ "Gooey",+ "Trails",+ "Liquify",+ "TileOffset",+ "AudioParametricEq(frequency: signal)",+ ],+ { until: c.frames },+ ),+ ]);+}diff --git a/examples/29_capabilities_reel/src/scenes/lottie.ts b/examples/29_capabilities_reel/src/scenes/lottie.tsnew file mode 100644index 00000000..37017857--- /dev/null+++ b/examples/29_capabilities_reel/src/scenes/lottie.ts@@ -0,0 +1,257 @@+/**+ * 02 — Lottie. Eight animations, each on its own card, flip in on the beat; on the third bar the+ * whole wall tips back in perspective while an abstract Lottie plays full-frame behind it.+ */+import { Blur, Color, Layer, LayerAnimation, LayerStyle } from "framefields";+import { full, hud, keys, type Node, scene } from "../kit.js";+import { kick } from "../music.js";+import { lottie } from "../paths.js";+import {+ BAR,+ BEAT,+ CYAN,+ DISPLAY,+ GOLD,+ H,+ LIME,+ MONO,+ MUTED,+ NIGHT,+ PAPER,+ PINK,+ VIOLET,+ W,+} from "../theme.js";++const CARDS: Array<{+ name: string;+ label: string;+ bg: string;+ fit?: "cover" | "contain";+ pad?: number;+}> = [+ {+ name: "fireworks",+ label: "fireworks",+ bg: "#120E24",+ fit: "cover",+ pad: 0,+ },+ {+ name: "dogCar",+ label: "dog_car_ride",+ bg: "#4FC3C9",+ fit: "cover",+ pad: 0,+ },+ { name: "gatin", label: "gatin", bg: "#1D6EAF", fit: "cover", pad: 0 },+ { name: "growth", label: "growth", bg: "#E9E4F7" },+ { name: "cactus", label: "cactus", bg: PAPER, pad: 46 },+ {+ name: "happy2016",+ label: "happy2016",+ bg: "#030B26",+ fit: "cover",+ pad: 0,+ },+ { name: "squares", label: "9squares", bg: "#2A2A2A", fit: "cover", pad: 0 },+ { name: "navidad", label: "navidad", bg: "#FFC7D9", pad: 10 },+];++const COLS = 4;+const CW = 390;+const CH = 270;+const GAP = 36;+const X0 = (W - (COLS * CW + (COLS - 1) * GAP)) / 2;+const Y0 = 250;++export function lottieScene(): Node {+ const cards = CARDS.map((card, i) => {+ const col = i % COLS;+ const row = Math.floor(i / COLS);+ const pad = card.pad ?? 26;+ const at = 6 + i * 5;+ return Layer.box({+ id: `lottie-card-${card.name}`,+ position: "absolute",+ x: X0 + col * (CW + GAP),+ y: Y0 + row * (CH + GAP + 34),+ width: CW,+ height: CH,+ borderRadius: 26,+ background: card.bg,+ borderColor: Color.alpha("#ffffff", 0.16),+ borderWidth: 1.5,+ overflow: "hidden",+ transformStyle: "preserve-3d",+ perspective: 1100,+ children: [+ Layer.lottie(lottie(card.name), {+ id: `lottie-${card.name}`,+ position: "absolute",+ x: pad,+ y: pad,+ width: CW - pad * 2,+ height: CH - pad * 2,+ fit: card.fit ?? "contain",+ }),+ ],+ })+ .animate(+ keys("rotateY", [+ [0, -95],+ [at, -95],+ [at + 22, 0, "expo.out"],+ ]),+ keys("opacity", [+ [0, 0],+ [at, 0],+ [at + 4, 1],+ ]),+ keys("scale", [+ [0, 0.7],+ [at, 0.7],+ [at + 22, 1, "back.out(1.4)"],+ ]),+ )+ .withEffect(+ new LayerStyle({+ dropShadow: {+ enabled: true,+ color: "#000000",+ opacity: 0.55,+ angle: 90,+ distance: 18,+ spread: 0,+ size: 34,+ },+ }),+ );+ });+ const labels = CARDS.map((card, i) =>+ Layer.text(`${String(i + 1).padStart(2, "0")} ${card.label}.json`, {+ id: `lottie-label-${card.name}`,+ position: "absolute",+ x: X0 + (i % COLS) * (CW + GAP) + 4,+ y: Y0 + Math.floor(i / COLS) * (CH + GAP + 34) + CH + 12,+ width: CW,+ fontFamily: MONO,+ fontSize: 17,+ fill: MUTED,+ }).animate(+ keys("opacity", [+ [0, 0],+ [16 + i * 5, 0],+ [26 + i * 5, 1],+ ]),+ ),+ );++ return scene("lottie", NIGHT, [+ // Full-frame abstract Lottie, blurred into a moving backdrop.+ Layer.lottie(lottie("gradientShapes"), {+ id: "lottie-backdrop",+ position: "absolute",+ x: 0,+ y: 0,+ width: W,+ height: H,+ fit: "cover",+ })+ .withEffect(new Blur({ blurType: "Gaussian", strength: 40 }))+ .animate(+ keys("opacity", [+ [0, 0],+ [BAR, 0.45, "sine.inOut"],+ ]),+ ),+ full({+ background: `linear-gradient(180deg, ${NIGHT}00 0%, ${NIGHT} 92%)`,+ }),+ Layer.text("Lottie", {+ id: "lottie-title",+ position: "absolute",+ x: X0,+ y: 92,+ fontFamily: DISPLAY,+ fontWeight: 800,+ fontSize: 96,+ letterSpacing: -2,+ fill: PAPER,+ }).animate(+ keys("x", [+ [0, X0 - 60],+ [20, X0, "expo.out"],+ ]),+ keys("opacity", [+ [0, 0],+ [10, 1],+ ]),+ ),+ Layer.text(+ "vector animation, decoded and drawn on the GPU — any .json or .lottie",+ {+ id: "lottie-sub",+ position: "absolute",+ x: X0 + 4,+ y: 192,+ fontFamily: MONO,+ fontSize: 22,+ fill: MUTED,+ },+ ).animate(+ keys("opacity", [+ [0, 0],+ [14, 0],+ [28, 1],+ ]),+ ),+ ...[GOLD, CYAN, LIME, PINK, VIOLET].map((color, i) =>+ Layer.shape("circle", {+ id: `lottie-dot-${i}`,+ position: "absolute",+ x: X0 + 352 + i * 22,+ y: 132,+ width: 12,+ height: 12,+ fillColor: color,+ }).animate(+ LayerAnimation.create().signal("scale", kick, {+ multiplier: 0.8,+ offset: 1,+ }),+ ),+ ),+ Layer.box({+ id: "lottie-wall",+ position: "absolute",+ x: 0,+ y: 0,+ width: W,+ height: H,+ transformStyle: "preserve-3d",+ perspective: 1600,+ children: [...cards, ...labels],+ }).animate(+ keys("rotateX", [+ [BAR * 2 - BEAT, 0],+ [BAR * 3, 16, "power2.inOut"],+ ]),+ keys("rotateY", [+ [BAR * 2 - BEAT, 0],+ [BAR * 3, -12, "power2.inOut"],+ ]),+ keys("scale", [+ [BAR * 2 - BEAT, 1],+ [BAR * 3, 0.9, "power2.inOut"],+ ]),+ ),+ hud("lottie", [+ "Layer.lottie",+ "fit: cover | contain",+ "rotateY · perspective",+ "LayerStyle.dropShadow",+ "Blur",+ ]),+ ]);+}diff --git a/examples/29_capabilities_reel/src/scenes/nodes.ts b/examples/29_capabilities_reel/src/scenes/nodes.tsnew file mode 100644index 00000000..76f19897--- /dev/null+++ b/examples/29_capabilities_reel/src/scenes/nodes.ts@@ -0,0 +1,296 @@+/**+ * 10b — Node montage. Two bars, sixteen cuts on the eighth notes: the dancer clip through one+ * more node each — keying, corner pin, mesh warp, diamond pixels, symmetry, rotation, hue, levels,+ * high-pass, sharpening, relighting, depth parallax, glass caustics, CMYK halftone, a 3D LUT+ * (written here as a .cube) and datamosh — each named as it hits.+ */+import fs from "node:fs";+import path from "node:path";+import {+ ApplyLUT,+ CameraParallax3D,+ ColorKey,+ CornerPin,+ Datamosh,+ Flip,+ Gradient,+ HalftoneScreen,+ HighPass,+ Layer,+ Levels,+ MeshWarp,+ Modulate,+ Pixelate,+ RefractionCaustics3D,+ Relight3D,+ Rotate,+ Signal,+ UnsharpMask,+} from "framefields";+import { full, hud, keys, type Node, scene } from "../kit.js";+import { ASSETS, DANCER } from "../paths.js";+import {+ BEAT,+ CYAN,+ DISPLAY,+ GOLD,+ H,+ INK,+ MONO,+ PAPER,+ PINK,+ VIOLET,+ W,+} from "../theme.js";+import { chapter } from "../timeline.js";++/** A small teal-and-orange 3D LUT, written as a .cube so ApplyLUT has a real file to read. */+export function tealOrangeLut(): string {+ const file = path.join(ASSETS, "luts", "teal-orange.cube");+ if (fs.existsSync(file)) return file;+ const n = 17;+ const lines = ['TITLE "teal-orange"', `LUT_3D_SIZE ${n}`];+ for (let b = 0; b < n; b++) {+ for (let g = 0; g < n; g++) {+ for (let r = 0; r < n; r++) {+ const R = r / (n - 1);+ const G = g / (n - 1);+ const B = b / (n - 1);+ const l = 0.299 * R + 0.587 * G + 0.114 * B;+ // Shadows toward teal, highlights toward orange, a little more contrast.+ const s = l * l * (3 - 2 * l);+ const mix = (v: number, teal: number, orange: number) =>+ Math.min(+ 1,+ Math.max(0, v * 0.5 + (1 - s) * teal * 0.5 + s * orange * 0.5),+ );+ lines.push(+ [mix(R, 0.05, 1.0), mix(G, 0.35, 0.62), mix(B, 0.42, 0.28)]+ .map((v) => v.toFixed(5))+ .join(" "),+ );+ }+ }+ }+ fs.mkdirSync(path.dirname(file), { recursive: true });+ fs.writeFileSync(file, `${lines.join("\n")}\n`);+ return file;+}++export function nodeLooks(+ frameOffset: () => number,+): Array<[string, unknown[]]> {+ return [+ [+ "ColorKey",+ [+ new ColorKey({+ keyColor: "#E7D2B5",+ similarity: 0.1,+ smoothness: 0.06,+ spillSuppression: 0.2,+ }),+ ],+ ],+ [+ "CornerPin",+ [+ new CornerPin({+ points: [+ { x: 12, y: 6 },+ { x: 92, y: 14 },+ { x: 4, y: 86 },+ { x: 84, y: 94 },+ ],+ }),+ ],+ ],+ [+ "MeshWarp",+ [+ new MeshWarp({+ cols: 3,+ rows: 3,+ points: [+ { x: 0, y: 0 },+ { x: 50, y: 8 },+ { x: 100, y: 0 },+ { x: 10, y: 50 },+ { x: 62, y: 42 },+ { x: 90, y: 50 },+ { x: 0, y: 100 },+ { x: 50, y: 92 },+ { x: 100, y: 100 },+ ],+ }),+ ],+ ],+ [+ "Pixelate · diamond",+ [new Pixelate({ size: 22, shape: "diamond", gap: 0.1 })],+ ],+ [+ "Flip · quadrant",+ [new Flip({ mode: "custom", horizontal: false, symmetry: "quadrant" })],+ ],+ [+ "Rotate",+ [+ new Rotate({+ angle: Signal.programmatic(+ (ctx) => (ctx.frame - frameOffset()) * 6 - 20,+ ),+ fit: "cover",+ scale: 1.1,+ }),+ ],+ ],+ [+ "Modulate · hue",+ [+ new Modulate({+ hue: Signal.programmatic((ctx) =>+ Math.round(((ctx.frame - frameOffset()) * 24) % 360),+ ),+ saturation: 1.6,+ brightness: 1,+ contrast: 1.1,+ } as never),+ ],+ ],+ [+ "Levels",+ [+ new Levels({+ master: { inBlack: 0.2, inWhite: 0.78, outBlack: 0, outWhite: 1 },+ } as never),+ ],+ ],+ [+ "HighPass",+ [new HighPass({ radius: 4, contrastBoost: 2.2, monochrome: true })],+ ],+ [+ "UnsharpMask",+ [new UnsharpMask({ amount: 400, radius: 3, threshold: 0 })],+ ],+ [+ "Relight3D",+ [+ new Relight3D({+ lightType: "Point",+ intensity: 2.4,+ lightPosX: 0.75,+ lightPosY: 0.25,+ lightPosZ: 0.4,+ lightColor: "#FF7A3D",+ ambientIntensity: 0.35,+ ambientColor: "#2A3A80",+ specularStrength: 0.8,+ }),+ ],+ ],+ [+ "CameraParallax3D",+ [+ new CameraParallax3D({+ motionPreset: "Orbit",+ parallaxAmount: 1.1,+ panX: Signal.programmatic((ctx) =>+ Math.sin((ctx.frame - frameOffset()) / 3),+ ) as never,+ }),+ ],+ ],+ [+ "RefractionCaustics3D",+ [+ new RefractionCaustics3D({+ ior: 1.33,+ dispersion: 0.08,+ refractionScale: 1,+ causticBrightness: 1.2,+ fluidRipples: 0.8,+ rippleSpeed: 2,+ }),+ ],+ ],+ [+ "HalftoneScreen · CMYK",+ [new HalftoneScreen({ mode: "CMYK", dotShape: "Circle", frequency: 46 })],+ ],+ [+ "ApplyLUT · .cube",+ [new ApplyLUT({ lutUrl: tealOrangeLut(), intensity: 1 })],+ ],+ ["Datamosh", [new Datamosh({ strength: 3, bleed: 0.6, warmup: 6 })]],+ ].map(([name, fx]) => [name as string, fx as unknown[]]) as Array<+ [string, unknown[]]+ >;+}++export function nodesScene(): Node {+ const c = chapter("nodes");+ const looks = nodeLooks(() => 0);+ const step = (k: number) => Math.round((k * BEAT) / 2);+ const cuts = looks.map(([name, fx], k) => {+ const at = step(k);+ const len = k === looks.length - 1 ? c.frames - at + 30 : step(k + 1) - at;+ return full({+ id: `nodes-cut-${k}`,+ startFrame: at,+ durationFrames: len,+ children: [+ // Behind the keyed cut, so ColorKey has something to reveal.+ full({ background: Gradient.linear([VIOLET, PINK, GOLD], 120) }),+ Layer.video(DANCER, {+ id: `nodes-video-${k}`,+ position: "absolute",+ x: 0,+ y: 0,+ width: W,+ height: H,+ fit: "cover",+ muted: true,+ trimStartSec: 1 + at / 30,+ }).withEffects(fx as never),+ Layer.box({+ position: "absolute",+ x: 70,+ y: 70,+ height: 64,+ padding: 14,+ borderRadius: 12,+ background: INK,+ children: [+ Layer.text(name, {+ fontFamily: DISPLAY,+ fontWeight: 800,+ fontSize: 34,+ fill: [CYAN, GOLD, PINK, PAPER][k % 4],+ }),+ ],+ }).animate(+ keys("x", [+ [0, 40],+ [5, 70, "expo.out"],+ ]),+ ),+ Layer.text(`${String(k + 1).padStart(2, "0")} / ${looks.length}`, {+ position: "absolute",+ x: W - 240,+ y: 84,+ width: 170,+ align: "end",+ fontFamily: MONO,+ fontSize: 26,+ fill: PAPER,+ }),+ ],+ });+ });+ return scene("nodes", INK, [+ ...cuts,+ hud("nodes", ["one node per eighth note", "nodes/*"]),+ ]);+}diff --git a/examples/29_capabilities_reel/src/scenes/open.ts b/examples/29_capabilities_reel/src/scenes/open.tsnew file mode 100644index 00000000..61169601--- /dev/null+++ b/examples/29_capabilities_reel/src/scenes/open.ts@@ -0,0 +1,355 @@+/**+ * 01 — Open. Out of the dark a Noto fire emoji (a Lottie) catches and throws GPU sparks; the name+ * wave-rises letter by letter under it. On the third bar the kick arrives: shockwaves ring out of+ * the flame on every beat, emoji pop around the title, an aurora wakes behind it, and an RGB+ * split climbs into the whip.+ */+import {+ FontManager,+ Gradient,+ Layer,+ LayerAnimation,+ LayerStyle,+ RGBSplit,+ Signal,+ TextAnimator,+} from "framefields";+import { blend, full, hud, keys, type Node, popIn, scene } from "../kit.js";+import type { NotoName } from "../manifest.js";+import { KICK_FRAMES, kick, kickAt } from "../music.js";+import { emoji } from "../paths.js";+import { still } from "../precomp.js";+import {+ BAR,+ BEAT,+ CYAN,+ DISPLAY,+ EMBER,+ GOLD,+ H,+ INK,+ MUTED,+ PAPER,+ PINK,+ PLUM,+ SERIF,+ VIOLET,+ W,+} from "../theme.js";+import { chapter } from "../timeline.js";++const TITLE = {+ fontFamily: DISPLAY,+ fontWeight: 800,+ fontSize: 210,+ letterSpacing: -6,+};+const POPS: Array<[NotoName, number, number, number]> = [+ ["sparkles", 250, 300, 150],+ ["rocket", 1530, 280, 160],+ ["zap", 180, 690, 130],+ ["starStruck", 1600, 700, 150],+ ["party", 470, 160, 120],+ ["hundred", 1330, 150, 120],+ ["boom", 820, 860, 120],+ ["glowingStar", 1080, 870, 110],+];++export async function openScene(): Promise<Node> {+ const c = chapter("open");+ const fireSize = 300;+ const fireX = W / 2 - fireSize / 2;+ const fireY = 140;+ const breathe = LayerAnimation.create().signal("scale", kick, {+ multiplier: 0.035,+ offset: 1,+ });+ const drop = BAR * 2;++ const m = FontManager.measure("framefields", TITLE);+ const tw = Math.ceil(m.width + 80);+ const th = 240;+ const titlePng = await still("open-title", tw, th, [+ Layer.text("framefields", {+ position: "absolute",+ x: 0,+ y: 0,+ width: tw,+ height: th,+ ...TITLE,+ fill: PAPER,+ align: "center",+ }),+ ]);+ const tx = (W - tw) / 2;+ const ty = 470;+ const split = Signal.programmatic((ctx) => {+ const t = (ctx.frame - c.start - (c.frames - BEAT * 2)) / (BEAT * 2);+ return t <= 0 ? 0 : 3 + 22 * t * t;+ });++ // A shockwave out of the flame on every kick of the drop bar.+ const rings = KICK_FRAMES.filter(+ (f) => f >= c.start + drop && f < c.start + c.frames,+ ).map((f, i) => {+ const at = f - c.start;+ return Layer.shape("circle", {+ id: `open-ring-${i}`,+ position: "absolute",+ x: W / 2 - 200,+ y: fireY + fireSize / 2 - 200,+ width: 400,+ height: 400,+ fillColor: "transparent",+ fillType: "none",+ strokeColor: [EMBER, GOLD, PINK, CYAN][i % 4],+ strokeWidth: 6,+ opacity: 0,+ }).animate(+ keys("scale", [+ [at, 0.3],+ [at + 24, 3.4, "expo.out"],+ ]),+ keys("opacity", [+ [0, 0],+ [at - 1, 0],+ [at, 0.9],+ [at + 24, 0, "power2.out"],+ ]),+ keys("strokeWidth", [+ [at, 10],+ [at + 24, 1, "power2.out"],+ ]),+ );+ });++ return scene("open", INK, [+ full({ background: Gradient.radial([PLUM, INK]) }).animate(+ keys("opacity", [+ [0, 0],+ [BAR, 1, "sine.inOut"],+ ]),+ ),+ // The aurora wakes on the drop.+ blend(+ Layer.vfx({+ id: "open-aurora",+ effectType: "Aurora",+ width: W,+ height: H,+ colorStart: VIOLET,+ colorEnd: CYAN,+ density: 0.7,+ speed: 1.2,+ intensity: 0.8,+ }),+ "screen",+ ).animate(+ keys("opacity", [+ [0, 0],+ [drop - 6, 0],+ [drop + 10, 0.7, "power2.out"],+ ]),+ ),+ blend(+ Layer.vfx({+ id: "open-embers",+ effectType: "Embers",+ width: W,+ height: H,+ density: 0.9,+ speed: 0.9,+ intensity: 1,+ colorStart: GOLD,+ colorEnd: EMBER,+ seed: 11,+ }),+ "screen",+ ).animate(+ keys("opacity", [+ [0, 0],+ [30, 0],+ [90, 1, "sine.inOut"],+ ]),+ ),+ // GPU sparks thrown off the flame, harder on every kick.+ Layer.particles({+ id: "open-sparks",+ width: W,+ height: H,+ max: 6000,+ seed: 3,+ emitter: {+ shape: "circle",+ x: W / 2,+ y: fireY + fireSize * 0.62,+ radius: 70,+ rate: (f: number) => (f < c.start + 12 ? 0 : 160 + 900 * kickAt(f)),+ },+ lifetime: [0.8, 1.8],+ speed: [160, 520],+ direction: -90,+ spread: 70,+ gravity: -60,+ drag: 1.2,+ noise: { strength: 180, scale: 140, speed: 0.6 },+ size: [7, 2],+ sizeJitter: 0.6,+ fade: [0.05, 0.4],+ shape: "spark",+ blend: "add",+ color: ["#FFF3C4", GOLD, EMBER, "#7A2E14"],+ } as never),+ ...rings,+ Layer.box({+ id: "open-fire-breath",+ position: "absolute",+ x: fireX,+ y: fireY,+ width: fireSize,+ height: fireSize,+ children: [+ Layer.lottie(emoji("fire"), {+ id: "open-fire",+ position: "absolute",+ x: 0,+ y: 0,+ width: fireSize,+ height: fireSize,+ })+ .withEffect(+ new LayerStyle({+ outerGlow: {+ enabled: true,+ color: EMBER,+ opacity: 0.85,+ size: 70,+ spread: 0,+ },+ }),+ )+ .animate(+ keys("scale", [+ [0, 0],+ [8, 0],+ [30, 1, "back.out(2.2)"],+ ]),+ ),+ ],+ }).animate(breathe),+ ...POPS.map(([name, x, y, size], i) =>+ Layer.lottie(emoji(name), {+ id: `open-pop-${name}`,+ position: "absolute",+ x,+ y,+ width: size,+ height: size,+ }).animate(+ popIn(drop + i * 7, 16, 0),+ keys("rotation", [+ [drop + i * 7, -25],+ [drop + i * 7 + 20, 0, "back.out(2)"],+ ]),+ ),+ ),+ Layer.box({+ id: "open-title-box",+ position: "absolute",+ x: tx,+ y: ty,+ width: tw,+ height: th,+ children: [+ // The glow: a precomposed copy of the title with an outer glow, behind the live type.+ Layer.image(titlePng, {+ id: "open-title-glow",+ position: "absolute",+ x: 0,+ y: 0,+ width: tw,+ height: th,+ })+ .withEffect(+ new LayerStyle({+ outerGlow: {+ enabled: true,+ color: EMBER,+ opacity: 0.7,+ size: 46,+ spread: 0,+ },+ }),+ )+ .animate(+ keys("opacity", [+ [0, 0],+ [60, 0],+ [80, 1, "power2.out"],+ ]),+ ),+ Layer.text("framefields", {+ id: "open-title",+ position: "absolute",+ x: 0,+ y: 0,+ width: tw,+ height: th,+ ...TITLE,+ fill: PAPER,+ align: "center",+ animators: [+ TextAnimator.waveRise({+ y: 120,+ rotationX: 70,+ blur: 14,+ easing: "expo.out",+ }),+ ],+ }).animate(+ LayerAnimation.create().kineticSweep(-1, 1, 24, 66, "power2.out"),+ ),+ // The split copy takes over for the last two beats, into the whip.+ Layer.image(titlePng, {+ id: "open-title-split",+ position: "absolute",+ x: 0,+ y: 0,+ width: tw,+ height: th,+ })+ .withEffect(new RGBSplit({ amount: split, angle: 0 }))+ .animate(+ keys("opacity", [+ [0, 0],+ [c.frames - BEAT * 2, 0],+ [c.frames - BEAT * 2 + 2, 1],+ ]),+ ),+ ],+ }).animate(breathe),+ Layer.text("every capability · one render · no browser", {+ id: "open-sub",+ position: "absolute",+ x: 0,+ y: 728,+ width: W,+ fontFamily: SERIF,+ fontStyle: "italic",+ fontSize: 50,+ fill: MUTED,+ align: "center",+ animators: [TextAnimator.blurIn({ unit: "word", blur: 18, y: 18 })],+ }).animate(+ LayerAnimation.create().kineticSweep(-1, 1, 64, 104, "power3.out"),+ ),+ hud("open", [+ "Layer.lottie",+ "Layer.particles",+ "Layer.vfx(Aurora, Embers)",+ "TextAnimator",+ "LayerStyle",+ "RGBSplit",+ ]),+ ]);+}diff --git a/examples/29_capabilities_reel/src/scenes/space.ts b/examples/29_capabilities_reel/src/scenes/space.tsnew file mode 100644index 00000000..00277362--- /dev/null+++ b/examples/29_capabilities_reel/src/scenes/space.ts@@ -0,0 +1,222 @@+/**+ * 09 — 3D. An orbiting camera over a physically shaded scene: the name extruded in brushed+ * metal, a chrome and a glass sphere, a cube whose faces are Lottie animations, a carousel of+ * Lottie cards turning round it all, and emissive orbs that bloom on every kick.+ */+import {+ CameraAnimation,+ Color,+ Gradient,+ Layer,+ Layer3D,+ LayerAnimation,+ Lighting,+} from "framefields";+import { full, hud, keys, type Node, scene } from "../kit.js";+import { kick } from "../music.js";+import { lottie } from "../paths.js";+import {+ CYAN,+ DISPLAY,+ EMBER,+ GOLD,+ H,+ LIME,+ PINK,+ VIOLET,+ W,+} from "../theme.js";+import { chapter } from "../timeline.js";++const CX = W / 2;+const CY = H / 2;++function card(name: string, bg: string, size = 300): Node {+ return Layer.box({+ id: `space-card-${name}`,+ width: size,+ height: size * 0.72,+ borderRadius: 24,+ background: bg,+ overflow: "hidden",+ children: [+ Layer.lottie(lottie(name), {+ position: "absolute",+ x: 0,+ y: 0,+ width: size,+ height: size * 0.72,+ fit: "cover",+ }),+ ],+ });+}++export function spaceScene(): Node {+ const c = chapter("space");+ // Keys must end inside the clip: a 3D track that runs past it does not play at all.+ const len = c.frames;+ const cam = CameraAnimation.camera().orbit({+ azimuth: { from: -34, to: 24 },+ elevation: { from: 18, to: 6 },+ radius: { from: 2400, to: 1750 },+ start: 0,+ end: len,+ ease: "sine.inOut",+ });++ const orbs = [EMBER, GOLD, LIME, CYAN, VIOLET, PINK].map((color, i) => {+ const a = (i / 6) * Math.PI * 2;+ return Layer3D.sphere({+ id: `space-orb-${i}`,+ radius: 34,+ x: CX + Math.cos(a) * 620,+ y: CY + 250 + Math.sin(a) * 60,+ z: Math.sin(a) * 420,+ color: "#111111",+ emissive: color,+ emissiveIntensity: 4,+ }).animate(+ LayerAnimation.create().signal("emissiveIntensity", kick, {+ multiplier: 6,+ offset: 3,+ }),+ );+ });++ const world = full({+ id: "space-world",+ transformStyle: "preserve-3d",+ children: [+ Layer3D.extrudedText({+ id: "space-name",+ text: "framefields",+ fontFamily: DISPLAY,+ fontWeight: 800,+ fontSize: 200,+ depth: 70,+ x: CX,+ y: CY - 40,+ z: 0,+ fill: "#FFE3B8",+ metallic: 0.35,+ roughness: 0.3,+ }),+ Layer3D.sphere({+ id: "space-chrome",+ radius: 120,+ x: CX - 760,+ y: CY - 230,+ z: 260,+ color: "#f2f2f2",+ metallic: 1,+ roughness: 0.08,+ }),+ Layer3D.sphere({+ id: "space-glass",+ radius: 130,+ x: CX + 740,+ y: CY - 250,+ z: 180,+ color: "#cfe8ff",+ material: "glass",+ roughness: 0.02,+ }),+ Layer.cube({+ id: "space-cube",+ size: 200,+ x: CX,+ y: CY - 330,+ z: -320,+ faces: {+ front: card("dogCar", "#4FC3C9", 230),+ back: card("gatin", "#1D6EAF", 230),+ left: card("growth", "#E9E4F7", 230),+ right: card("fireworks", "#120E24", 230),+ top: card("squares", "#2A2A2A", 230),+ bottom: card("happy2016", "#030B26", 230),+ },+ } as never).animate(+ keys("rotateY", [+ [0, -30],+ [len, 250, "none"],+ ]),+ keys("rotateX", [+ [0, -20],+ [len, 40, "sine.inOut"],+ ]),+ ),+ Layer.carousel3d({+ id: "space-carousel",+ radius: 1050,+ x: CX,+ y: CY - 20,+ z: 0,+ itemWidth: 300,+ itemHeight: 216,+ twoSided: true,+ items: [+ card("boat", "#ffffff"),+ card("cactus", "#F4EFE6"),+ card("navidad", "#FFC7D9"),+ card("bodymovin", "#2A1458"),+ card("gradientStrokes", "#120E24"),+ card("pinJump", "#F4EFE6"),+ card("iconTransitions", "#0E1A2A"),+ card("adrock", "#3A1020"),+ ],+ } as never).animate(+ keys("rotateY", [+ [0, 0],+ [len, -70, "none"],+ ]),+ ),+ ...orbs,+ ],+ });++ return scene("space", "#05040A", [+ full({+ background: Gradient.radial([Color.alpha(VIOLET, 0.35), "#05040A"]),+ }),+ Layer.particles({+ id: "space-stars",+ width: W,+ height: H,+ max: 1500,+ seed: 5,+ emitter: { shape: "rect", x: 0, y: 0, width: W, height: H, rate: 120 },+ lifetime: [6, 10],+ speed: [2, 12],+ spread: 360,+ size: [3, 1],+ sizeJitter: 0.8,+ fade: [0.3, 0.3],+ shape: "soft",+ blend: "add",+ color: ["#ffffff", "#b9c7ff"],+ prewarm: 8,+ } as never),+ Layer.camera({+ id: "space-cam",+ targetX: CX,+ targetY: CY,+ targetZ: 0,+ animation: cam,+ } as never),+ ...(Lighting.dramatic({+ target: [CX, CY, 0],+ bloom: true,+ exposure: 0.2,+ } as never) as Node[]),+ world,+ hud("space", [+ "CameraAnimation.orbit",+ "Lighting.dramatic + bloom",+ "Layer3D.extrudedText",+ "material: glass",+ "Layer.cube(faces: Lottie)",+ "carousel3d",+ ]),+ ]);+}diff --git a/examples/29_capabilities_reel/src/scenes/stylize.ts b/examples/29_capabilities_reel/src/scenes/stylize.tsnew file mode 100644index 00000000..957e4974--- /dev/null+++ b/examples/29_capabilities_reel/src/scenes/stylize.ts@@ -0,0 +1,250 @@+/**+ * 05 — Stylize. Twelve tiles, twelve looks from `Styles.*`, each a short stack of the stylize+ * nodes (Posterize, Ascii, Pixelate, Toon, Halftone, CRT, Painterly, Contour, Kaleidoscope, OpArt,+ * GradientMap, Dither…) on stills and Lotties. On the third bar the dancer clip goes full frame and+ * changes look on every beat.+ */+import { Color, Layer, Signal, Styles } from "framefields";+import { full, hud, keys, type Node, popIn, scene } from "../kit.js";+import { DANCER, lottie, REPO } from "../paths.js";+import { BAR, BEAT, DISPLAY, H, INK, MONO, PAPER, W } from "../theme.js";+import { chapter } from "../timeline.js";++const PORTRAIT = `${REPO}/examples/19_framefields_film/assets/portrait.png`;+const DANCER_STILL = `${REPO}/examples/19_framefields_film/assets/dancer.png`;++type Source = {+ kind: "image" | "lottie";+ src: string;+ fit?: "cover" | "contain";+ bg?: string;+};+const img = (src: string): Source => ({ kind: "image", src });+const lot = (name: string, bg: string): Source => ({+ kind: "lottie",+ src: lottie(name),+ fit: "cover",+ bg,+});++export function stylizeScene(): Node {+ const c = chapter("stylize");+ const spin = Signal.programmatic((ctx) => (ctx.frame - c.start) * 1.5);+ const TILES: Array<{ label: string; look: unknown[]; source: Source }> = [+ {+ label: "pixelArt",+ look: Styles.pixelArt({ pixelSize: 6 }),+ source: img(DANCER_STILL),+ },+ {+ label: "ascii · matrix",+ look: Styles.ascii({ cellSize: 9, matrix: true }),+ source: img(PORTRAIT),+ },+ {+ label: "ledWall",+ look: Styles.ledWall({ size: 12 }),+ source: lot("dogCar", "#4FC3C9"),+ },+ {+ label: "comic",+ look: Styles.comic({ dotFrequency: 70 }),+ source: img(PORTRAIT),+ },+ {+ label: "vhs",+ look: Styles.vhs({ tracking: 0.6 }),+ source: img(DANCER_STILL),+ },+ {+ label: "oilPainting",+ look: Styles.oilPainting({ brush: 6 }),+ source: img(PORTRAIT),+ },+ {+ label: "watercolor",+ look: Styles.watercolor({ brush: 6 }),+ source: img(DANCER_STILL),+ },+ {+ label: "topographic",+ look: Styles.topographic({ levels: 14 }),+ source: img(PORTRAIT),+ },+ {+ label: "kaleidoscope",+ look: Styles.kaleidoscope({ segments: 8, rotation: spin as never }),+ source: lot("gradientShapes", INK),+ },+ {+ label: "opArt",+ look: Styles.opArt({ pattern: "stripes", frequency: 70 }),+ source: img(PORTRAIT),+ },+ { label: "thermal", look: Styles.thermal(), source: img(DANCER_STILL) },+ { label: "risograph", look: Styles.risograph(), source: img(PORTRAIT) },+ ];++ const COLS = 4;+ const TW = 420;+ const TH = 236;+ const GAP = 22;+ const X0 = (W - (COLS * TW + (COLS - 1) * GAP)) / 2;+ const Y0 = 176;+ const tiles = TILES.map((t, i) => {+ const x = X0 + (i % COLS) * (TW + GAP);+ const y = Y0 + Math.floor(i / COLS) * (TH + GAP);+ const at = 4 + i * 6;+ const media =+ t.source.kind === "image"+ ? Layer.image(t.source.src, {+ id: `stylize-src-${i}`,+ position: "absolute",+ x: 0,+ y: 0,+ width: TW,+ height: TH,+ fit: "cover",+ })+ : Layer.lottie(t.source.src, {+ id: `stylize-src-${i}`,+ position: "absolute",+ x: 0,+ y: 0,+ width: TW,+ height: TH,+ fit: "cover",+ });+ return Layer.box({+ id: `stylize-tile-${i}`,+ position: "absolute",+ x,+ y,+ width: TW,+ height: TH,+ borderRadius: 18,+ overflow: "hidden",+ background: t.source.bg ?? INK,+ children: [+ media.withEffects(t.look as never).animate(+ keys("scale", [+ [0, 1.12],+ [BAR * 2, 1, "sine.out"],+ ]),+ ),+ Layer.box({+ position: "absolute",+ x: 12,+ y: TH - 44,+ height: 32,+ padding: 8,+ borderRadius: 8,+ background: Color.alpha(INK, 0.72),+ children: [+ Layer.text(`Styles.${t.label}`, {+ fontFamily: MONO,+ fontSize: 15,+ fill: PAPER,+ }),+ ],+ }),+ ],+ }).animate(popIn(at, 16, 0.6));+ });++ // Full frame: the dancer clip, a new look on every beat.+ const LOOKS: Array<[string, unknown[]]> = [+ ["GAME BOY", Styles.gameBoy({ pixelSize: 5 })],+ ["CARTOON", Styles.cartoon({ levels: 4 })],+ ["CRT", Styles.crt({ curvature: 0.18 })],+ [+ "HOLOGRAPHIC",+ Styles.holographic({+ strength: 0.85,+ shift: Signal.programmatic((ctx) => ctx.frame * 6) as never,+ }),+ ],+ ["1-BIT", Styles.oneBit({ scale: 3 })],+ ["TELETEXT", Styles.teletext({ pixelSize: 12 })],+ ["GLITCH", Styles.glitch({ amount: 22 })],+ ["NOIR", Styles.noir()],+ ];+ const fullStart = BAR * 2;+ const looks = LOOKS.map(([name, look], k) => {+ const at = fullStart + k * BEAT;+ return full({+ id: `stylize-full-${k}`,+ startFrame: at,+ durationFrames: k === LOOKS.length - 1 ? c.frames - at + 30 : BEAT,+ children: [+ Layer.video(DANCER, {+ id: `stylize-video-${k}`,+ position: "absolute",+ x: 0,+ y: 0,+ width: W,+ height: H,+ fit: "cover",+ muted: true,+ trimStartSec: 0.4 + (k * BEAT) / 30,+ }).withEffects(look as never),+ Layer.text(name, {+ id: `stylize-full-label-${k}`,+ position: "absolute",+ x: 0,+ y: H - 330,+ width: W,+ align: "center",+ fontFamily: DISPLAY,+ fontWeight: 800,+ fontSize: 150,+ letterSpacing: -3,+ fill: PAPER,+ blendMode: "difference",+ }).animate(+ keys("scale", [+ [0, 1.25],+ [8, 1, "expo.out"],+ ]),+ ),+ ],+ });+ });++ return scene("stylize", INK, [+ Layer.text("One source. Every look.", {+ id: "stylize-title",+ position: "absolute",+ x: X0,+ y: 82,+ fontFamily: DISPLAY,+ fontWeight: 800,+ fontSize: 70,+ letterSpacing: -2,+ fill: PAPER,+ }).animate(+ keys("opacity", [+ [0, 0],+ [8, 1],+ ]),+ keys("x", [+ [0, X0 - 50],+ [22, X0, "expo.out"],+ ]),+ ),+ ...tiles,+ ...looks,+ // A white flash on the cut to full frame.+ full({ id: "stylize-flash", background: "#ffffff", opacity: 0 }).animate(+ keys("opacity", [+ [fullStart - 1, 0],+ [fullStart, 0.85],+ [fullStart + 8, 0, "power2.out"],+ ]),+ ),+ hud("stylize", [+ "layer.withEffects(Styles.*)",+ "Posterize · Ascii · Pixelate · Toon · CRT · Painterly · Contour · OpArt · Iridescence",+ ]),+ ]);+}diff --git a/examples/29_capabilities_reel/src/scenes/type.ts b/examples/29_capabilities_reel/src/scenes/type.tsnew file mode 100644index 00000000..84fc3c67--- /dev/null+++ b/examples/29_capabilities_reel/src/scenes/type.ts@@ -0,0 +1,253 @@+/**+ * 08 — Typography. A ring of text on a circular path turns through the whole chapter while three+ * beats of type play inside it: per-glyph 3D flips, a Lottie playing inside giant letters (the+ * type is its matte), then the same greeting in Latin, Arabic and Hebrew — shaped and laid out+ * right to left — over a line being typed in code.+ */+import {+ Color,+ Layer,+ LayerAnimation,+ TextAnimator,+ TextPathBuilder,+} from "framefields";+import { full, hud, keys, type Node, scene } from "../kit.js";+import { kick } from "../music.js";+import { lottie } from "../paths.js";+import {+ ARABIC,+ BAR,+ BEAT,+ CYAN,+ DISPLAY,+ GOLD,+ H,+ HEBREW,+ LIME,+ MONO,+ MUTED,+ PAPER,+ PINK,+ SERIF,+ VIOLET,+ W,+} from "../theme.js";+import { chapter } from "../timeline.js";++const CX = W / 2;+const CY = 520;++function phase(id: string, from: number, len: number, children: Node[]): Node {+ return full({+ id: `type-phase-${id}`,+ startFrame: from,+ durationFrames: len,+ children,+ });+}++export function typeScene(): Node {+ const c = chapter("type");+ const R = 430;+ const ringText =+ "TEXT ON A PATH · SLUG GPU GLYPHS · RIGHT TO LEFT · KINETIC · ";+ const ring = Layer.box({+ id: "type-ring",+ position: "absolute",+ x: CX - R - 40,+ y: CY - R - 40,+ width: 2 * R + 80,+ height: 2 * R + 80,+ children: [+ Layer.text(ringText + ringText, {+ id: "type-ring-text",+ position: "absolute",+ x: 0,+ y: 0,+ width: 2 * R + 80,+ height: 2 * R + 80,+ fontFamily: MONO,+ fontWeight: 700,+ fontSize: 26,+ letterSpacing: 4,+ fill: Color.alpha(PAPER, 0.55),+ pathOptions: TextPathBuilder.circularBadge(R + 40, R + 40, R).build(),+ } as never),+ ],+ }).animate(+ keys("rotation", [+ [0, 0],+ [c.frames, 72, "none"],+ ]),+ keys("opacity", [+ [0, 0],+ [12, 1],+ ]),+ );++ const kinetic = phase("kinetic", 0, BAR, [+ Layer.text("Kinetic", {+ id: "type-kinetic",+ position: "absolute",+ x: 0,+ y: CY - 170,+ width: W,+ align: "center",+ fontFamily: DISPLAY,+ fontWeight: 800,+ fontSize: 200,+ letterSpacing: -6,+ fill: PAPER,+ animators: [TextAnimator.flip3D({ rotationX: 100 })],+ }).animate(+ LayerAnimation.create().kineticSweep(-1, 1, 4, 34, "power2.out"),+ ),+ Layer.text("type, per glyph", {+ id: "type-kinetic-sub",+ position: "absolute",+ x: 0,+ y: CY + 60,+ width: W,+ align: "center",+ fontFamily: SERIF,+ fontStyle: "italic",+ fontSize: 72,+ fill: GOLD,+ animators: [TextAnimator.waveRise({ y: 50, rotationX: 50, blur: 8 })],+ }).animate(+ LayerAnimation.create().kineticSweep(-1, 1, 18, 46, "power2.out"),+ ),+ ]);++ // A Lottie seen through the letters.+ const inside = phase("inside", BAR, BAR, [+ Layer.box({+ id: "type-inside-fill",+ position: "absolute",+ x: 0,+ y: 0,+ width: W,+ height: H,+ background: `linear-gradient(120deg, ${VIOLET}, ${PINK} 50%, ${GOLD})`,+ children: [+ Layer.lottie(lottie("gradientShapes"), {+ id: "type-inside-lottie",+ position: "absolute",+ x: 0,+ y: 0,+ width: W,+ height: H,+ fit: "cover",+ }),+ ],+ }).withMatte(+ Layer.text("INSIDE", {+ id: "type-inside-matte",+ position: "absolute",+ x: 0,+ y: CY - 200,+ width: W,+ align: "center",+ fontFamily: DISPLAY,+ fontWeight: 800,+ fontSize: 330,+ letterSpacing: -10,+ fill: "#ffffff",+ }).animate(+ keys("scale", [+ [0, 0.6],+ [16, 1, "expo.out"],+ ]),+ ),+ ),+ Layer.text("a Lottie, with the type as its matte", {+ id: "type-inside-sub",+ position: "absolute",+ x: 0,+ y: CY + 170,+ width: W,+ align: "center",+ fontFamily: MONO,+ fontSize: 26,+ fill: MUTED,+ }).animate(+ keys("opacity", [+ [0, 0],+ [10, 0],+ [20, 1],+ ]),+ ),+ ]);++ const GREETINGS: Array<[string, string, string]> = [+ ["Hello", DISPLAY, CYAN],+ ["مرحبا", ARABIC, PINK],+ ["שלום", HEBREW, LIME],+ ];+ const hello = phase("hello", BAR * 2, BAR + 30, [+ ...GREETINGS.map(([word, family, color], i) =>+ Layer.text(word, {+ id: `type-hello-${i}`,+ position: "absolute",+ x: 0,+ y: CY - 320 + i * 190,+ width: W,+ align: "center",+ direction: "auto",+ fontFamily: family,+ fontWeight: 800,+ fontSize: 140,+ fill: color,+ }).animate(+ keys("opacity", [+ [0, 0],+ [i * BEAT, 0],+ [i * BEAT + 4, 1],+ ]),+ keys("scale", [+ [0, 0.5],+ [i * BEAT, 0.5],+ [i * BEAT + 14, 1, "back.out(2)"],+ ]),+ ),+ ),+ Layer.text(+ 'Layer.text(word, { direction: "auto" }) // shaped · bidi · right to left',+ {+ id: "type-hello-code",+ position: "absolute",+ x: 0,+ y: CY + 250,+ width: W,+ align: "center",+ fontFamily: MONO,+ fontSize: 26,+ fill: VIOLET,+ },+ ).animate(+ LayerAnimation.create().typewriter(BEAT * 3, BEAT * 3 + 34, "linear"),+ ),+ ]);++ return scene("type", "#0A0814", [+ full({+ background: `radial-gradient(circle, ${Color.alpha(VIOLET, 0.3)}, transparent 70%)`,+ }).animate(+ LayerAnimation.create().signal("opacity", kick, {+ multiplier: 0.5,+ offset: 0.5,+ }),+ ),+ ring,+ kinetic,+ inside,+ hello,+ hud("type", [+ "TextAnimator.flip3D · waveRise",+ "withMatte(text)",+ "direction: auto (RTL)",+ "typewriter",+ "TextPathBuilder",+ ]),+ ]);+}diff --git a/examples/29_capabilities_reel/src/scenes/vector.ts b/examples/29_capabilities_reel/src/scenes/vector.tsnew file mode 100644index 00000000..6c16b334--- /dev/null+++ b/examples/29_capabilities_reel/src/scenes/vector.ts@@ -0,0 +1,260 @@+/**+ * 04 — SVG + shapes. On paper: ten Lucide icons draw themselves on stroke by stroke (`trimEnd`),+ * while a single path shape morphs blob → star → heart → blob on the beat with a gradient fill,+ * ringed by Fluent Emoji color SVGs orbiting it.+ */+import { Color, Gradient, Layer, LayerAnimation, Signal } from "framefields";+import {+ blobPath,+ circleD,+ heartPath,+ hud,+ type Key,+ keys,+ type Node,+ popIn,+ scalePath,+ scene,+ starPath,+ svgToPath,+} from "../kit.js";+import type { FluentName } from "../manifest.js";+import { kick } from "../music.js";+import { fluent, lucide } from "../paths.js";+import {+ BEAT,+ CYAN,+ DISPLAY,+ EMBER,+ GOLD,+ INK,+ MONO,+ PAPER,+ PINK,+ VIOLET,+} from "../theme.js";+import { chapter } from "../timeline.js";++const ICONS = [+ "clapperboard",+ "wand-sparkles",+ "layers",+ "cpu",+ "palette",+ "music",+ "box",+ "aperture",+ "orbit",+ "rocket",+];+const ORBIT: FluentName[] = [+ "rocket",+ "sparkles",+ "heart",+ "unicorn",+ "crystalBall",+ "gem",+ "rainbow",+ "party",+];++const MORPH = 560;+const MX = 1200;+const MY = 250;++export function vectorScene(): Node {+ const c = chapter("vector");+ const scale = 5.4;+ const cell = 24 * scale;+ const icons = ICONS.map((name, i) => {+ const col = i % 5;+ const row = Math.floor(i / 5);+ const at = 8 + i * 6;+ const cx = 150 + col * 180 + cell / 2;+ const cy = 420 + row * 200 + cell / 2;+ return Layer.shape("path", {+ id: `vector-icon-${name}`,+ position: "absolute",+ // The 24-unit Lucide geometry scaled up, drawn at full size (not an enlarged 24 px raster).+ x: cx - cell / 2,+ y: cy - cell / 2,+ width: cell,+ height: cell,+ d: scalePath(svgToPath(lucide(name)), scale),+ fillType: "none",+ fillColor: "transparent",+ strokeColor: INK,+ strokeWidth: 1.6 * scale,+ strokeLineCap: "round",+ strokeLineJoin: "round",+ }).animate(+ keys("trimEnd", [+ [0, 0],+ [at, 0],+ [at + 34, 1, "power2.inOut"],+ ]),+ keys("strokeColor", [+ [at + 34, INK],+ [at + 44, [EMBER, VIOLET, CYAN, PINK, GOLD][i % 5], "power2.out"],+ ]),+ );+ });++ const shapes = [+ blobPath(MORPH, 0.5),+ starPath(MORPH, 5, 0.5),+ heartPath(MORPH),+ blobPath(MORPH, 2.4, 0.16),+ circleD(MORPH),+ starPath(MORPH, 8, 0.7),+ ];+ const morphKeys: Key[] = shapes.map((d, i) =>+ i === 0 ? [0, d] : [14 + i * BEAT * 2, d, "expo.inOut"],+ );++ const centre = { x: MX + MORPH / 2, y: MY + MORPH / 2 };+ const orbit = ORBIT.map((name, i) => {+ const size = 124;+ const phase = (i / ORBIT.length) * Math.PI * 2;+ const angle = (frame: number) =>+ phase + ((frame - c.start) / c.frames) * Math.PI * 0.9;+ return Layer.box({+ id: `vector-orbit-${name}`,+ position: "absolute",+ x: 0,+ y: 0,+ width: size,+ height: size,+ children: [+ Layer.svg(fluent(name), {+ id: `vector-svg-${name}`,+ position: "absolute",+ x: 0,+ y: 0,+ width: size,+ height: size,+ }).animate(popIn(20 + i * 7, 18, 0)),+ ],+ }).animate(+ LayerAnimation.create()+ .signal(+ "x",+ Signal.programmatic(+ (ctx) => centre.x + Math.cos(angle(ctx.frame)) * 400 - size / 2,+ ),+ )+ .signal(+ "y",+ Signal.programmatic(+ (ctx) => centre.y + Math.sin(angle(ctx.frame)) * 290 - size / 2,+ ),+ ),+ );+ });++ return scene("vector", PAPER, [+ Layer.text("SVG, shapes", {+ id: "vector-title",+ position: "absolute",+ x: 150,+ y: 108,+ fontFamily: DISPLAY,+ fontWeight: 800,+ fontSize: 104,+ letterSpacing: -3,+ fill: INK,+ }).animate(+ keys("opacity", [+ [0, 0],+ [8, 1],+ ]),+ keys("y", [+ [0, 140],+ [24, 108, "expo.out"],+ ]),+ ),+ Layer.text("& morphing", {+ id: "vector-title-2",+ position: "absolute",+ x: 150,+ y: 222,+ fontFamily: DISPLAY,+ fontWeight: 800,+ fontSize: 104,+ letterSpacing: -3,+ fill: VIOLET,+ }).animate(+ keys("opacity", [+ [0, 0],+ [14, 0],+ [22, 1],+ ]),+ keys("y", [+ [0, 260],+ [36, 222, "expo.out"],+ ]),+ ),+ Layer.text("Lucide icons → path d, drawn on with trimEnd", {+ id: "vector-sub",+ position: "absolute",+ x: 152,+ y: 840,+ fontFamily: MONO,+ fontSize: 21,+ fill: Color.alpha(INK, 0.6),+ }).animate(+ keys("opacity", [+ [0, 0],+ [40, 0],+ [54, 1],+ ]),+ ),+ ...icons,+ // The morphing hero shape, squashing on the kick.+ Layer.box({+ id: "vector-morph-wrap",+ position: "absolute",+ x: MX,+ y: MY,+ width: MORPH,+ height: MORPH,+ children: [+ Layer.shape("path", {+ id: "vector-morph",+ position: "absolute",+ x: 0,+ y: 0,+ width: MORPH,+ height: MORPH,+ d: shapes[0],+ fillColor: Gradient.linear([EMBER, PINK, VIOLET, CYAN], 135),+ strokeWidth: 0,+ }).animate(+ LayerAnimation.keys("d", morphKeys as never),+ keys("rotation", [+ [0, -8],+ [c.frames, 14, "none"],+ ]),+ popIn(4, 22, 0.2),+ ),+ ],+ }).animate(+ LayerAnimation.create().signal("scaleY", kick, {+ multiplier: 0.05,+ offset: 1,+ }),+ ),+ ...orbit,+ hud(+ "vector",+ [+ "Layer.svg",+ "Layer.shape(path)",+ "trimEnd",+ "d keyframes → morph",+ "Gradient.linear",+ ],+ { dark: true },+ ),+ ]);+}diff --git a/examples/29_capabilities_reel/src/scenes/vision.ts b/examples/29_capabilities_reel/src/scenes/vision.tsnew file mode 100644index 00000000..a13d3f50--- /dev/null+++ b/examples/29_capabilities_reel/src/scenes/vision.ts@@ -0,0 +1,157 @@+/**+ * 07 — Vision, on the drop. The dancer clip, analysed on device as it renders: a giant word sits+ * behind her (a matte cutout of the same clip is layered above it), embers part around her+ * silhouette, and animated sparkle emoji ride her tracked wrists.+ */+import fs from "node:fs";+import {+ Color,+ type Composition,+ Layer,+ LayerAnimation,+ Signal,+} from "framefields";+import { full, hud, keys, type Node, scene } from "../kit.js";+import { DANCER, emoji } from "../paths.js";+import { DISPLAY, EMBER, GOLD, H, MONO, PAPER, VIOLET, W } from "../theme.js";+import { chapter } from "../timeline.js";++export async function visionScene(comp: Composition): Promise<Node> {+ const c = chapter("vision");+ if (!fs.existsSync(DANCER))+ throw new Error(+ `Missing ${DANCER}. Run \`pnpm assets\` in examples/19_framefields_film.`,+ );+ // The clip starts on this chapter's downbeat; vision results use the composition clock.+ const dancer = comp.vision(DANCER, { startFrame: c.start });+ const person = dancer.person.place({ width: W, height: H, fit: "cover" });++ const video = (id: string, muted: boolean) =>+ Layer.video(DANCER, {+ id,+ position: "absolute",+ x: 0,+ y: 0,+ width: W,+ height: H,+ fit: "cover",+ muted,+ });++ const embers = Layer.particles({+ id: "vision-embers",+ width: W,+ height: H,+ max: 14000,+ seed: 21,+ emitter: { shape: "rect", x: 0, y: 360, width: W, height: 640, rate: 2600 },+ lifetime: [3, 5],+ speed: [0, 30],+ drag: 2.2,+ gravity: -8,+ noise: { strength: 220, scale: 160, speed: 0.3 },+ push: { person, strength: 9000, sweep: 120000 },+ floor: 1010,+ bounce: 0.1,+ size: [10, 6],+ sizeJitter: 0.6,+ fade: [0.15, 0.3],+ color: ["#7A2E14", EMBER, GOLD, "#FFE7B0"],+ colorBySpeed: 500,+ prewarm: 3,+ } as never);++ // Sparkles riding each wrist (pose keypoints, read as the frame renders).+ const sparkle = (side: "left" | "right") => {+ const size = 150;+ const at = (frame: number) => person.point(`${side}Wrist`, frame);+ return Layer.lottie(emoji(side === "left" ? "sparkles" : "glowingStar"), {+ id: `vision-${side}-sparkle`,+ position: "absolute",+ x: 0,+ y: 0,+ width: size,+ height: size,+ }).animate(+ LayerAnimation.create()+ .signal(+ "x",+ Signal.programmatic((ctx) => at(ctx.frame).x - size / 2),+ )+ .signal(+ "y",+ Signal.programmatic((ctx) => at(ctx.frame).y - size / 2),+ ),+ keys("opacity", [+ [0, 0],+ [6, 0],+ [14, 1],+ ]),+ );+ };++ return scene("vision", "#E9D3B4", [+ video("vision-plate", true),+ // The word behind her.+ Layer.text("VISION", {+ id: "vision-word",+ position: "absolute",+ x: 0,+ y: 210,+ width: W,+ align: "center",+ fontFamily: DISPLAY,+ fontWeight: 800,+ fontSize: 360,+ letterSpacing: -14,+ fill: Color.alpha(VIOLET, 0.92),+ }).animate(+ keys("scale", [+ [0, 1.3],+ [20, 1, "expo.out"],+ ]),+ keys("opacity", [+ [0, 0],+ [4, 1],+ ]),+ ),+ embers,+ video("vision-cutout", true).withVision({ mode: "matte" }),+ sparkle("left"),+ sparkle("right"),+ Layer.text(+ "comp.vision(clip) · person.place() · withVision({ mode: matte }) · particles push: { person }",+ {+ id: "vision-caption",+ position: "absolute",+ x: 80,+ y: 70,+ fontFamily: MONO,+ fontSize: 20,+ fill: Color.alpha("#1E1512", 0.75),+ },+ ).animate(+ keys("opacity", [+ [0, 0],+ [16, 0],+ [28, 1],+ ]),+ ),+ full({ id: "vision-flash", background: PAPER, opacity: 0 }).animate(+ keys("opacity", [+ [0, 0.9],+ [10, 0, "power2.out"],+ ]),+ ),+ hud(+ "vision",+ [+ "on-device pose + segmentation",+ "matte cutout",+ "pose-tracked Lotties",+ "particles pushed by silhouette",+ ],+ { dark: true },+ ),+ ]);+}diff --git a/examples/29_capabilities_reel/src/score.ts b/examples/29_capabilities_reel/src/score.tsnew file mode 100644index 00000000..b8934eec--- /dev/null+++ b/examples/29_capabilities_reel/src/score.ts@@ -0,0 +1,371 @@+/**+ * pnpm score → assets/stems/{drums,bass,music,fx}.wav+ *+ * A small deterministic synthesizer renders music.ts's arrangement (120 BPM, A minor) into four+ * stems. The film mixes them with framefields' audio nodes (compressor, EQ sweep, delay, reverb,+ * panning, fades), so the processing is part of the render rather than baked in here.+ */+import fs from "node:fs/promises";+import path from "node:path";+import {+ beatToFrame,+ CLAPS,+ HATS,+ IMPACTS,+ KICKS,+ PROGRESSION,+ RISERS,+ SAMPLE_RATE,+ SECONDS_PER_BEAT,+ sectionAt,+} from "./music.js";+import { ASSETS } from "./paths.js";+import { FPS } from "./theme.js";+import { TOTAL_BARS, TOTAL_FRAMES } from "./timeline.js";++const SR = SAMPLE_RATE;+const LENGTH = Math.ceil((TOTAL_FRAMES / FPS + 2) * SR);+const TAU = Math.PI * 2;++type Stereo = [Float32Array, Float32Array];+const stem = (): Stereo => [new Float32Array(LENGTH), new Float32Array(LENGTH)];++// Deterministic noise.+let seed = 0x2f6b1d;+const noise = () => {+ seed ^= seed << 13;+ seed ^= seed >>> 17;+ seed ^= seed << 5;+ return ((seed >>> 0) / 4294967296) * 2 - 1;+};++const midiHz = (m: number) => 440 * 2 ** ((m - 69) / 12);+const beatSec = (beat: number, step = 0) => beatToFrame(beat, step) / FPS;++function add(+ out: Stereo,+ at: number,+ mono: Float32Array,+ gain = 1,+ pan = 0,+): void {+ const i0 = Math.round(at * SR);+ const l = gain * Math.cos(((pan + 1) * Math.PI) / 4);+ const r = gain * Math.sin(((pan + 1) * Math.PI) / 4);+ for (let i = 0; i < mono.length; i++) {+ const j = i0 + i;+ if (j < 0 || j >= LENGTH) continue;+ out[0][j] += mono[i] * l;+ out[1][j] += mono[i] * r;+ }+}++// ── Voices ──────────────────────────────────────────────────────────────────++function kickVoice(): Float32Array {+ const n = Math.round(0.45 * SR);+ const out = new Float32Array(n);+ let phase = 0;+ for (let i = 0; i < n; i++) {+ const t = i / SR;+ const f = 46 + 110 * Math.exp(-t * 32);+ phase += (TAU * f) / SR;+ const body = Math.sin(phase) * Math.exp(-t * 7);+ const click = noise() * Math.exp(-t * 400) * 0.35;+ out[i] = Math.tanh((body + click) * 1.6) * 0.95;+ }+ return out;+}++function clapVoice(): Float32Array {+ const n = Math.round(0.3 * SR);+ const out = new Float32Array(n);+ let bp1 = 0;+ let bp2 = 0;+ for (let i = 0; i < n; i++) {+ const t = i / SR;+ // Three quick bursts then a tail, band-passed around 1.5 kHz.+ const bursts = [0, 0.011, 0.022].reduce(+ (s, o) => s + (t >= o ? Math.exp(-(t - o) * 180) : 0),+ 0,+ );+ const env = bursts * 0.6 + Math.exp(-t * 18) * 0.5;+ const x = noise() * env;+ const f = 2 * Math.sin((Math.PI * 1500) / SR);+ bp1 += f * (x - bp1 - 0.5 * bp2);+ bp2 += f * bp1;+ out[i] = bp1 * 1.4;+ }+ return out;+}++function hatVoice(open: boolean): Float32Array {+ const n = Math.round((open ? 0.22 : 0.05) * SR);+ const out = new Float32Array(n);+ let prev = 0;+ for (let i = 0; i < n; i++) {+ const t = i / SR;+ const x = noise();+ const hp = x - prev;+ prev = x;+ out[i] = hp * Math.exp(-t * (open ? 14 : 90)) * 0.35;+ }+ return out;+}++function bassNote(hz: number, dur: number): Float32Array {+ const n = Math.round(dur * SR);+ const out = new Float32Array(n);+ let ph = 0;+ let lp = 0;+ for (let i = 0; i < n; i++) {+ const t = i / SR;+ ph = (ph + hz / SR) % 1;+ const saw = ph * 2 - 1;+ const sub = Math.sin(TAU * ph);+ const cutoff = 180 + 900 * Math.exp(-t * 9);+ const a = 1 - Math.exp((-TAU * cutoff) / SR);+ lp += a * (saw - lp);+ const env = Math.min(1, t * 400) * Math.min(1, (dur - t) * 60);+ out[i] = (lp * 0.55 + sub * 0.6) * env;+ }+ return out;+}++function pluck(hz: number, dur: number, bright: number): Float32Array {+ const n = Math.round(dur * SR);+ const out = new Float32Array(n);+ let ph = 0;+ let lp = 0;+ for (let i = 0; i < n; i++) {+ const t = i / SR;+ ph = (ph + hz / SR) % 1;+ const sq = (ph < 0.5 ? 1 : -1) * 0.6 + (ph * 2 - 1) * 0.4;+ const cutoff = 500 + bright * 4500 * Math.exp(-t * 14);+ lp += (1 - Math.exp((-TAU * cutoff) / SR)) * (sq - lp);+ out[i] = lp * Math.exp(-t * 7) * Math.min(1, t * 800);+ }+ return out;+}++function padChord(tones: number[], dur: number, bright: number): Stereo {+ const n = Math.round(dur * SR);+ const out: Stereo = [new Float32Array(n), new Float32Array(n)];+ const voices = tones.flatMap((m) =>+ [-0.09, 0.0, 0.11].map((d) => ({+ hz: midiHz(m + d),+ ph: noise() * 0.5 + 0.5,+ })),+ );+ let lpL = 0;+ let lpR = 0;+ for (let i = 0; i < n; i++) {+ const t = i / SR;+ let l = 0;+ let r = 0;+ voices.forEach((v, k) => {+ v.ph = (v.ph + v.hz / SR) % 1;+ const s = v.ph * 2 - 1;+ if (k % 2) l += s;+ else r += s;+ });+ const cutoff = 400 + bright * 2400 * (0.6 + 0.4 * Math.sin(TAU * 0.25 * t));+ const a = 1 - Math.exp((-TAU * cutoff) / SR);+ lpL += a * (l - lpL);+ lpR += a * (r - lpR);+ const env = Math.min(1, t / 0.4) * Math.min(1, (dur - t) / 0.3);+ out[0][i] = lpL * env * 0.06;+ out[1][i] = lpR * env * 0.06;+ }+ return out;+}++function riser(dur: number): Float32Array {+ const n = Math.round(dur * SR);+ const out = new Float32Array(n);+ let bp1 = 0;+ let bp2 = 0;+ let ph = 0;+ for (let i = 0; i < n; i++) {+ const t = i / SR;+ const k = t / dur;+ const fc = 300 * 30 ** k;+ const f = 2 * Math.sin((Math.PI * Math.min(fc, 12000)) / SR);+ const x = noise();+ bp1 += f * (x - bp1 - 0.35 * bp2);+ bp2 += f * bp1;+ ph += (TAU * (220 * 4 ** k)) / SR;+ out[i] = (bp1 * 0.5 + Math.sin(ph) * 0.12) * k ** 2;+ }+ return out;+}++function boom(): Float32Array {+ const n = Math.round(2.4 * SR);+ const out = new Float32Array(n);+ let ph = 0;+ let lp = 0;+ for (let i = 0; i < n; i++) {+ const t = i / SR;+ ph += (TAU * (38 + 60 * Math.exp(-t * 6))) / SR;+ const low = Math.sin(ph) * Math.exp(-t * 2.2);+ lp += 0.08 * (noise() - lp);+ const crash = (noise() - lp) * Math.exp(-t * 2.8) * 0.4;+ out[i] = Math.tanh((low + crash) * 1.3) * 0.9;+ }+ return out;+}++// ── Arrangement ─────────────────────────────────────────────────────────────++const drums = stem();+const bass = stem();+const music = stem();+const fx = stem();++const K = kickVoice();+const C = clapVoice();+const hatClosed = hatVoice(false);+const hatOpen = hatVoice(true);+for (const b of KICKS) add(drums, beatSec(b), K, 0.95);+for (const b of CLAPS) add(drums, beatSec(b), C, 0.55, 0.05);+HATS.forEach((h, i) => {+ add(+ drums,+ beatSec(h.beat, h.step),+ h.open ? hatOpen : hatClosed,+ 0.5,+ i % 2 ? 0.35 : -0.35,+ );+});++const kickTimes = KICKS.map((b) => beatSec(b));+const duck = (t: number) => {+ // Side-chain feel: dip under each kick.+ let g = 1;+ for (const k of kickTimes) {+ const d = t - k;+ if (d >= 0 && d < 0.3) g = Math.min(g, 0.25 + 0.75 * (d / 0.3) ** 0.6);+ }+ return g;+};++const ARP = [0, 1, 2, 3, 2, 1, 3, 2];+for (let bar = 0; bar < TOTAL_BARS; bar++) {+ const section = sectionAt(bar);+ const chord = PROGRESSION[bar % PROGRESSION.length];+ const barSec = beatSec(bar * 4);+ const barDur = SECONDS_PER_BEAT * 4;+ const bright =+ section === "intro"+ ? 0.25+ : section === "breakdown"+ ? 0.45+ : section === "drop"+ ? 1+ : 0.7;++ if (section !== "outro") {+ const pad = padChord(chord.tones, barDur + 0.25, bright);+ add(music, barSec, pad[0], 1, -0.4);+ add(music, barSec, pad[1], 1, 0.4);+ } else {+ const pad = padChord(PROGRESSION[0].tones, 5, 0.3);+ add(music, barSec, pad[0], 1.2, -0.4);+ add(music, barSec, pad[1], 1.2, 0.4);+ }++ if (section !== "intro" && section !== "outro") {+ // Bass: 8ths on the root, octave jump on the last of each beat pair.+ for (let e = 0; e < 8; e++) {+ const t = barSec + e * (SECONDS_PER_BEAT / 2);+ const hz = midiHz(chord.root - 12 + (e % 4 === 3 ? 12 : 0));+ add(+ bass,+ t,+ bassNote(hz, SECONDS_PER_BEAT / 2 - 0.01),+ section === "breakdown" ? 0.25 : 0.5,+ );+ }+ }++ if (section !== "outro") {+ // Arp: 16ths over the chord, an octave up in drops.+ const lift = section === "drop" ? 12 : 0;+ for (let s = 0; s < 16; s++) {+ if (section === "intro" && bar === 0 && s % 2) continue;+ const tone = chord.tones[ARP[s % ARP.length]] + 12 + lift;+ const t = barSec + s * (SECONDS_PER_BEAT / 4);+ add(+ music,+ t,+ pluck(midiHz(tone), 0.28, bright),+ 0.11,+ Math.sin(s * 0.9) * 0.6,+ );+ }+ }+}++for (let i = 0; i < LENGTH; i++) {+ const g = duck(i / SR);+ bass[0][i] *= g;+ bass[1][i] *= g;+ music[0][i] *= 0.55 + 0.45 * g;+ music[1][i] *= 0.55 + 0.45 * g;+}++const R = riser(SECONDS_PER_BEAT * 4);+for (const bar of RISERS) add(fx, beatSec(bar * 4), R, 0.6);+const B = boom();+for (const b of IMPACTS) add(fx, beatSec(b), B, 0.8);++// ── Write ───────────────────────────────────────────────────────────────────++function wav(data: Stereo, peak: number): Buffer {+ const n = data[0].length;+ const buf = Buffer.alloc(44 + n * 4);+ buf.write("RIFF", 0);+ buf.writeUInt32LE(36 + n * 4, 4);+ buf.write("WAVEfmt ", 8);+ buf.writeUInt32LE(16, 16);+ buf.writeUInt16LE(1, 20);+ buf.writeUInt16LE(2, 22);+ buf.writeUInt32LE(SR, 24);+ buf.writeUInt32LE(SR * 4, 28);+ buf.writeUInt16LE(4, 32);+ buf.writeUInt16LE(16, 34);+ buf.write("data", 36);+ buf.writeUInt32LE(n * 4, 40);+ let max = 1e-9;+ for (let i = 0; i < n; i++)+ max = Math.max(max, Math.abs(data[0][i]), Math.abs(data[1][i]));+ const g = peak / max;+ for (let i = 0; i < n; i++) {+ buf.writeInt16LE(+ Math.round(Math.max(-1, Math.min(1, data[0][i] * g)) * 32767),+ 44 + i * 4,+ );+ buf.writeInt16LE(+ Math.round(Math.max(-1, Math.min(1, data[1][i] * g)) * 32767),+ 46 + i * 4,+ );+ }+ return buf;+}++const dir = path.join(ASSETS, "stems");+await fs.mkdir(dir, { recursive: true });+// Stems keep their relative levels: each is normalised to its own role's peak.+const stems: Record<string, [Stereo, number]> = {+ drums: [drums, 0.7],+ bass: [bass, 0.5],+ music: [music, 0.42],+ fx: [fx, 0.5],+};+for (const [name, [data, peak]] of Object.entries(stems)) {+ const file = path.join(dir, `${name}.wav`);+ await fs.writeFile(file, wav(data, peak));+ console.log(file);+}+process.exit(0);diff --git a/examples/29_capabilities_reel/src/theme.ts b/examples/29_capabilities_reel/src/theme.tsnew file mode 100644index 00000000..ea7b0572--- /dev/null+++ b/examples/29_capabilities_reel/src/theme.ts@@ -0,0 +1,58 @@+import fs from "node:fs";+import path from "node:path";+import { FontManager } from "framefields";+import { FONTS } from "./paths.js";++export const W = 1920;+export const H = 1080;+export const FPS = 30;+/** 120 BPM at 30 fps: a beat is exactly 15 frames, a bar 60 (2 s). */+export const BPM = 120;+export const BEAT = 15;+export const BAR = BEAT * 4;+export const beats = (n: number) => Math.round(n * BEAT);+export const bars = (n: number) => Math.round(n * BAR);++// Palette: a near-black ink stage with an electric spectrum of accents.+export const INK = "#07060B";+export const NIGHT = "#0E0C18";+export const PLUM = "#1A1230";+export const PAPER = "#F4EFE6";+export const MUTED = "#9C96B0";+export const EMBER = "#FF5A1F";+export const GOLD = "#FFC93C";+export const LIME = "#B8FF3C";+export const CYAN = "#2EE6FF";+export const VIOLET = "#7A4DFF";+export const PINK = "#FF3D9A";+export const SPECTRUM = [EMBER, GOLD, LIME, CYAN, VIOLET, PINK];++export const DISPLAY = "Syne";+export const SANS = "Inter";+export const MONO = "JetBrainsMono";+export const SERIF = "InstrumentSerif";+export const ARABIC = "NotoSansArabic";+export const HEBREW = "NotoSansHebrew";++const FACES: Array<[string, string]> = [+ [DISPLAY, "Syne.ttf"],+ [SANS, "Inter.ttf"],+ [MONO, "JetBrainsMono.ttf"],+ [SERIF, "InstrumentSerif-Italic.ttf"],+ [ARABIC, "NotoSansArabic.ttf"],+ [HEBREW, "NotoSansHebrew.ttf"],+];++export const FONT_FILES = FACES.map(([, file]) => path.join(FONTS, file));+export const EMOJI_FONT = path.join(FONTS, "NotoColorEmoji.ttf");++export async function registerFonts(): Promise<void> {+ for (const [family, file] of FACES) {+ const source = path.join(FONTS, file);+ if (!fs.existsSync(source)) {+ throw new Error(`Missing ${source}. Run \`pnpm assets\` first.`);+ }+ await FontManager.register({ family, source });+ }+ await FontManager.registerEmojiFont(EMOJI_FONT);+}diff --git a/examples/29_capabilities_reel/src/timeline.ts b/examples/29_capabilities_reel/src/timeline.tsnew file mode 100644index 00000000..9bac525f--- /dev/null+++ b/examples/29_capabilities_reel/src/timeline.ts@@ -0,0 +1,48 @@+/**+ * Chapters on the bar grid. Every chapter starts exactly on a downbeat: its transition plays+ * during its own first frames, over a tail of the chapter before it (sequence() overlaps each+ * pair by the transition's length, so the outgoing chapter is that much longer).+ */+import { BAR } from "./theme.js";++export interface Chapter {+ id: string;+ title: string;+ bar: number;+ bars: number;+}++const PLAN: Array<[id: string, title: string, bars: number]> = [+ ["open", "Open", 3],+ ["lottie", "Lottie", 3],+ ["emoji", "Emoji + physics", 3],+ ["vector", "SVG + shapes", 3],+ ["stylize", "Stylize", 4],+ ["fluid", "Warp + fluid", 3],+ ["vision", "Vision", 3],+ ["type", "Typography", 3],+ ["space", "3D", 3],+ ["data", "Data + color", 3],+ ["nodes", "Node montage", 2],+ ["finale", "Finale", 4],+];++export const CHAPTERS: Chapter[] = [];+{+ let bar = 0;+ for (const [id, title, bars] of PLAN) {+ CHAPTERS.push({ id, title, bar, bars });+ bar += bars;+ }+}++export const TOTAL_BARS = CHAPTERS.reduce((n, c) => n + c.bars, 0);+export const TOTAL_FRAMES = TOTAL_BARS * BAR;++export function chapter(+ id: string,+): Chapter & { start: number; frames: number } {+ const c = CHAPTERS.find((x) => x.id === id);+ if (!c) throw new Error(`No chapter ${id}`);+ return { ...c, start: c.bar * BAR, frames: c.bars * BAR };+}diff --git a/examples/29_capabilities_reel/tsconfig.dev.json b/examples/29_capabilities_reel/tsconfig.dev.jsonnew file mode 100644index 00000000..c5e4355b--- /dev/null+++ b/examples/29_capabilities_reel/tsconfig.dev.json@@ -0,0 +1,9 @@+{+ "extends": "./tsconfig.json",+ "include": [+ "src/**/*",+ "../../nodes/**/*",+ "../../packages/**/*",+ "../../node_modules/@framefields/**/*"+ ]+}diff --git a/examples/29_capabilities_reel/tsconfig.json b/examples/29_capabilities_reel/tsconfig.jsonnew file mode 100644index 00000000..999801f9--- /dev/null+++ b/examples/29_capabilities_reel/tsconfig.json@@ -0,0 +1,10 @@+{+ "extends": "@framefields/tsconfig/base.json",+ "compilerOptions": {+ "module": "NodeNext",+ "moduleResolution": "NodeNext",+ "target": "ES2022",+ "noEmit": true+ },+ "include": ["src/**/*"]+}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 0b4aeb12..c2f3364b 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -432,6 +432,25 @@ importers:specifier: ^5.8.3version: 5.9.3+ examples/29_capabilities_reel:+ dependencies:+ framefields:+ specifier: workspace:*+ version: link:../../packages/framefields+ devDependencies:+ '@framefields/tsconfig':+ specifier: workspace:*+ version: link:../../packages/tsconfig+ '@types/node':+ specifier: ^24.1.0+ version: 24.10.14+ tsx:+ specifier: ^4.20.3+ version: 4.21.0+ typescript:+ specifier: ^5.8.3+ version: 5.9.3+nodes/node-apply-lut:dependencies:'@framefields/core':