Skip to content

Releases

v0.4.1

Choose a tag to compare

@kalwalt kalwalt released this 26 Nov 22:35
d2a61e7

Editor polish after v0.4.0.

The studio works on a phone. Below 900 px wide, the panels become tabs (Nodes, Graph, Properties and Preview), the toolbar scrolls sideways and the code panel fits the window. It was checked on a tablet and a phone, in portrait and in landscape.

The editor is easier to find your way around.

  • The demos are in a Demos ▾ menu, like the Export menu.
  • The palette's groups open and close, and a bar jumps to any group.
  • The menus stay inside the window and close with Escape. The arrow keys move through them, and through the panel tabs.

Two Babylon.js fixes. A texture or environment that fails to load is freed at once. An environment whose prefiltering fails now reports the error instead of never finishing.

Upgrading from v0.4.0

Nothing to do. Graphs, exports and projects are unchanged: the graph format is still 6 and the plugin API still 1.

Changed

  • The demos are in a Demos ▾ menu, like the Export menu, with a short title and a line on each; the demo select and
    its Load demo button are gone (#179).
  • The palette's groups open and close, and keep their state across reloads (math starts closed); a group's heading
    stays in view while its nodes scroll, a bar under the search field jumps to any group, and the node buttons are
    more compact (#180).

Fixed

  • The toolbar's buttons stay on one line inside the bar: when the row ran short of room, their labels wrapped and
    stuck out of it (#179).
  • The Demos and Export menus stay inside the window: one near its right edge opens toward the left, and one taller
    than the window scrolls (#179).
  • On a narrow screen (below 900 px) the graph editor had no width: the panels are now tabs, Nodes, Graph, Properties
    and Preview, the toolbar scrolls sideways and the code panel fits the window (#182).
  • Babylon.js: a texture or an environment that fails to load is freed at once. A live change of the environment to an
    .hdr file that does not parse kept the failed texture in the scene until Stop, one more for each try (#185).
  • On Babylon.js, an environment whose prefiltering fails now reports the error and leaves no texture behind, instead
    of never finishing; an .hdr that cannot be read says why rather than "unknown error" (#188).
  • Escape closes the Demos and Export menus, and after a pick or Escape the focus returns to the menu's button; the
    arrow keys move through an open menu and, below 900 px, between the panel tabs, of which only the selected one is a
    tab stop; screen readers name each palette group after its heading (#190).

v0.4.0

Choose a tag to compare

@kalwalt kalwalt released this 19 Nov 22:11
d67800f

Phase 4 of the roadmap: scene and editor (#142).

The scene is built from nodes, the same on both engines. This release brings:

  • Geometry, Mesh, Material and Texture nodes;
  • point and spot lights with shadows, and a Shadow Catcher;
  • an Environment, Groups, and the renderers' own options and info.

A conformance suite checks that Three.js and Babylon.js draw them alike. A graph that puts a node of one engine in a scene of the other is refused before it runs, naming the node.

The editor works on many nodes at once. It has box selection, select all, cut and delete, and macros:

  • fold a selection into one node, enter it, and promote its params;
  • share a macro as a .wmacro file through the palette's new Macros section.

Presets put a shape wired into its Mesh one palette entry away.

Upgrading from v0.3.0

Graphs of format v5, as v0.3.0 saved them, open in v0.4.0 and are saved as v6.

  • Each Primitive node becomes a geometry node (a Box, Sphere or Torus Knot of the same size) wired into a Mesh, with the same id, wires and params.
  • An upgraded Mesh keeps its spin. A torus knot now rests on the marker instead of floating above it.
  • The file you open is not touched.

On Babylon.js, scenes now look as they do on Three.js (#131). Light intensities tuned for Babylon.js before may need retuning: see Changed below.

Added

  • Macro nodes in the graph format (#140, first part): a graph may hold macro definitions, and a macro node's ports
    and params are those its definition exposes and promotes. The studio, the player, the exports and the MCP server
    run the graph flat, and an inner node's status or error shows on its macro node; a promoted param applies live.
    The .json, the autosave, the project, the app's graph and copy and paste keep the definitions, and a script
    inside a macro asks before it runs as one outside does.
  • Macros in the editor (#140): Create macro folds a selection into a macro node, whose ports are the wires that
    crossed its border; Dissolve puts the nodes back, and dissolving a macro just made gives the same graph back. Enter
    macro shows its inside, editable, with a bar to go back: an edit there changes every instance, and a live param
    applies in each while the preview runs. Inside, Promote sets an inner param on the macro node, and Unpromote takes
    it back. Rename macro, in its menu or in the bar inside it, renames every instance. Each is one undo step; the edits
    made inside are one step once back in the graph.
  • The macro library (#141): Export macro… saves a macro's definition as a .wmacro file (format webarkit-macro,
    version 1), with a description, and lists the project assets it uses, kept as references. Import macro… adds one to
    the project's library, the palette's new Macros section, checked as a graph is: an unknown node type or a missing
    plugin refuses it by name. A library macro is added like any node, its definition copied into the graph; an id the
    graph already uses for another content asks whether to replace it or keep both. The library is kept beside the
    autosave and in project files (library.json). Presets ship with it: Box, Sphere, Cylinder, Plane, Torus, Torus knot
    and Capsule, each a geometry node wired into a Mesh, added expanded, so a cube is one palette entry away again.
  • Selection in the editor (#139): Shift+drag on the canvas draws a box that selects the nodes it touches (with Ctrl,
    adds them); Ctrl+A selects every node; Shift+click adds or removes a node, and Ctrl+click now removes a selected
    one too; Escape clears. Delete or Backspace removes the selection and its wires, Delete in a selected node's menu
    too, and Ctrl+X cuts it, each as one undo step. Keys typed in a field, a select or the log stay theirs.
  • Geometry nodes and the Mesh node (#132): Box, Sphere, Cylinder (a cone with a top radius of 0), Plane, Torus,
    Torus Knot and Capsule, each with its own sizes in mm, every one live, in a new Geometry category; and Mesh, which
    shows a geometry on the marker with its position, rotation, scale per axis, colour, spin and Rest on the marker
    (inputs override the params, so a graph can drive an object's size). The same shape has the same size and
    orientation on Three.js and Babylon.js. The source code export writes them.
  • Material and Texture nodes (#133). Material gives meshes (through the Mesh node's new Material input) a physically
    based surface: colour, metalness, roughness, emissive glow, opacity, front, back or both sides, and Unlit; one
    material can dress several meshes, and every param changes live. Texture puts an image, or a playing video, on a
    material's map, with wrap (clamp, repeat, mirror) and repeat live. A material and a texture look the same on
    Three.js and Babylon.js, on every shape (#162). The source code export writes them (an image texture; a video one is
    refused by name).
    A new demo, "pinball · a textured poster and a chrome knot", shows both.
  • A Group node (#136): moves, turns, scales and hides its children together, inside a Marker Anchor, another Group
    or AR View. Its position, rotation and scale (per axis) change live, and math nodes can drive them. Hiding a group
    hides its children and turns off the lights in it. The source code export writes it, and a new demo, "pinball · a
    group of shapes turning on the marker", shows it.
  • An object has one parent: a graph that wires the same object into two parents (two anchors, a group and AR View, or
    twice into one) is refused at Run, naming the object; a work in progress still opens (#136).
  • An Environment node (#135): image-based lighting that gives metallic and glossy surfaces something to reflect,
    never drawn over the camera video. Neutral is a soft room made offline on each renderer (alike, not the same); HDR
    uses an uploaded equirectangular .hdr, which the upload button now offers and which project files and exported apps
    carry. Intensity and rotation change live. Left unconnected it stays with the camera; wired into a Marker Anchor it
    follows the marker. The source code export writes it, and the "materials and a texture" demo uses one.
  • Point and spot lights, shadows and a Shadow Catcher (#134). The Light node gains Point and Spot, with a position,
    a target, a distance, and a spot's angle and penumbra; point and spot intensities are in candela at 1 m. Directional
    and spot lights can cast shadows (map size and bias), on meshes and glTF models that receive them and on the new
    Shadow Catcher, a plane on the marker that shows only shadows, sized from the marker. Every new param changes live.
    Both renderers draw the same light and the same shadows; a spot's penumbra fades differently on each (the cone's edge
    is the same). The source code export writes them. A new demo, "pinball · a model standing on the poster, with its
    shadow", shows it. Saved graphs keep their lights as they were.
  • A Babylon.js Node Material node (#138): a material from a .json file saved by Babylon.js's Node Material Editor,
    for meshes, as a Material's. A graph that puts a node of one engine in a scene of the other (a Babylon.js node in
    a Three.js scene, a Three.js Script in a Babylon.js scene, directly or through what it feeds) is now refused before
    it runs, naming the node, in the studio, the exports and the MCP server; a work in progress still opens.
  • Plugin API: a node definition can say which engine it needs (engine: 'three' | 'babylon'), which that check reads
    (plugin API types package 1.9.0).
  • The renderer nodes expose their engine's options (#137), each with its engine's names and defaults, so a saved graph
    renders as before: antialias, power preference, preserve drawing buffer and stencil; a max pixel ratio that caps the
    device pixel ratio the AR view is drawn at (on a phone, a cap of 1 draws fewer pixels), live; tone mapping and
    exposure, live; and Three.js's output colour space, live. A new Info output shows in an Inspector what the browser
    granted (WebGL version, GPU where the browser tells it, antialias, the maximum texture size, the extensions) and the
    last frame's draw calls and triangles, once a second. The source code export writes the Three.js renderer's options.
  • Plugin API: the Renderer info socket is a studio internal (plugin API types package 1.8.0).
  • Plugin API: a node's input can name the params it sets aside while wired (overrides on PortSpec), which the
    editor shows disabled; the Material and Texture sockets are studio internals (plugin API types package 1.7.0).
  • Plugin API: the Geometry socket is a studio internal (plugin API types package 1.6.0).

Changed

  • Babylon.js builds every geometry node's shape from Three.js's own generators (#162), so both renderers draw the same
    mesh: the same size and outline as before, and now the same texture coordinates, so a texture lies the same way on
    a box, sphere, cylinder, torus, torus knot or capsule. The Babylon.js renderer downloads about 16 KB more (gzipped).
  • Graph format v6 (#132): the Primitive node is replaced by a geometry node wired into a Mesh. Older graphs
    upgrade when they are opened: each Primitive becomes a Mesh with the same id, wires and params, and a Box, Sphere
    or Torus Knot of the same size. A new Mesh does not spin unless Spin is on; an upgraded one keeps its spin. A
    torus knot now rests on the marker: it floated 18.78 mm above it (at size 80), and comes down by that much. A box
    or sphere does not move. On every geometry node, height is out of the marker: the Plane's sizes are width (X) and
    depth (Y).
  • Babylon.js scenes look different (#131): the Babylon.js renderer now draws primitives with a physically based
    material, as Three.js does, and maps lights and colours as Three.js reads them, so the same graph looks
    alike on both. Lights no longer need lower intensities on Babylon.js, and a hemisphere light no longer
    adds a highlight. glTF models change too: under a directio...
Read more

v0.3.0

Choose a tag to compare

@kalwalt kalwalt released this 12 Nov 22:10
71d5ac7

Phase 3 of the roadmap: logic and publishing. Graphs can now react and act: logic nodes route events,
action nodes play a model's animation, a sound or a link on onFound and onLost, page events and UI
controls connect a graph to the page around it, and math, colour and script nodes compute what moves. An
app can be published with no credential, as a GitHub Pages project, or exported as readable source code.
The full list is in #3.

Upgrading from v0.2.0

  • Graphs saved by v0.2.0 open unchanged. They are already format v5, the format of this release.
  • Graphs of v0.1.0 (format v4) now upgrade when opened (#61): they open, run and export, and save as v5.
    The file you opened is not touched, and the log says ↑ upgraded from v4 to v5. v2 and v3 stay refused.
  • One stricter check (#110): a saved file whose select param holds a value that is not one of its
    options (for example a scene.light of kind laser) is now refused on open, with the node and the param
    named. Fix the value in the file and open it again.
  • An autosave the studio cannot open is kept in localStorage as webarkit-studio:autosave-set-aside
    instead of being replaced by the demo.
  • Plugin authors: @webarkit/studio-plugin-api is 1.5.0 in this release (not published to npm). A plugin
    that reads NFT datasets declares the nftDataset asset kind itself (#30).

Changes (from the CHANGELOG)

Added

  • The graph's name can be edited in the toolbar (#118), as one undo step, and every export is named after
    it. In Chromium browsers an export asks where to save it and under which name; elsewhere it downloads
    as before.
  • MCP server: trackability_check (#44) rates an NFT dataset and returns the report of
    npm run trackability -- <dataset> --json. Plugins can provide such a check with a DatasetCheck
    (plugin API, optional), listed in webarkit-studio.node.config.ts.
  • Plugins can declare asset kinds (#30): assetKinds in StudioPlugin (optional), a URL prefix with
    several files, which uploads, project files, the runtime and the app export handle. The
    jsartoolkitNFT plugin declares nftDataset this way, with the same id and behaviour for its
    datasets.
  • The plugin API's types as a package (#29), @webarkit/studio-plugin-api in
    packages/studio-plugin-api/, so a plugin outside this repository can typecheck: npm pack it and
    install the tarball. Not published yet.
  • Older graphs upgrade when they are opened (#61): a graph or autosave of format v4, the format of
    v0.1.0, now opens, runs and exports, and saves as v5, where it was refused and an autosave was
    replaced by the demo. The file you opened is not touched, and the log says
    ↑ upgraded from v4 to v5. v2 and v3 stay refused, and a newer document says it needs a newer studio.
  • glTF animations on both renderers (#58): Autoplay on the glTF Model node (autoplay, live, off by
    default) plays the model's first clip in a loop. Its log and status list the clips and show the time
    of the one playing. Exported apps play it too.
  • Logic nodes (#59), in their own palette category: And, Or, Not, Toggle, Timer, Compare, Edge, Branch and
    Switch, to work with booleans and route events: Compare → Edge fires an event when a number crosses a
    threshold. docs/plugins.md documents the event model. A plugin can no longer use the id logic or
    action.
  • Action nodes (#60), in their own palette category: Play Animation, Set Visible, Play Sound and Open URL
    make a graph act on an event, in the preview and in exported apps. A new demo, "pinball · animated
    model", plays a clip on onFound and pauses it on onLost. Sounds can be uploaded as assets.
  • Export → GitHub Pages project (.zip) (#62): the standalone app with a GitHub Actions workflow and the
    steps to publish it. You push it to a repository of your own: the studio holds no credential and makes
    no request to GitHub. The standalone app now has a .nojekyll, which keeps paths starting with _ on a
    Pages site built from a branch.
  • Threaded and Auto builds on the jsartoolkitNFT controller (#63); SIMD stays the default. An
    exported app that uses them gets a service worker that makes the page cross-origin isolated where the
    host cannot send the headers (GitHub Pages; the page reloads once on the first visit), and _headers
    for Netlify and Cloudflare Pages. In the studio, whose page is not isolated, Threaded stops at once
    with a message and Auto runs SIMD. Plugins ask for this with crossOriginIsolation (plugin API,
    optional).
  • Page events (#82): Dispatch Event tells the page that holds the graph, and Page Event listens
    to it, with a named CustomEvent in the same page or postMessage across an iframe, to and from one
    origin only. Names need a colon, and only plain values cross. page is a reserved namespace for
    plugins. See "Talking to the page" in the README.
  • UI controls (#83): Button, Switch, Slider, Colour Picker and Choice drive a graph from
    a control, drawn in a panel on the AR view or bound by id to an element of the page that holds the app.
    Only those kinds of element are taken: a text field or a textarea is refused by name. ui is a reserved
    namespace for plugins. See "UI controls" in the README.
  • A position for drawn controls (#93): Position on the five UI control nodes puts their panel at the top
    right (as before), top left, bottom left, bottom right or bottom centre, live. Each position has its own
    panel, kept clear of the AR view's badge, FPS label, Debug Stats' overlay and Open URL's link.
  • Core sockets vector2 ([x, y]) and quaternion ([x, y, z, w]) for plugin ports (#65), shown by the
    Inspector; the plugin API's types package goes to 1.2.0. Math, colour and logic nodes are now computed
    only when an input or a live param changes.
  • Math nodes (#66): Subtract, Divide, Negate, Absolute, Minimum, Maximum, Clamp, Lerp, Remap, Cosine, Tangent,
    Atan2, Power, Square Root, Logarithm, Exponential, Round, Floor, Ceiling, Modulo, Degrees to Radians and
    Radians to Degrees, each with inputs that override its params. Angles are in degrees, like Sine's. Time
    has a new output, Delta: the seconds since the last frame, at its Speed.
  • Colour nodes (#67): Hex Color, HSV Color (hue in degrees: drive it with a time for a rainbow), Mix Colors,
    Brightness and Invert Color, on [r, g, b, a] values in sRGB. An Expression whose whole formula is
    rgba(r, g, b, a) or vec3(x, y, z) now gives a colour or a vector, on its new Color and Vector
    outputs; a numeric formula works as before.
  • Vector and matrix nodes (#68): Vector2 and Split Vector2; Length, Normalize, Dot Product, Cross Product and
    Distance; Matrix4, Decompose Matrix4, Matrix from Pose, Multiply Matrices, Invert Matrix and Transform Point,
    on plain column-major matrices. The glTF Model takes Position and Rotation inputs, so math nodes
    move and turn a model. A new demo, "pinball · math on a model", bobs and turns a cube that way.
  • Script node (#35, script.lite): JavaScript whose header comment declares its inputs, outputs and
    dropdowns (in, out, enum, run on-change), on value sockets only. The node shows the script's name,
    ports and params; Edit opens a code panel (Ctrl+Enter applies), Import reads a .js file or an example.
    Changing the ports rebuilds the node and drops the wires that no longer fit, in one undo step. Errors show on
    the node with their line and never stop the graph. A script runs in the page: the studio asks before running or
    exporting scripts from someone else (an opened graph or project, a restored autosave), the player refuses a graph with
    scripts named by a ?graph= link, and the MCP server never runs one. A new demo, "pinball · one script". script
    is a reserved namespace for plugins. See "Scripts" in the README.
  • three.js Script node (#36, three.script): a three.js script builds part of the scene, wired into a Marker
    Anchor like a Primitive. Its code defines onInit({ THREE, group, inputs }), onFrame(…) and onDispose(); its
    header declares value inputs and dropdowns. A live code change rebuilds its group; errors show on the node, in the
    code panel and the log. Three.js only: with Babylon.js it fails at start and says so. A new demo, "pinball · a
    three.js script builds the scene". A node runs code when its definition says runsCode: true (plugin API types
    package 1.3.0): the trust prompt, the player's ?graph= refusal and the MCP server's refusal read that flag.
  • three.js Render Script node (#37, three.renderScript): a three.js script with its own renderer, scene and
    camera over the camera video, in place of Scene, Renderer, AR Camera, Anchor and AR View. Each frame it puts the
    tracker's projection on the camera; helpers.placeOnMarker() places content as a Marker Anchor does. A new demo,
    "pinball · one three.js script renders it all".
  • Export → Source code (.zip) (#64): the graph as a small Vite project with one readable src/main.js (Three.js),
    each node a commented part of it, the assets in public/, and exact versions of three.js and jsartoolkitNFT. It
    needs nothing of the studio: npm install, npm run dev. The first version writes the nodes of "pinball ·
    Three.js" and glTF models, and refuses a graph with any other node, by name. Plugins write their nodes' code with
    codeEmitters, keyed by target (plugin API types package 1.4.0).

Changed

  • Graphs saved by v0.2.0 are already format v5 and open unchanged; graphs of v0.1.0 (format v4) upgrade when
    they are opened (#61).
  • The colour nodes have a palette group of their own, color, after math (#104): a new node category,
    color, with its own colour in the palette, the node header and Properties. The MCP server's catalog_list
    filters by it. Plugin API types pac...
Read more

v0.2.0

Choose a tag to compare

@kalwalt kalwalt released this 03 Nov 22:58
9fd45a1

Changed

  • Graph format v5 (#12): plugins: [{ id, version }] lists the plugins a graph's nodes
    come from, with the minimum version. Version 4 graphs are rejected; add
    "plugins": [{ "id": "jsartoolkitNFT", "version": "0.1.0" }] to those with jsartoolkitNFT.* nodes
    and set "version": 5. A missing plugin is reported by name.
  • The jsartoolkitNFT nodes are now a plugin (plugins/jsartoolkit-nft/), with unchanged node
    types, ports, params and tracking (same trace before and after). Its socket types are
    jsartoolkitNFT.cameraParams, jsartoolkitNFT.dataset and jsartoolkitNFT.settings (were artk*).
  • The controller runs the tracker in the facade's own worker, createNFTTrackerWorker from the
    light client of @webarkit/jsartoolkit-nft 1.16.0 (#14), instead of a worker of ours. Its
    worker files are served from jsartoolkit-nft/<version>/ next to the page; exported apps get only the
    worker of their build. A worker that does not start within 30 s fails the controller with a
    clear error (the dataset loads that follow have no limit; stopping the graph ends them). Requires @webarkit/jsartoolkit-nft ≥ 1.16.0, whose One Euro filter keeps poses
    rigid: One Euro-filtered poses differ slightly from 1.15.0 (no other tracking change).

Added

  • MCP server (#8, npm run mcp:studio, declared in .mcp.json): catalog_list, graph_validate,
    graph_create, graph_edit, tracking_run (the graph's tracker on JPEG images in Node, as trace
    records) and export_bundle (the standalone app, from the studio build in dist/). Plugins can run their trackers in Node with a
    HeadlessTracker (plugin API), listed in webarkit-studio.node.config.ts. Traces gain an images
    source (several still images, not replayable; additive, TRACE_VERSION unchanged).

  • Trackability check for NFT datasets (#10): npm run trackability -- <dataset> rates the
    feature points the NFT generator wrote (detection points, coverage, repetition, tracking
    points), with hints; the logic is plugins/jsartoolkit-nft/trackability.ts, ready for the MCP
    server (#8). npm run example:marker and npm run example:project take a generated marker to
    a project file with a glTF model, and Creative tools sets up
    Blender, ComfyUI and Krita.

  • Plugin API (#12): a typed StudioPlugin manifest (src/plugin-api, types only) that adds
    nodes, sockets, factories and export files; plugins listed in webarkit-studio.config.ts are
    checked when loaded and become lazy chunks. See Writing a plugin.

  • Image and Video File sources (source.image, source.videoFile): a still
    image or a recorded video instead of the camera, and the
    "pinball · image, no camera" demo (#2).

  • Assets: upload images, videos, NFT datasets and glTF models into the project
    (saved in IndexedDB) and use them from asset params as asset://<id>/<name>
    references. A graph using them needs its project's assets to run.

  • Export → Project (.zip): the graph with its uploaded assets; Import…
    opens it. The standalone app export bundles uploads under data/assets/.

  • scene.gltf (glTF Model) on Three.js and Babylon.js, with live scale,
    rotation and position; models/cube.glb as its default model.

  • Editor: a right-click menu with node search (name, category, library) and a palette filter;
    undo / redo, including param edits; a minimap and Arrange; copy, paste and duplicate of
    node selections, keeping the wires between them; a Properties panel for the selected node (#2).

  • Param kinds vector3 and matrix4 (values are number arrays; the graph version is unchanged).

  • Primitive: live Position (mm) and Rotation (degrees); Spin turns it about its own Z axis.
    glTF Model uses the same Position / Rotation vectors.

  • Math nodes (#25): math.number, math.vector3, math.splitVector3, math.add, math.multiply, math.addVector3, math.scaleVector3,
    math.sin (degrees) and math.time, on new number and vector3 sockets, renderer-independent.
    An input with the same name as a param overrides it while connected; Primitive gets a position
    input. Demo: pinball · math nodes, a cube bobbing on the marker.

  • Colour nodes (#33): a color socket ([r, g, b, a], 0–1, sRGB), color.rgba and color.split.
    Primitive and Light take a color input that overrides their Color param; alpha below 1 makes a
    Primitive transparent on both renderers. Light's Color applies live. The math demo also fades the cube. The color namespace is
    reserved for built-in nodes (a plugin cannot use color as its id).

  • math.expression (#34), a formula node and the first step of the script nodes: 40 + 30 * sin(t * 180)
    with variables a–d (params or inputs) and t (its own seconds, or an input), operators, comparisons,
    ? :, and functions (trigonometry in degrees). Parsed by the studio itself, without eval; the editor
    shows a formula error under its field; formulas are limited to 500 characters and 64 nesting levels.
    ParamSpec (plugin API) gains an optional syntax: 'expression' for such fields. Demo: pinball · one formula.

v0.1.0

Choose a tag to compare

@kalwalt kalwalt released this 31 Oct 16:56
429fda4

Added

  • Node-based editor (Rete.js v2) with typed sockets, validation of the graph
    before running, live preview, and Reload.
  • Standalone player, and Export → Standalone app: a static bundle containing
    only the engines and tracker builds the graph uses.
  • JsartoolkitNFT nodes:
    • Camera Params, NFT Dataset, Controller Settings (live), Native Filter;
    • the controller: the jsartoolkitNFT tracker in a Web Worker (SIMD or
      standard build), tracking several datasets with per-marker pose, found /
      lost events and pose filters.
  • Near / far planes in Controller Settings, applied live.
  • Renderers: Three.js and Babylon.js, behind one adapter interface.
  • Scene nodes: Scene, AR Camera, Light, Primitive, Marker Anchor, AR View.
  • Other nodes: Select Marker, One Euro Filter, Inspector, Stats, Trace Recorder.
  • Graph format webarkit-studio/graph v4. Graphs and the autosave from the
    former name (webar-studio/graph) still load.
  • Unit, integration (Node build of jsartoolkit-nft), e2e (Playwright, fake
    camera) tests, benchmarks and CI.
  • Controller Settings: Lost after ms and the AR2 tracking parameters
    (tracking threshold, similarity threshold, features per frame, template
    size, search window), all live. Their defaults are the tracker's, so existing
    graphs keep their behaviour.
  • Tracking traces (#9): a JSONL trace format (webarkit-studio/trace v1), the
    controller's trace output and the Trace Recorder node (debug.trace),
    a deterministic Node recorder and replay (npm run trace:record) and
    npm run trace:diff (pose deltas, found / lost timing, jitter, non-zero exit
    above thresholds).
  • Agent tooling: .mcp.json with Playwright MCP and Chrome DevTools MCP (pinned,
    isolated), checked by npm run check:agents, and a tracking-debugger skill.

Changed

  • The controller node runs the jsartoolkitNFT tracker facade (createNFTTracker,
    requires @webarkit/jsartoolkit-nft ≥ 1.15.0) instead of ARControllerNFT and
    hand-written found / lost, filter and lens code. Found / lost events are
    unchanged; poses differ by tracking noise (the tracker computes the luma in WASM).
  • The projection output comes from the tracker's projectionFor().
  • A dataset that fails to load is reported on the node, one line per dataset.
  • One Euro Filter: the warm-up poses are now fed to the filter (still passed
    through unfiltered), as in the tracker facade.
  • @webarkit/oneeurofilter-ts is no longer a direct dependency (the tracker
    bundles it).
  • The processing frame's geometry comes from @webarkit/camera-view (ARnft's
    rule, also used by the jsartoolkitNFT tracker example). The video's offset in the frame
    is now rounded down to a whole pixel.

Fixed

  • Demo graphs: nodes no longer overlap (Controller Settings grew with near / far
    and the AR2 params).
  • Videos whose size does not letterbox to whole pixels: the processing frame,
    the canvas and its ImageData now have the same integer size.