MCPcopy Create free account
hub / github.com/corbanbrook/dsp.js / lerp

Function lerp

examples/js/processing.js:5815–5815  ·  view source on GitHub ↗
(t,a,b)

Source from the content-addressed store, hash-verified

5813 }
5814
5815 function lerp(t,a,b) { return a + t * (b - a); }
5816
5817 this.noise3d = function(x, y, z) {
5818 var X = Math.floor(x)&255, Y = Math.floor(y)&255, Z = Math.floor(z)&255;

Callers 1

PerlinNoiseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected