Skip to content

Releases: VisualComputing/p5.tree

v0.0.27

25 Mar 21:00

Choose a tag to compare

v0.0.26

25 Mar 16:15

Choose a tag to compare

Full Changelog: v0.0.25...v0.0.26

v0.0.25

23 Mar 21:08

Choose a tag to compare

Full Changelog: v0.0.24...v0.0.25

v0.0.24

21 Mar 17:33

Choose a tag to compare

Full Changelog: v0.0.23...v0.0.24

v0.0.23

19 Mar 12:58

Choose a tag to compare

split gizmos: visibility into src/visibility.js

v0.0.22

18 Mar 15:46

Choose a tag to compare

Add GPU color-ID picking (colorPick, mousePick, tag) and CPU proximity picking (mouseHit, pointerHit).

v0.0.21

17 Mar 17:31

Choose a tag to compare

fix(track): accept Float32Array in _parseVec3 and _parseQuat
center param in track add() defaults to origin

v0.0.20

16 Mar 19:39

Choose a tag to compare

Changes

deps/tree

  • _parseQuat — new rot sub-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_buildBag translation layer collapsed; bag fields now use xMatrix names end-to-end
  • src/track.jsCameraTrack.add() gains { camera: p5Camera } spec and no-arg shortcut (captures bound camera); wrapper exposes loop, pingPong, rate getters
  • src/panel.js_wrapTrack wrapper exposes loop, pingPong, rate getters so panel syncs correctly

deps/ui

  • trackUI.js — panel seeds _rate and _mode from live track state at creation; _syncFromTrack called in onPlay hook — 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

15 Mar 22:41

Choose a tag to compare

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.

v0.0.18

13 Mar 10:19

Choose a tag to compare

fix addPath missed projIsOrtho import