rexrainbow
Ok so I tweaked the code to use the new plugin. Works great.
My only problem now is that I seem to have limited control over the shape of each group of nodes.
Is there another plugin I could use to create a pattern of nodes at x,y location with a max width and max height from the original location? My plan is to use the perlin noise plugin to determine a node location, but then use something else to create a random filled pattern (i.e. no space between sprites which are 32 x 32 px). Currently the best I can get with the noise plugin is an oval of say +-30 spawned sprites in a 3200 x 3200 pixel area (or 100 x 100 grid) due to the scale I have to change the perlin noise to in order to get small groups of sprites. It doesn't lend to an interesting shape and very difficult to control how far about each group of nodes spawn. I am hoping by using a combination of perlin and something else I can create something more interesting to look at (ultimately using three inputs 1. Number of nodes to spawn, 2. Max width from original x,y, 3. Max height from original x,y. I was thinking about using an array to loop through a grid of random width and random height perhaps using "0" for no fill "1" to spawn sprite. The problem I am having is how to ensure everything is filled in the middle.
The end result would be something like (below). Maybe it is not possible to generate something natural looking on the fly without perlin as shown below. Let me know your thoughts. Much appreciated. I realize this may be asking too much, if I can be pointed in the right direction I will do my best to do most of the leg work.
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 1 0 0 1 1 1 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Update 1: I found someone talking about using a mask over perlin noise to create a border of "water" or in my case, nothing, around the edge of the perlin noise. Maybe this is the way to go to create patterns of sprites within a specific region.