@smilo-platform/smiloicon
Idonticons in a new colorscheme. Forked from danfinlay/jazzicon
Last updated 2 years ago by mathynb .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @smilo-platform/smiloicon 
SYNC missed versions from official npm registry.

SmiloIcon

Identicons

Live Example

Say goodbye to boring blocky identicons that look like they came out of the 70s, and replace them with colorful collages that more likely came out of the 80's. Colors are inspired on the Smilo website, logo and more.

example

Installation

npm install smiloicon -S

Usage

Takes a pixel diameter and a javascript integer (seeds the shape), and gives you back a DOM element to use as you wish!

var smiloicon = require('smiloicon')

var body = document.querySelector('body')
for(var i = 0; i < 60; i++) {
  var el = smiloicon(100, Math.round(Math.random() * 10000000))
  body.appendChild(el)
}

Example

You can run an example by installing beefy (npm i beefy brwoserify) and then running npm run start.

Example

Credits to Dan Finlay for setting up Jazz Icons.

Current Tags

  • 2.0.0                                ...           latest (2 years ago)

1 Versions

  • 2.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |