Forum Replies Created

  • Sam Isfat

    October 19, 2020 at 11:30 am in reply to: Scaling according to Position

    yeah,it worked..thank you so much
    This is how achived it:

    wm = 100;

    wf = 496;

    R = wf/Math.SQRT2;

    center = [540.7397,627];

    r = length(position,center);

    wa=wf+((r/R)*(wm-wf));

    ws = linear(r,0,R,wa,wm);

    [ws,ws]

  • Sam Isfat

    October 19, 2020 at 6:26 am in reply to: Scaling according to Position

    I tried it like “center = [100,300];” this. But then the whole code is not working.

  • Sam Isfat

    October 19, 2020 at 6:22 am in reply to: Scaling according to Position

    Thanks, it’s almost working but what if I don’t want the center value as the center of the composition. I want it something like [200,300] as I declare. Do you have any idea how to do that?

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