Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Tackled Z space depth placing, now adding curves?

  • Tackled Z space depth placing, now adding curves?

    Posted by Marc Thomas on August 24, 2006 at 4:02 pm

    Thanks for th tips earlier guys! (See “Expression for duplicating Layer, each positioned further in Z space” down post)
    I’ve got another one for ya:
    in addition to placing layers back in Z space, I’d also like to have them shift first to the right, then back to the left, then back to the right in a smooth s-like shape or pattern.
    Example (in 2-d)
    L
    L
    L
    L
    L
    L
    L
    L
    L
    L
    L
    Etc.

    It would be a huge bonus to be able to control the distance of each layers relative placement, perhaps the depth of the curve. What do you think?
    Any takers?
    Cheers,
    Marc

    Mylenium replied 19 years, 8 months ago 2 Members · 3 Replies
  • 3 Replies
  • Mylenium

    August 24, 2006 at 4:05 pm

    Use Math.sin and Math.cos to describe your circles and curves. Tie them e.g. to the X position and feed them with the values from your Z placement.

    Mylenium

    [Pour Myl

  • Marc Thomas

    August 24, 2006 at 4:31 pm

    [Mylenium] “Use Math.sin and Math.cos to describe your circles and curves. Tie them e.g. to the X position and feed them with the values from your Z placement.

    Mylenium”

    Any examples?

  • Mylenium

    August 24, 2006 at 5:58 pm

    spazing=200;
    offset=200;

    Z=index*spacing;
    X=Math.sin(degreesToRadians(Z))*offset;
    Y=position[1];

    [X,Y,Z]

    A simple sinusoidal wave.

    Mylenium

    [Pour Myl

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy