npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

bvh-compress

v1.0.5

Published

> BVH文件的全称是“Biovision Hierarchy Animation File”,是一种三维动画文件格式。它通常用于在计算机图形学和动画领域中存储由骨骼动画组成的序列帧数据,包括人物、动物和机器人等。具体而言,BVH文件以层次结构的形式描述了人体或物体的运动轨迹,用于创建现实动态场景,比如电视、电影和游戏等。BVH文件一般由动态捕捉设备产生,并且可以被多种3D建模软件解析和编辑。

Downloads

8

Readme

BVH文件压缩工具 - BVH File Compression Tool

BVH文件的全称是“Biovision Hierarchy Animation File”,是一种三维动画文件格式。它通常用于在计算机图形学和动画领域中存储由骨骼动画组成的序列帧数据,包括人物、动物和机器人等。具体而言,BVH文件以层次结构的形式描述了人体或物体的运动轨迹,用于创建现实动态场景,比如电视、电影和游戏等。BVH文件一般由动态捕捉设备产生,并且可以被多种3D建模软件解析和编辑。

A BVH file, short for "Biovision Hierarchy Animation File," is a type of 3D animation file format typically used for storing sequences of skeletal animation data in computer graphics and animation fields, including human, animal, and robot subjects. Specifically, the BVH file describes the motion trajectories of a human body or an object in a hierarchical structure, used to create realistic dynamic scenes such as TV, movies, and games. BVH files are generally generated by motion capture devices and can be parsed and edited by various 3D modeling software.

基于Node.js,通过抽取BVH文件内帧数据的方式进行简单压缩,可以设定压缩后的质量。

Based on Node.js, this tool uses frame data extraction to achieve simple compression of BVH files. Quality after compression can be set.

安装后可以简单用一行命令执行压缩。

After installation, you can simply execute the compression with a single command line.

安装 Install

npm i -g bvh-compress

使用 Usage

bvn-compress [sourceFile] [quality] [destFile]

bvn-compress motion.bvh 0.8 new.bvh

bvn-compress motion.bvh (default quality: 0.5) (default destFile: out.bvh)