Releases: VisualComputing/p5.tree
v0.0.27
v0.0.26
Full Changelog: v0.0.25...v0.0.26
v0.0.25
Full Changelog: v0.0.24...v0.0.25
v0.0.24
Full Changelog: v0.0.23...v0.0.24
v0.0.23
v0.0.22
v0.0.21
v0.0.20
Changes
deps/tree
_parseQuat— newrotsub-forms:{ euler, order? },{ from, to },{ mat3 },{ eMatrix }; removed{ view }and{ eye, center }_parseSpec— new top-level{ mMatrix }form for PoseTrack (full TRS from model matrix)_parseCameraSpec—{ view }renamed to{ vMatrix }; new{ eMatrix }form- Matrix bag renamed throughout
math.js:proj→pMatrix,view→vMatrix,eye→eMatrix,pv→pvMatrix,ipv→ipvMatrix
src (p5.tree bridge)
src/matrix.js—_buildBagtranslation layer collapsed; bag fields now usexMatrixnames end-to-endsrc/track.js—CameraTrack.add()gains{ camera: p5Camera }spec and no-arg shortcut (captures bound camera); wrapper exposesloop,pingPong,rategetterssrc/panel.js—_wrapTrackwrapper exposesloop,pingPong,rategetters so panel syncs correctly
deps/ui
trackUI.js— panel seeds_rateand_modefrom live track state at creation;_syncFromTrackcalled inonPlayhook — both play-before-panel and panel-before-play orderings now display correct mode
Docs
- All three READMEs updated for renamed spec keys, new rot forms, and panel sync behaviour
0.0.19
Tracks
createTrack(cam?) replaces createPoseTrack and createCameraTrack. Pass a p5.Camera (or getCamera()) for a camera-bound track; omit for an unbound PoseTrack. Playback wiring and auto-apply are handled internally in both cases.
New interpolation options on PoseTrack: rotInterp ('slerp' | 'nlerp') and posInterp ('catmullrom' | 'linear'). New on CameraTrack: centerInterp ('catmullrom' | 'linear').
Panels
createPanel(trackOrSchema, opt) replaces createUI and createTrackUI. Pass a track for transport controls, a schema object for parameter bindings — type is inferred from the first argument. All panels support title, collapsible, and collapsed options.
Deps
@nakednous/tree 0.0.3 — qNlerp added to quaternion exports.
@nakednous/ui 0.0.3 — createPanel is now the sole public export; bindUI and trackUI are internal.