1.0.1 • Published 2 years ago

metagon v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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

ParameterTypeDescription
scorenumberRequired. The ethrank.io score of the user (0-1000+)
seednumberRequired. A random number from 0-1
bgColorstringA background color to override the one imposed by score
infinitebooleanKeep drawing, even past the draw limit imposed by score (default: false)
animatedbooleanAnimate 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.

1.0.1

2 years ago

1.0.0

2 years ago

0.9.0

2 years ago

0.8.0

2 years ago

0.7.0

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago