Forum Replies Created

  • Sam Wycombe

    October 8, 2020 at 5:24 am in reply to: Remapping Angles to Control Position

    So, this worked:

    if (a>0 && a<90) {
    linear(a,0,90,0,-x);
    } else if (a>90 && a<180) {
    linear(a,90,180,-x,0);
    } else if (a>180 && a<270) {
    linear(a,180,270,0,x);
    } else if (a>270 && a<360) {
    linear(a,270,360,x,0);
    }

    Obviously a java thing I missed…

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