Loading...
  OR  Zero-K Name:    Password:   

Post edit history

Linear Interpolation?

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
10/9/2015 2:17:16 AMGBrankTheEloIsALie before revert after revert
10/9/2015 2:17:03 AMGBrankTheEloIsALie before revert after revert
10/9/2015 2:16:34 AMGBrankTheEloIsALie before revert after revert
10/9/2015 2:15:07 AMGBrankTheEloIsALie before revert after revert
10/9/2015 2:12:30 AMGBrankTheEloIsALie before revert after revert
10/9/2015 2:11:00 AMGBrankTheEloIsALie before revert after revert
10/9/2015 2:10:47 AMGBrankTheEloIsALie before revert after revert
10/9/2015 2:10:30 AMGBrankTheEloIsALie before revert after revert
10/9/2015 2:09:15 AMGBrankTheEloIsALie before revert after revert
Before After
1 You don't have to think of linear interpolation in terms of lines and vector algebra (although that's what it technically is), it can work with many things. You say "I want 60% between [i]this[/i] and [i]that[/i]" and so it gives you 60% [i]that[/i] and 40% [i]this[/i]. 1 You don't have to think of linear interpolation in terms of lines and vector algebra (although that's what it technically is), it can work with many things. You say "I want 60% between [i]this[/i] and [i]that[/i]" and so it gives you 60% [i]that[/i] and 40% [i]this[/i].
2 \n 2 \n
3 You can also linearly interpolate between the numbers 8 and 12. 50% in between gives 10, 25% gives 9 [color=grey](25% x 12 + 75% x 8 = 3 + 6 = 9)[/color] and 75% gives 11. If you want to be fancy: 150% would give 14 [color=grey](150% x 12 + (-50%) x 8 = 18 - 4 = 14, black magic! D:)[/color]. 3 You can also linearly interpolate between the numbers 8 and 12. 50% in between gives 10, 25% gives 9 [color=grey](25% x 12 + 75% x 8 = 3 + 6 = 9)[/color] and 75% gives 11. If you want to be fancy: 150% would give 14 [color=grey](150% x 12 + (-50%) x 8 = 18 - 4 = 14, black magic! D:)[/color].
4 One can also interpolate [url=https://processing. org/reference/lerpColor_. html]colors[/url], just as another example. 4 Or one can also interpolate [url=https://processing. org/reference/lerpColor_. html]colors[/url], just as another example.
5 \n 5 \n
6 Also, lol at @Sprung's xkcd imitation. 6 Also, lol at @Sprung's xkcd imitation.