I tinkered some more and Eureka!  It's alive!!!  mememmuuhahahahaaaa... ahem.

My problem was perlin noise was not selected on the random generators... causing some random numbers outside my set range... hence the sprite would jump.

I also am now using two math formulas for x & y movement.  This creates more of an organic movement... and almost swarm like behavior. Fooling around with the formulas may give better results.

One other problem I've had is... if I try and change the Z coordinates... then I see a square box around the sprite?

Here's the file in case you are interested.  Changing the iteration to 2 is fun.

Attachment: RandomSprite4.qtz
Description: application/quartzcomposer


Stephen Zinn




On Jun 4, 2008, at 3:38 PM, Memo Akten wrote:

Hey Stephen, congrats it looks really good! respect for managing to do it with only noodles! I tried to do mine with only noodles but in the end gave up... I find typing in more complex behaviour a lot easier with normal code - so in the end went with _javascript_ to control everything - and its quite easy to retain values using the Object object. I found that some patches in the iterator patch don't work properly (e.g. the Image Downloader!)

Actually in the end I even scrapped the _javascript_ route and wrote the whole thing as a custom QCPlugIn! (still learning...)


Memo (Mehmet S. Akten)

www.memo.tv

[EMAIL PROTECTED]

On 4 Jun 2008, at 22:12, Stephen Zinn wrote:

Nice job on that!

I think this is the way I would need to go to create some truly random behavior.  I noticed in the one I did, it's not really random, and there are a lot of sharp edges on the sprites movements.

Stephen Zinn
[EMAIL PROTECTED]




On Jun 4, 2008, at 2:16 PM, Memo Akten wrote:

<SpriteArray.qtz.zip>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to