Skip to content

dira/monsterid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Ruby port of monsterid.

Usage

Shell:

$ gem install monster_id

Code:

require 'monster_id'

# MonsterId.generate(seed, optional_size)


MonsterId.generate('random_seed').save('monster.png') # new file!

uri = MonsterId.generate('a_seed', 20).to_data_uri # paste it in the browser!

raw_png = MonsterId.generate('your_seed').to_s # use this one if you want to process the png

lovely eyes angry pointy ;)

License

License: CC BY 3.0

About

A Ruby port of the PHP MonsterId script.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages