美文网首页AE初见
AE篇-拿起来就用的AE表达式4

AE篇-拿起来就用的AE表达式4

作者: redBlue_ | 来源:发表于2019-12-22 19:04 被阅读0次
    ae.jpg

    1Math.sin初阶

    //翅膀旋转 左30度 右-30度
    //左
    value+Math.sin(time*30)*15
    //右
    value-Math.sin(time*30)*15
    //转圈 :路径动画
    loopOut("cycle");
    //托尾 修建路径
    loopOut("cycle");
    

    萤火虫(已转换).gif

    2Math.sin高阶

    滑块控制器
    image.png
    //位移
    x = value[0];
    a = thisComp.layer("空 5").effect("滑块控制")("滑块");
    f = thisComp.layer("空 5").effect("滑块控制 2")("滑块");
    t = time-(index-1)*0.2 ;
    y = Math.sin(t*2*Math.PI*f)*a;
    [x,y+630]
    //旋转
    a = thisComp.layer("空 5").effect("滑块控制 3")("滑块")
    f = thisComp.layer("空 5").effect("滑块控制 2")("滑块");
    t = time ;
    y = Math.cos(t*2*Math.PI*f)*a;
    y+90
    

    风筝交迭

    相关文章

      网友评论

        本文标题:AE篇-拿起来就用的AE表达式4

        本文链接:https://www.haomeiwen.com/subject/hivgnctx.html