Randomizing components
-
Is it possible to make a dynamic component (or maybe a ruby script) that randomly changes between a number of predefined shapes when I make copies of it. For instance I could have 5 different kinds of trees baked into the same component, and when when I make 20 copies of this component I would like each of them to randomly assign one of the tree-shapes from 1-5. This would be awfully handy.
Thanks.
-
@catsmeat said:
Is it possible to make a dynamic component (or maybe a ruby script) that randomly changes between a number of predefined shapes when I make copies of it. For instance I could have 5 different kinds of trees baked into the same component, and when when I make 20 copies of this component I would like each of them to randomly assign one of the tree-shapes from 1-5. This would be awfully handy.
Thanks.
Sounds like you want Component Spray: http://forums.sketchucation.com/viewtopic.php?f=180&t=11746
-
Hi Thom... beat me...
That would be Didier's Component spray tool (but you are underestimating its capabilities with your too modest wish)
http://forums.sketchucation.com/viewtopic.php?f=180&t=11746 -
Thanks for the quick replys guys! I'll check that spray tool out right away.
Advertisement