the inevitable is here... accelerometer...

LordTarantorLordTarantor Member, PRO Posts: 890
edited November -1 in Working with GS (Mac)
Hello everybody:
Yes I reached the point where I am going to use accelerometer.
Imagine something that changes color depending on how a tilt the device.
How can I do this with the accelerometer?

Comments

  • LordTarantorLordTarantor Member, PRO Posts: 890
    Oh never mind I got it...
    Make a rule...
    atribute - device - accelerometer - Y > or = to 0
    The Interpolation for color...
    Otherwise
    Here you will put a rule that say
    atribute- device - accelerometer - Y < to 0
    The interpolation for the other color...
    ...yey me...
  • peachpellenpeachpellen Member Posts: 977
    Well done - I couldn't have figured this out on my own in an hour, which it seems you did! :)
  • LordTarantorLordTarantor Member, PRO Posts: 890
    Thanks but I think its the whiskey... After midnight with whiskey a lot of weird stuff happens.
  • ORBZORBZ Member Posts: 1,304
    No rules needed

    Constrain color = (accelerometer + 1) / 2
  • peachpellenpeachpellen Member Posts: 977
    LordTarantor said:
    Thanks but I think its the whiskey... After midnight with whiskey a lot of weird stuff happens.

    I hear that! ;)
Sign In or Register to comment.