ScratchData LogoScratchData
Back to iaobardar's profile

An Interpolation method I came up with.

IAiaobardar•Created May 28, 2020
An Interpolation method I came up with.
7
2
52 views
View on Scratch

Instructions

Turbo Mode! I came up with an interpolation method based on techniques used in Perlin noise. It uses the known points to determine gradients that are interpolated between to smooth it out. red = linear interpolation green = custom interpolation

Description

I was thinking about how Perlin noise uses gradients instead of values to smooth out the data, and I wondered if you could use it to interpolate between arbitrary points. I realized that there is a gradient between each point that could be used. It uses smoothstep to determine the influence that the gradients have. It took a bit to get all the interpolation right tho.

Project Details

Project ID399740038
CreatedMay 28, 2020
Last ModifiedMay 30, 2020
SharedMay 29, 2020
Visibilityvisible
CommentsAllowed