MCPcopy Index your code
hub / github.com/easydiffusion/easydiffusion / smoothstep

Function smoothstep

ui/plugins/ui/model-tools.plugin.js:337–339  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

335
336 ///////////////////// Function section
337 function smoothstep(x) {
338 return x * x * (3 - 2 * x)
339 }
340
341 function smootherstep(x) {
342 return x * x * x * (x * (x * 6 - 15) + 10)

Callers 1

initMergeUIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected