Repository navigation
v0.2.0
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 withjsartoolkitNFT.*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.datasetandjsartoolkitNFT.settings(wereartk*). - The controller runs the tracker in the facade's own worker,
createNFTTrackerWorkerfrom the
light client of@webarkit/jsartoolkit-nft1.16.0 (#14), instead of a worker of ours. Its
worker files are served fromjsartoolkit-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) andexport_bundle(the standalone app, from the studio build indist/). Plugins can run their trackers in Node with a
HeadlessTracker(plugin API), listed inwebarkit-studio.node.config.ts. Traces gain animages
source (several still images, not replayable; additive,TRACE_VERSIONunchanged). -
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 isplugins/jsartoolkit-nft/trackability.ts, ready for the MCP
server (#8).npm run example:markerandnpm run example:projecttake 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
StudioPluginmanifest (src/plugin-api, types only) that adds
nodes, sockets, factories and export files; plugins listed inwebarkit-studio.config.tsare
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 asasset://<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 underdata/assets/. -
scene.gltf(glTF Model) on Three.js and Babylon.js, with live scale,
rotation and position;models/cube.glbas 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
vector3andmatrix4(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) andmath.time, on newnumberandvector3sockets, renderer-independent.
An input with the same name as a param overrides it while connected; Primitive gets aposition
input. Demo: pinball · math nodes, a cube bobbing on the marker. -
Colour nodes (#33): a
colorsocket ([r, g, b, a], 0–1, sRGB),color.rgbaandcolor.split.
Primitive and Light take acolorinput 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. Thecolornamespace is
reserved for built-in nodes (a plugin cannot usecoloras 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, withouteval; the editor
shows a formula error under its field; formulas are limited to 500 characters and 64 nesting levels.
ParamSpec(plugin API) gains an optionalsyntax: 'expression'for such fields. Demo: pinball · one formula.