ScratchData LogoScratchData
Back to dascoolguy-'s profile

Perlin noise with sine-based interpolation

DAdascoolguy-•Created May 13, 2024
Perlin noise with sine-based interpolation
0
0
1 views
View on Scratch

Instructions

Created the formula in Desmos, scratch 3.0 messed it up and I needed to multiply some values, this is the end result after fixing it. It uses a handmade PRNG so that seeds can be used. I plan to figure out how to extend it to 2D, likely going to be easier in scratch than Desmos because I'm more familiar with scratch. I used sine-based interpolation because it's more simple. Cosine is shifted by π/2 meaning you have to account for that, sine is centered on 0,0 meaning you just have to scale it accordingly and ensure you get a range of values from -π/2 to π/2.

Project Details

Project ID1018635128
CreatedMay 13, 2024
Last ModifiedMay 13, 2024
SharedMay 13, 2024
Visibilityvisible
CommentsAllowed