phx-logging-view

Capture and visualize PHX simulation data using MATLAB APIs.

7|Updated Jun 25, 2026
One-click install
npx skills add https://github.com/Humusoft/phx --skill phx-logging-view
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phx-logging-view
Source: https://github.com/Humusoft/phx/tree/main/.claude/skills/phx-logging-view
Command: npx skills add https://github.com/Humusoft/phx --skill phx-logging-view

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you capture simulation data, detect events, measure body motion, and configure clear interactive or headless visualizations without building these tools from scratch.

Core Features & Use Cases

  • Simulation Logging: Record body, joint, spring, force, velocity, pose, and other properties over time with phx.Logger for plotting and analysis.
  • Motion and Event Tracking: Draw trails with phx.Trace, measure live distances and velocities with phx.Measure, and detect bodies entering or leaving spatial regions with phx.Zone.
  • Scene Visualization: Configure scriptable cameras and interactive phx.extra.Viewer scenes, while supporting plain axes, subplot layouts, app interfaces, and headless runs.
  • Use Case: Track rocks moving through a simulated sorting system, count them in passive zones, log their velocities, and inspect the resulting motion in a separate MATLAB plot.

Quick Start

Use the phx-logging-view skill to configure a PHX viewer, log selected body properties, detect bodies crossing a region, and plot the recorded results after the simulation.

Frequently Asked Questions about phx-logging-view

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I log and visualize physical simulation data in MATLAB?

To log and visualize physical simulation data in MATLAB, use this Skill to capture body, joint, and velocity properties over time with phx.Logger, then plot the recorded results. It supports interactive scenes, subplot layouts, and headless runs.

How do I track motion and detect events in a 3D physics simulation?

Motion tracking and event detection in a 3D physics simulation are handled by drawing motion trails with phx.Trace, measuring live distances using phx.Measure, and detecting bodies entering or leaving spatial regions with phx.Zone.

Can I configure scriptable cameras for headless simulation visualization?

Yes, you can configure scriptable cameras for headless simulation visualization. This Skill supports configuring phx.Camera and interactive phx.extra.Viewer scenes, allowing you to inspect motion in MATLAB plots or run completely headless.

What is the best way to measure body kinematics and count objects in spatial zones?

The best way to measure body kinematics and count objects in spatial zones is using phx.Measure for live velocities and distances alongside phx.Zone to detect bodies crossing regions, logging the results for plotting and analysis.

Do I need PHX MATLAB APIs to record simulation properties and plot results?

Yes, you need PHX MATLAB APIs to record simulation properties and plot results. This Skill requires specific interfaces including phx.Logger, phx.Trace, phx.Measure, phx.Zone, phx.Camera, and phx.extra.Viewer to capture and visualize simulation behavior.