Automatically generate dinosaur images.
"You crazy son of a bitch, you did it!", try the demo
Given input text Renders an image of a dinosaur to an html canvas
element.
The dinosaur is generated using the md5 hash of the input text.
input text -> md5 hash -> BINGO DINO DNA!
Autosaurus is licensed under the Apache License, Version 2.0. See $REPO/LICENSE.txt for more information.
In a web page
# Create an autosaurus
var autosaurus = new Autosaurus();
# Grab some canvas element
var canvas = document.getElementById('myCanvas');
# Pass the autosaurus a canvas to draw to and some text to generate an image
# from.
autosaurus.draw(canvas, 'Any text you like');
npm install
bower install
grunt