Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lemaik/visage-elements

Polymer elements for Visage, an avatar service for Minecraft.
https://github.com/lemaik/visage-elements

Last synced: 2 days ago
JSON representation

Polymer elements for Visage, an avatar service for Minecraft.

Awesome Lists containing this project

README

        

visage-elements
===============

[Visage][visage] is an open-source avatar service for Minecraft. It provides
2D and 3D images of a player's head or body.

This library includes three [Polymer][polymer] elements to simplify their
usage. See the demo [here][gh-pages].

Examples:

```html

```

The `visage-head` and `visage-body` elements both have a `size` attribute to control their size. For the body, it controls the height, the width will be set accordingly.

The type of the head and the body can be modified using the `type` attriute. `visage-head` supports `2d` for a two-dimensional face and `3d` for a 3D image of the head. `visage-body` supports `full` to get an image of the entire body and `bust` to only get the bust of the player.

Instead of using UUIDs (which is the recommended way) you may also use player names to get skins using the `name` attribute that all three elements offer.

[visage]:http://visage.surgeplay.com/
[polymer]:https://www.polymer-project.org/
[gh-pages]:http://lemaik.github.io/visage-elements/