0.1.7 • Published 9 years ago
unique-wallpaper v0.1.7
unique-wallpaper
The aim of this project is to generate 'procedural' distinct wallpaper like graphics.
It takes a seed (integer) and recursively uses a pseudo-random number generator to construct an svg image.
usage
var uniqueLib = require("unique"); // load the library
var unique = uniqueLib({}); // initalise with defaults
var image = unique.start( 500 /* key value */)
.size(argv.key,argv.width||800,argv.height||600) // optional size
var xml = image.writeXML( true /* pretty */ ); // generate xml into a string
tests
Using node.js run:
node test/cli.js --key 54
to generate the image with the key 54
as out.svg
.
For testing/batch use tun:
node test/cli.js --count 500
to generate 500 images in a directory named out
.
0.1.7
9 years ago
0.1.6
9 years ago
0.1.5
9 years ago
0.1.4
9 years ago
0.1.3
9 years ago
0.1.2
9 years ago
0.1.1
9 years ago
0.1.0
10 years ago
0.0.10
10 years ago
0.0.9
10 years ago
0.0.8
10 years ago
0.0.7
10 years ago
0.0.6
10 years ago
0.0.5
10 years ago
0.0.4
10 years ago
0.0.3
10 years ago
0.0.2
10 years ago
0.0.0
10 years ago