Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

skinview3d

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skinview3d - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

build/skinview3d.babel.js

3

package.json
{
"name": "skinview3d",
"version": "1.0.0",
"version": "1.0.1",
"description": "Three.js powered Minecraft skin viewer",

@@ -9,2 +9,3 @@ "main": "src/skinview3d.js",

"build-babel": "./node_modules/.bin/rollup -c rollup.config.babel.js",
"prepare": "rm -rf build && npm run build && npm run build-babel",
"test": "echo \"Error: no test specified\" && exit 1"

@@ -11,0 +12,0 @@ },

@@ -1,2 +0,7 @@

# skinview3d
skinview3d
========
[![Latest NPM release][npm-badge]][npm-badge-url]
[![License][license-badge]][license-badge-url]
Three.js powered Minecraft skin viewer.

@@ -10,2 +15,38 @@

# Usage
```html
<div id="skin_container"></div>
<script>
let skinViewer = new skinview3d.SkinViewer({
domElement: document.getElementById("skin_container"),
slim: true,
width: 600,
height: 600,
skinUrl: "img/skin.png",
capeUrl: "img/cape.png",
animation: skinview3d.WalkAnimation
});
// change the skin and cape
// skinViewer.skinUrl = "img/skin.png";
// skinViewer.capeUrl = "img/cape.png";
// change the width and height
// skinViewer.width = 300;
// skinViewer.height = 400;
// enable the mouse control feature
let control = new skinview3d.SkinControl(skinViewer);
// pause the animation
// skinViewer.animationPaused = true;
// change the animation speed
// skinViewer.animationSpeed = 8;
// disable the 'right click to play/pause' feature
// control.enableAnimationControl = false;
</script>
```
# Build

@@ -16,3 +57,6 @@ `npm run build` Concatenation only.

# License
The repository is licensed under GPL-3.0 License.
[npm-badge]: https://img.shields.io/npm/v/skinview3d.svg
[npm-badge-url]: https://www.npmjs.com/package/skinview3d
[license-badge]: https://img.shields.io/npm/l/skinview3d.svg
[license-badge-url]: ./LICENSE
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc