0.0.5 • Published 9 months ago

dynavatar v0.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

Dynavatar - Dynamic Avatar Generator

It is drawing a random image based on the seed

Example:

import { drawDynavatar,DEFAULT_SHADER_SETTINGS} from 'dynavatar'

const canvas = document.getElementById('canvas') as HTMLCanvasElement
const random = new Float32Array()

random[0] = Math.random()
random[1] = Math.random()
random[2] = Math.random()
random[3] = Math.random()

drawDynavatar(
  random,
  canvas,
  canvas.width,
  canvas.height,
  DEFAULT_SHADER_SETTINGS
)
0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago