Skip to content

Montoya/polycon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

polycon

An identicon generator in the style of the MetaMask brand system.

Usage

// makes a square of size 100 
const jazzicon = require('polycon')
const el = generatePolycon('0x4EBee6bA2771C19aDf9AF348985bCf06d3270d42')
document.body.appendChild(el)

// makes a circle of size 250
const jazzicon = require('polycon')
const el = generatePolycon('0x4EBee6bA2771C19aDf9AF348985bCf06d3270d42', 250, true)
document.body.appendChild(el)

About

An identicon generator in the style of the MetaMask brand system

Topics

Resources

Stars

Watchers

Forks