Yes, this is all correct but I just wanted to expand on 1 and 2.
On Nov 4, 2007, at 8:22 AM, Christopher Wright wrote:
1 > Let's say I have a sprite moving around using two random
nodes, one for X and one for Y, possibly also one for Z but I doubt
it. I would like to orient the sprite to the direction it
travels. In other words, can I have something with a 'front' move
'forwards'?
if you have its location (x,y,z) and its direction (dx, dy, dz), you
can set the rotation using some trig (which is beyond the scope of
this reply)
There is a new Integrator patch which should give you dx, dy, an
dAnything
2 > Creating trails that fade. Is this possible? I thought it
may be if I used the Replicate in Time patch, but can't seem to get
it working. Imagine a sprite moving around, I'd like to be able to
set a length and have a tail emit to that length.
Not sure about replicate in time, but you could make a javascript
array (queue, actually) that you feed in current points. It'd be
big and ugly, but it would work.
Check out an example using the Queue patch in /Developer/Examples/
Quartz Composer/Compositions/Conceptual/Queue - Mouse Trails.qtz
3 > Enabling with Audio. I'd like to have sprites turn on
(Enable) when a certain input level on the audio input node is
achieved. I can't figure this one out, I've tried everything I can
think of with ranges, multiplexer etc. No joy.
again, javascript may be your friend. if (audiolevel >
some_threshold) enabled = 1;
4 > Gravity, or attraction. Is this in any way possible, even as
a fake? Let's say I have some sprites, I want them to slowly move
together over time. Or have some sprites move toward something
else, I'm not fussed what. Basically, can one thing attract another?
This would also have to be simulated with JS, or possibly the math/
math expression patches.
5 > Hold and move. Imagine a sprite, it moves to a random point
slowly, then pauses for 2-3 seconds, then moves to another random
point, this continues. I can get it all working, but can't get the
pause/hold part working.
Once again, JS :) combind with a stopwatch or sstem time, arbitrary
delays are entirely possible.
feel free to pm me if you want some clarification/examples.
--
[ christopher wright ]
[EMAIL PROTECTED]
http://softpixel.com/~cwright/
_______________________________________________
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/tkoelling%40apple.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
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]