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

Function smootheststep

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

Source from the content-addressed store, hash-verified

343 }
344
345 function smootheststep(x) {
346 let y = -20 * Math.pow(x, 7)
347 y += 70 * Math.pow(x, 6)
348 y -= 84 * Math.pow(x, 5)
349 y += 35 * Math.pow(x, 4)
350 return y
351 }
352 function getCurrentTime() {
353 const now = new Date()
354 let hours = now.getHours()

Callers 1

initMergeUIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected