
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Skin3d is a lightweight JS library that renders any Minecraft skin as a smooth, interactive 3D model you can drop straight into a webpage.
Skin3d is a JavaScript library for displaying and animating Minecraft player models in the browser. It supports rendering skins, capes, elytras, and ears, and provides a simple API for customizing animations, camera controls, and backgrounds.
✨ Recently refactored with improved modularity, better documentation, and dependency cleanup. See Migration Guide for details.
Skin3d is a JavaScript library for embedding interactive Minecraft player models in web applications. It supports HD skins, capes, elytras, ears, and name tags, along with built-in animations. You can customize camera controls, lighting, backgrounds, and extend functionality with your own features.
Built with: Three.js + TypeScript
Install via npm:
npm i skin3d
<div id="skin_view_container"></div>
import { Render, WalkingAnimation } from 'skin3d';
const viewer = new Render({
canvas: document.getElementById("skin_view_container"),
width: 400,
height: 600,
skin: "img/skin.png"
});
viewer.autoRotate = true;
viewer.animation = new WalkingAnimation();
Note: The main class is now Render (previously View in v0.0.10). See Migration Guide for upgrading.
You can load new skins, capes, or ears at any time:
viewer.loadSkin("img/another_skin.png");
viewer.loadCape("img/cape.png");
viewer.loadEars("img/ears.png", { textureType: "standalone" });
viewer.background = "#222244";
viewer.loadPanorama("img/panorama.png");
Change camera and controls:
viewer.fov = 70;
viewer.zoom = 1.2;
viewer.controls.enableRotate = true;
viewer.controls.enableZoom = false;
Add or remove animations:
import { IdleAnimation, WalkingAnimation, RunningAnimation } from 'skin3d';
viewer.animation = new WalkingAnimation();
viewer.animation.speed = 2;
viewer.animation.paused = false;
viewer.animation = null; // Remove animation
See Examples for more usage patterns.
viewer.globalLight.intensity = 1.5;
viewer.cameraLight.intensity = 0.3;
import { NameTagObject } from 'skin3d';
viewer.nameTag = "Steve";
viewer.nameTag = new NameTagObject("Alex", {
scale: 1.5,
textStyle: { fillStyle: "#FFD700" }
});
viewer.width = window.innerWidth;
viewer.height = window.innerHeight;
window.addEventListener('resize', () => {
viewer.width = window.innerWidth;
viewer.height = window.innerHeight;
});
See Advanced Usage for more features and optimization tips.
To display name tags in Minecraft style, add this to your CSS:
@font-face {
font-family: 'Minecraft';
src: url('/path/to/minecraft.woff2') format('woff2');
}
Comprehensive documentation is available in the DOCS directory:
View → Render for claritysrc/Render.ts - Core rendering engine (replaces legacy skin3d.ts)src/Model.ts - Player model and mesh managementsrc/Animation.ts - Animation systemsrc/Nametag.ts - Name tag renderingsrc/index.ts - Main entry pointThe main class View has been renamed to Render:
// Old
import { View } from 'skin3d';
const viewer = new View({ ... });
// New
import { Render } from 'skin3d';
const viewer = new Render({ ... });
See Migration Guide for complete upgrade instructions.
src/Render.ts – Main rendering enginesrc/Model.ts – Player model and mesh componentssrc/Animation.ts – Animation systemsrc/Nametag.ts – Name tag renderingsrc/index.ts – Public API exportsDOCS/ – Comprehensive documentationskin3d is released under the MIT License.
FAQs
Skin3d is a lightweight JS library that renders any Minecraft skin as a smooth, interactive 3D model you can drop straight into a webpage.
We found that skin3d demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.