Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules/
dist/
21 changes: 7 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# Jazzicon
## Jazzy Identicons

[Live Example](http://requirebin.com/?gist=64341df46d79cc72567417c022e9d0ee)
# Jazzy Identicons (jazzicon)

Say goodbye to boring blocky identicons that look like they came out of the 70s, and replace them with jazzy, colorful collages that more likely came out of the 80's.

Expand All @@ -17,16 +14,12 @@ npm install jazzicon -S

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

```javascript
var jazzicon = require('jazzicon')
```typescript
import jazzicon from 'jazzicon'

const body = document.querySelector('body')

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

## Example

You can run an example by installing beefy (`npm i -g beefy`) and then running `npm run sample`.
10 changes: 0 additions & 10 deletions addressGen.js

This file was deleted.

12 changes: 0 additions & 12 deletions colors.js

This file was deleted.

78 changes: 0 additions & 78 deletions index.js

This file was deleted.

Loading