ComfyUI > Nodes > ComfyUI-HY-Motion1 > HY-Motion Preview

ComfyUI Node: HY-Motion Preview

Class Name

HYMotionPreview

Category
HY-Motion
Author
jtydhr88 (Account age: 0days)
Extension
ComfyUI-HY-Motion1
Latest Updated
2026-03-20
Github Stars
0.26K

How to Install ComfyUI-HY-Motion1

Install this extension via the ComfyUI Manager by searching for ComfyUI-HY-Motion1
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-HY-Motion1 in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

HY-Motion Preview Description

HYMotionPreview provides real-time 3D motion previews with playback and GLB export using Three.js.

HY-Motion Preview:

The HYMotionPreview node is designed to provide an interactive 3D motion preview using Three.js, a popular JavaScript library for 3D graphics. This node allows you to visualize motion data in a dynamic and engaging way, offering playback controls and the ability to export animations in the GLB format, which includes skeleton animation. The primary goal of this node is to facilitate the examination and refinement of motion data by providing a real-time preview environment. This capability is particularly beneficial for AI artists and developers who need to assess the quality and accuracy of motion sequences before finalizing their projects. By leveraging the power of Three.js, the HYMotionPreview node ensures that you can interact with and manipulate motion data efficiently, enhancing your workflow and creative process.

HY-Motion Preview Input Parameters:

motion_data

The motion_data parameter is a required input that represents the motion data you wish to preview. This data is expected to be in the HYMOTION_DATA format, which typically includes information such as quaternions, translations, number of frames, number of joints, frames per second (fps), and additional descriptive text. This parameter is crucial as it forms the basis of the 3D motion preview, allowing the node to render the motion sequence accurately.

sample_index

The sample_index parameter is an optional integer input that allows you to specify which sample of the motion data to preview. It has a default value of 0, with a minimum value of 0 and a maximum value of 3. This parameter is useful when you have multiple samples of motion data and want to preview a specific one. By adjusting the sample_index, you can quickly switch between different motion samples to compare and analyze them within the preview environment.

HY-Motion Preview Output Parameters:

motion_data

The motion_data output parameter returns a string representation of the motion data that has been processed and prepared for preview. This output is essential as it encapsulates the motion sequence in a format that can be rendered by the 3D preview environment. The output data includes all necessary components, such as quaternions, translations, and metadata, ensuring that the preview accurately reflects the intended motion sequence.

HY-Motion Preview Usage Tips:

  • To optimize the performance of the HYMotionPreview node, ensure that your motion data is well-structured and free of errors. This will help the node render the preview smoothly and accurately.
  • Experiment with different sample_index values to quickly compare various motion samples. This can be particularly useful when working with multiple iterations of motion data, allowing you to identify the best version for your project.

HY-Motion Preview Common Errors and Solutions:

Invalid motion_data format

  • Explanation: This error occurs when the input motion_data does not conform to the expected HYMOTION_DATA format, which may result from missing or incorrectly structured data.
  • Solution: Verify that your motion data includes all necessary components, such as quaternions, translations, and metadata, and ensure it is correctly formatted before inputting it into the node.

Sample index out of range

  • Explanation: This error arises when the sample_index value exceeds the available range of motion samples, which can happen if you input a value greater than the maximum allowed index.
  • Solution: Check the number of available motion samples and adjust the sample_index to fall within the valid range, ensuring it does not exceed the maximum index of 3.

HY-Motion Preview Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-HY-Motion1
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

HY-Motion Preview