MCPcopy Create free account
hub / github.com/DFin/Neural-Network-Visualisation / formatThickness

Function formatThickness

assets/main.js:557–557  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

555 const min = Number.parseFloat(connectionThicknessSlider.min) || 0.001;
556 const max = Number.parseFloat(connectionThicknessSlider.max) || 0.1;
557 const formatThickness = (value) => `${value.toFixed(3)}`;
558 const syncConnectionThicknessUi = (value) => {
559 connectionThicknessSlider.value = String(value);
560 connectionThicknessValue.textContent = formatThickness(value);

Callers 2

syncThicknessUiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected