Skip to content

Somatic Field: 3D body playback of experience instances#29

Open
clarknoah wants to merge 1 commit into
mainfrom
feature/somatic-field-3d
Open

Somatic Field: 3D body playback of experience instances#29
clarknoah wants to merge 1 commit into
mainfrom
feature/somatic-field-3d

Conversation

@clarknoah

Copy link
Copy Markdown
Collaborator

Summary

  • New VisualizationEnum.SomaticField review visualization: an echarts-gl 3D body (parametric point cloud) through which the session's manifestations arise and pass over session time — play/pause/scrub/speed controls, colour = valence, size = input duration, passed events leave a faint residue.
  • Somatic placement resolves in confidence order: structured Body Location values → free-text parsing ("pain in chest" → Chest) → per-experience-type defaults. somaticMap.ts is the editable somatic ontology — region anchors, text aliases, and the ExperienceType → region map (seeded defaults for all ~60 types, awaiting Noah's per-type directions).
  • Registered through the standard machinery: server enum + regenerated types, VISUALIZATION_META (requires: non-TET), default review order, enum map, renderer. Session types can pin/exclude it via reviewVisualizations.
  • SomaticFieldDemo: zero-data, autoplaying, slowly-orbiting loop for public surfaces — drop <SomaticFieldDemo /> into SplashPageV4 when ready.

Note: client/src/gql/graphql.ts got the enum value added surgically rather than via codegen — codegen introspects the running dev server, which would have pulled uncommitted in-flight schema into this branch. Next codegen run against an updated server produces the identical line.

Test plan

  • tsc server + client, vite production build, standardization audit — all green
  • Eyeballed via dev server + Playwright on a public session: body renders, 16/16 events placed at Head (type default), playback/scrub/replay work, no new console errors
  • Review on a 4th & 5th Fetter Self-Inquiry session (structured Body Location data) when logged in
  • Give per-experience-type somatic directions; encode in somaticMap.ts

🤖 Generated with Claude Code

New VisualizationEnum value, registry entry, and renderer. echarts-gl
scatter3D body point-cloud through which manifestations arise and pass
at somatic locations resolved from Body Location values, free-text
parsing, or per-type defaults (somaticMap.ts is the editable ontology).
Includes SomaticFieldDemo, a zero-data looping variant for the splash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant