Tuesday, December 18, 2012

Combat Sim Randomizer and Generators for artists

Sometimes I get stuck and frustrated, I don't know what topic to choose for painting or sketching. To resolve that problem, I find generators to be an useful thing, here are some of them:

City generator
Character generator
Lots of various generators

So here is very simple script that gives you 3 random numbers according to Autodestruct's Combat Sim 1 Virtual Art Director (read his very very cool article about concepting!). Just open it in a browser and press "refresh" to change numbers. Hope it helps))

Dowload file

If you don't want to download , just make .html  file and paste the text below:

<div id="containerID"></div>
<script type="text/javascript">
// Set max values:
maxValues = [20, 35, 42];
var div = document.getElementById("containerID");
var output = "";
var randomValue;
for(var i = 0; i < maxValues.length; i++)
randomValue = Math.floor((Math.random() * maxValues[i]) + 1);
output = output + randomValue;
output = output + "<br />";
div.innerHTML = output;

No comments:

Post a Comment