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 🙏

© 2026 – Pkg Stats / Ryan Hefner

supermaker-ai-pose-generator

v1770199.903.60

Published

Professional integration for https://supermaker.ai/blog/unlock-perfect-poses-the-ultimate-guide-to-ai-pose-generators/

Downloads

82

Readme

supermaker-ai-pose-generator

A JavaScript library to generate pose data for AI models, simplifying human pose estimation and skeleton creation. Ideal for applications ranging from animation to interactive installations.

Installation

Install the package using npm: bash npm install supermaker-ai-pose-generator

Usage Examples

Here are a few examples demonstrating how to use supermaker-ai-pose-generator:

1. Basic Pose Generation: javascript const poseGenerator = require('supermaker-ai-pose-generator');

const pose = poseGenerator.generatePose(); // Generates a random pose. console.log(pose); // Output (example): // { // leftShoulder: { x: 0.3, y: 0.6 }, // rightShoulder: { x: 0.7, y: 0.6 }, // leftElbow: { x: 0.2, y: 0.8 }, // rightElbow: { x: 0.8, y: 0.8 }, // // ... other body parts // }

2. Customizing Pose Generation: javascript const poseGenerator = require('supermaker-ai-pose-generator');

const customPose = poseGenerator.generatePose({ upperBodyOnly: true, // Generate only upper body keypoints randomness: 0.2 // Adjust the randomness of the pose });

console.log(customPose); // Output (example): // { // leftShoulder: { x: 0.35, y: 0.55 }, // rightShoulder: { x: 0.65, y: 0.55 }, // leftElbow: { x: 0.25, y: 0.75 }, // rightElbow: { x: 0.75, y: 0.75 }, // // ... other upper body parts // }

3. Integrating with an Animation Library (Conceptual): javascript const poseGenerator = require('supermaker-ai-pose-generator'); // Assuming you have an animation library loaded (e.g., Three.js)

function updateCharacterPose(character) { const pose = poseGenerator.generatePose();

// Example: Update the character's shoulder positions based on the pose data character.leftShoulder.position.x = pose.leftShoulder.x; character.leftShoulder.position.y = pose.leftShoulder.y; character.rightShoulder.position.x = pose.rightShoulder.x; character.rightShoulder.position.y = pose.rightShoulder.y;

// ... Update other body parts similarly }

// Call this function periodically to animate the character // setInterval(() => updateCharacterPose(myCharacter), 100);

4. Generating Multiple Poses: javascript const poseGenerator = require('supermaker-ai-pose-generator');

const numberOfPoses = 5; const poses = [];

for (let i = 0; i < numberOfPoses; i++) { poses.push(poseGenerator.generatePose()); }

console.log(poses); // Array containing 5 randomly generated poses

5. Using with Node.js: javascript // index.js const poseGenerator = require('supermaker-ai-pose-generator');

const pose = poseGenerator.generatePose(); console.log(JSON.stringify(pose, null, 2));

// Run in terminal: node index.js

API Summary

  • generatePose(options?: object): object: Generates a pose object containing keypoint data.

    • options: (Optional) An object to customize pose generation.
      • upperBodyOnly: boolean (default: false). If true, generates only upper body keypoints.
      • randomness: number (default: 0.1). A value between 0 and 1 controlling the degree of randomness in pose generation. Higher values result in more varied poses.
      • keypoints: string[] (default: All keypoints). An array of keypoint names to include in the generated pose.

License

MIT

This package is part of the supermaker-ai-pose-generator ecosystem. For advanced features and enterprise-grade tools, visit: https://supermaker.ai/blog/unlock-perfect-poses-the-ultimate-guide-to-ai-pose-generators/