metagon

1.0.1 • Public • Published

METAGON JS

Embed beautiful METAGONS into your react application.

Installation

Install metagon with npm

  npm i metagon

Or

  yarn add metagon

Usage

import Metagon from 'metagon'

function App() {
  return <Metagon score={420} seed={0.43231122} />
}

View more examples on Stackblitz.

Props

Parameter Type Description
score number Required. The ethrank.io score of the user (0-1000+)
seed number Required. A random number from 0-1
bgColor string A background color to override the one imposed by score
infinite boolean Keep drawing, even past the draw limit imposed by score (default: false)
animated boolean Animate or render a still image (default: true)

Credit & License

Developed by Examp. Original copyright to Matei Copot. Per the author's copyright, you are free to use this code for any lawful purpose, however, attribution must be given to the original author, Matei Copot.

Readme

Keywords

Package Sidebar

Install

npm i metagon

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

39.2 kB

Total Files

4

Last publish

Collaborators

  • blankey1337