1. Belfast, NI
    Joined
    20 Mar '06
    Moves
    380
    21 Mar '06 08:321 edit
    Hey anyone heard of this equation:
    x=t-i?
    (means answer= total-input)
    i call it the inverting equation...
    if you've ever been in paint and seen the "invert colo(u)r [ctrl+i] you can use this simple equation. say you have an RGB value (100,32,91).
    The total for any rgb number is 255, so lets replace the letters with numbers...
    (r value) x=t-i
    x=255-100
    x=155
    and repeat for green and blue values.
    (g value) x=t-i
    x=255-32
    x=223
    (b value) x=t-i
    x=255-91
    x=164
    Ta-da! the inverted state of ink rgb(100,32,91) is (155,223,164)!
    Try it for yourself.
    ty,
    JGCXELITE
    ps. this also works for angles.
  2. Standard memberXanthosNZ
    Cancerous Bus Crash
    p^2.sin(phi)
    Joined
    06 Sep '04
    Moves
    25076
    21 Mar '06 09:05
    Originally posted by JGCXELITE
    Hey anyone heard of this equation:
    x=t-i?
    (means answer= total-input)
    i call it the inverting equation...
    if you've ever been in paint and seen the "invert colo(u)r [ctrl+i] you can use this simple equation. say you have an RGB value (100,32,91).
    The total for any rgb number is 255, so lets replace the letters with numbers...
    (r value) x=t-i
    x=255-1 ...[text shortened]... 2,91) is (155,223,164)!
    Try it for yourself.
    ty,
    JGCXELITE
    ps. this also works for angles.
    How amazing!

    Max - value = remainder

    I never would have come up with that.
  3. Subscribersonhouse
    Fast and Curious
    slatington, pa, usa
    Joined
    28 Dec '04
    Moves
    52724
    22 Mar '06 17:25
    Originally posted by XanthosNZ
    How amazing!

    Max - value = remainder

    I never would have come up with that.
    Do I smell a tiny sniff of sarcasm here?