Project

monster_id

0.01
No commit activity in last 3 years
No release in over 3 years
A Ruby port of the MonsterID PHP script, using ChunkyPNG. http://www.splitbrain.org/projects/monsterid
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

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