()
| 458 | } |
| 459 | |
| 460 | function updateChart() { |
| 461 | let fn = (x) => x |
| 462 | switch (document.querySelector("#merge-interpolation").value) { |
| 463 | case "SmoothStep": |
| 464 | fn = smoothstep |
| 465 | break |
| 466 | case "SmootherStep": |
| 467 | fn = smootherstep |
| 468 | break |
| 469 | case "SmoothestStep": |
| 470 | fn = smootheststep |
| 471 | break |
| 472 | } |
| 473 | drawDiagram(fn) |
| 474 | } |
| 475 | |
| 476 | function initMergeUI() { |
| 477 | const tabSettingsSingle = document.querySelector("#tab-merge-opts-single") |
no test coverage detected