Warning

 

Close
Confirm Action

Are you sure you wish to do this?

Cancel Confirm
AR15.COM
7/12/2010 10:06:07 AM EDT
I know that there are some random number generators on the internet, is there any suck thing as a random pattern generator? I am looking for something that I can define a set number of items in a grid pattern and then randomize it.

Ex:

XXOXOOXOXOOXXXOOOXXOXOOXOX
OXOXOOXOXXOXOXXOOXOOXXXOOX
XOXXOOXXXOOOOOXXOOXOXOOXXO



Does anyone know of one short of marking out the locations and then flipping a coin. For reference this is for flower layouts for commercial landscaping, whenever I try to do random I end up making patterns or it doesn't really appear random. I am looking to input the number of row by number of plants in a row and then randomize 1-4 color choices.

Thanks
7/12/2010 10:12:06 AM EDT
[#1]
Just do it in Excel.  There is a function for random numbers between two values.  Assign each number a color (1=red, 2=blue, etc.)  

=RANDBETWEEN(1,N)

N = the number of colors you want to use
7/13/2010 4:29:46 AM EDT
[#2]
Always thought of doing an encryption program for .jpg's and the like.

But.....just to randomize an X time Y grid? Any half decent C programmer should be able to do that.
_______________________________________________
(After being told he has found the madness cure with a blend that deadens nerve endings. "Any decent brand of scotch will do that!"––Scotty replying to McCoy, (w,stte), ST:TOS "The Tholian Web")
7/13/2010 1:30:35 PM EDT
[#3]
Thanks guys.