Repository navigation
Highlights
- Portrait video on the tracking canvas: the new opt-in
videoSettings.rotatePortraitrotates a portrait camera stream onto the 320x240 tracking canvas instead of letterboxing it, so more of the image is used for tracking (#345). - Device rotation: rotating the phone between portrait and landscape keeps the AR content aligned on the marker (#346).
- Camera choice: the new
videoSettings.cameraLabelselects the camera by name. On desktop, ARnft no longer forces the last camera in the list and uses the one chosen in the browser (#348). - Vite build: webpack and the archived worker-loader are replaced by Vite, with the worker inlined in the bundles. The files are the same as before:
dist/ARnft.js(UMD),dist/ARnft.mjs(ES module) and their.simdversions (#362). - Updated dependencies:
@webarkit/jsartoolkit-nft1.13.0 and@webarkit/oneeurofilter-ts0.2.0. The pose matrix is now always sent as an array (#359, #361).
The new options are described in the Configuration section of the README.
Known issues
- The
width/heightpassed toARnft.init()are ignored (#352). - On smartphones, the last-camera rule overrides
facingMode: "user"(#351). - Absolute marker URLs fail to load (#367).
- With some unusual stream sizes, the tracking canvas is 318x239 instead of 320x240: the content can be slightly misaligned, and tracking can stop when the phone is rotated (#350).
- Disposing ARnft leaves animation loops and listeners running (#349).
- The bundles contain a local
file:///path from the jsartoolkit-nft build (webarkit/jsartoolkitNFT#684).
What's Changed
- Opt-in rotation of portrait video onto the process canvas by @kalwalt in #345
- Keep AR content aligned when the camera stream changes orientation by @kalwalt in #346
- Choose the camera by label and stop forcing the last camera on desktop by @kalwalt in #348
- doc: add AGENTS.md and pointer files for AI coding agents by @kalwalt in #356
- chore(deps): update uuid, typedoc and prettier, move terser-webpack-plugin to devDependencies by @kalwalt in #357
- chore(deps): refresh development dependencies flagged by Dependabot by @kalwalt in #358
- fix(examples): rotate the multi-example cone by π/2, not 90 radians by @kalwalt in #360
- chore(deps): update @webarkit/jsartoolkit-nft to 1.13.0 by @kalwalt in #359
- chore(deps): update @webarkit/oneeurofilter-ts to 0.2.0 by @kalwalt in #361
- chore(build): replace webpack and worker-loader with Vite by @kalwalt in #362
- refactor: bundler module resolution, jsartoolkit-nft root imports and @types/node 26 by @kalwalt in #363
- chore(ci): update GitHub Actions to their Node 24 versions by @kalwalt in #364
- chore: release 0.15.0 by @kalwalt in #366
Full Changelog: 0.14.13...0.15.0