Forum Replies Created

Page 3 of 24
  • Scott Mcgee

    May 21, 2020 at 7:27 am in reply to: Altering hex color codes with an expression

    So your bottom lines is simply using the array from HSL and converting into RGB. So your first array is hue, second saturation and 3rd lightness.

    Hope this helps. Just remember if you are going to use a slider to control these, to divide them by the maximum value these elements that they can go up to and you’ll be able to adjust these using sliders.

    c = effect(“Color Control”)(“Color”)

    lite = .25; // lightness factor
    sat = 1; // Saturation factor
    hue = .25; // hue factor

    hsl = rgbToHsl(c);
    hslToRgb([hsl[0]*hue,hsl[1]*sat,hsl[2]*lite,hsl[3]])

  • Scott Mcgee

    May 20, 2020 at 8:05 am in reply to: Altering hex color codes with an expression

    I don’t know how to affect hex colour, but you can do it using RGB

    https://forums.creativecow.net/docs/forums/post.php?forumid=227&postid=30524&univpostid=30524&pview=t

    essentially if you put this into you color fill

    c = effect(“Color Control”)(“Color”)
    f = .25; // lightness factor
    hsl = rgbToHsl(c);
    hslToRgb([hsl[0],hsl[1],hsl[2]*f,hsl[3]])

    and c = your main color and then change the f value, to change the lightness. So when you change the color fill of your main value. It’s lighten or darken the values of all the others.

  • Scott Mcgee

    May 13, 2020 at 8:01 am in reply to: How to use length in if statement

    I’m not sure what you are trying to do with the lookAt, as I’ve never used it before. But it works fine in text source.

    target=thisComp.layer(“circle”);
    s = sub(target.transform.position,transform.position);
    if(length(s)>=100){
    lookAt(target.transform.position,transform.position);
    }

  • https://www.seventy75five.com/public/misc/multicopy.jsx

    It copies and pastes to the same layer. But if you tweak it. This should do the trick.

  • Scott Mcgee

    April 15, 2020 at 8:02 am in reply to: Trying to make a simple .mogrt …

    I’m not sure what you are trying to achieve, but…If you are trying to alter the starting point of the opacity. They you want to play with time as an expression. So the below allows you to define start time and it will animate over 1 second from 0-100.

    t = thisComp.layer(“White Solid 3”).effect(“Slider Control”)(“Slider”);
    linear(time,t,t + 1,0,100);

  • Scott Mcgee

    April 15, 2020 at 7:45 am in reply to: How can I access mask properties in Scripting?

    This link has everything you really need to find and move vertices in extend script.

    https://omino.com/pixelblog/2008/12/25/ae-mask-vertices-from-extendscript/

    hope this helps look for what you’re after.

  • Scott Mcgee

    April 14, 2020 at 2:28 pm in reply to: Link position to scale expression ?

    Just seen Andrei has answered you, hahaha. So ignore me.

  • Scott Mcgee

    April 14, 2020 at 2:28 pm in reply to: Link position to scale expression ?

    This is kind of what you want. I don’t have anything that caps it at a percentage, but hopefully it’ll get you started.

    posTwo = thisComp.layer("Shape Layer 2").transform.position.key(1).value[1];
    currentPos = thisComp.layer("Shape Layer 2").transform.position[1];

    x = transform.scale[0] - (100 - (currentPos/posTwo)*100);
    y = transform.scale[1];
    [x,y]

  • I can’t figure a way in csv, unless someone can jump in but it you label your number as string in Json.

    example

    {
    “Number”: 1000000,
    “Text”: “10000000”
    }

    So Number returns back 32768, but Text returns 1000000, but as a string. So if you are wanting it to work as a number you just need to do the below method to create it into an integer. Or just leave be as it’ll work as a string.

    parseInt(thisComp.layer(“test.json”)(“Data”)(“Outline”)(“Text”))

  • Hey Thiery

    I’m a little confused. Why do you want to turn your video/footage item into a placeholder, then turn it into a proxy sequence?

    Am I missing something?

    A proxy has to be replaced with a file that you want to use as a proxy. Otherwise it’s a placeholder. There for, if you’re wanting to replace with a proxy file. Then you need to point it to a file that it replaces itself with.

    So when I’m working with 4k. I’ll have my lowRes proxies that I’ll mirror and use that folder until I export and replace them all back with the 4k HiRes versions. If that’s the case. Skip out the middle man of the placeholder and tell it to turn all your video files based on location and to match name for name and replace all as proxy if that makes sense.

Page 3 of 24

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