interpolate_bicubic
interpolate_bicubic(t, a, b, c, d) ⇒ number
Based on code from reddit https://www.reddit.com/r/javascript/comments/jxa8x/bicubic_interpolation/
Kind: global function
Param | Type | Description |
---|---|---|
t | number | ratio |
a | number | position -2 |
b | number | position -1 |
c | number | position +1 |
d | number | position +2 |