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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement