This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const points = {}; | |
const amplitude = 15; | |
// For polynomial interpolation | |
const interpolationLeft = 3; | |
const interpolationRight = 3; | |
// When true, uses polynomial interpolation | |
// Otherwise, uses linear interpolation |