Return-Path: Received: from mo-p00-ob.rzone.de ([81.169.146.160] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP id 5325631 for AE-List@media-motion.tv; Sat, 21 Dec 2013 12:58:10 +0100 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1387627273; l=3876; s=domk; d=mamoworld.com; h=Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=B5gnAcRBgzZckO62O8DReNHz3EA=; b=poNRY8im87S8qIHIdbD8zSbTjGB49NzTYCX+rh21U6Dlm17+g0tv7OfJfOa2bdSom5E YQVVXfgCTT/KPz/Fq+24ZfdinUsr+3IbtM9gvv/F1cLCgi80bDpQ/sl9Cl7P6BqHWa7nR 7LchrcoSKgkRWy6/kem1lwWwTLPMG9lqaj4= X-RZG-AUTH: :JWICemClevKDgu8HjcNJMjRl593UXLPRxATGwvl0czvlKPnWLqh5o2mveD0KXw== X-RZG-CLASS-ID: mo00 Received: from [192.168.14.25] (p5B3ED15E.dip0.t-ipconnect.de [91.62.209.94]) by smtp.strato.de (RZmta 32.17 DYNA|AUTH) with (TLSv1:DHE-RSA-AES256-SHA encrypted) ESMTPSA id Z03042pBLC1CCF2 for ; Sat, 21 Dec 2013 13:01:12 +0100 (CET) Message-ID: <52B5830B.3010400@mamoworld.com> Date: Sat, 21 Dec 2013 13:01:15 +0100 From: =?ISO-8859-1?Q?Mathias_M=F6hl?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: After Effects Mail List Subject: Re: [AE] Random position inside mask References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------090504010804000500090705" This is a multi-part message in MIME format. --------------090504010804000500090705 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Hi Chris, the expression you describe is implemented in this iExpression - with a few advanced controls: http://mamoworld.com/after-effects-expression/distribute-2d-random Yes, it can become slow, but if you just need one keyframe, just set the workarea to a single frame and use iExpressions "bake" function to convert the live expressions in a single keyframe. Cheers, Mathias Am 19.12.2013 01:33, schrieb Chris Zwar: > I'm looking for a way to randomly position a bunch of layers inside any given shape. The shape could be either an image or a mask. > > Does anyone know of a script that can do this that's already around? > > I can do it with expressions but the only way I can think of is to use a loop, and check the source layer using the 'sampleImage' function and keep looping random values until one works. This will be a very slow process? > > Doing it with a script may be just as slow but a lot easier to work with as it only needs to be run once. > > Any other suggestions? > > > > +---End of message---+ > To unsubscribe send any message to -- ------------------------------------------------------------------------ *mamoworld.com* simplify your cgi dr. mathias möhl marlow 52, 18551 sagard, germany phone +49 (0)38302 - 887561 info@mamoworld.com --------------090504010804000500090705 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Hi Chris,

the expression you describe is implemented in this iExpression - with a few advanced controls:
http://mamoworld.com/after-effects-expression/distribute-2d-random

Yes, it can become slow, but if you just need one keyframe, just set the workarea to a single frame and use iExpressions "bake" function to convert the live expressions in a single keyframe.

Cheers,
Mathias

Am 19.12.2013 01:33, schrieb Chris Zwar:
I'm looking for a way to randomly position a bunch of layers inside any given shape.  The shape could be either an image or a mask.

Does anyone know of a script that can do this that's already around?

I can do it with expressions but the only way I can think of is to use a loop, and check the source layer using the 'sampleImage' function and keep looping random values until one works.  This will be a very slow process?

Doing it with a script may be just as slow but a lot easier to work with as it only needs to be run once.

Any other suggestions?



+---End of message---+
To unsubscribe send any message to <ae-list-off@media-motion.tv>


--

mamoworld.com
simplify your cgi

dr. mathias möhl
marlow 52, 18551 sagard, germany
phone +49 (0)38302 - 887561
info@mamoworld.com

--------------090504010804000500090705--