MCPcopy Create free account
hub / github.com/DavidHDev/react-bits / srgbColor

Function srgbColor

src/content/Backgrounds/GridScan/GridScan.jsx:809–812  ·  view source on GitHub ↗
(hex)

Source from the content-addressed store, hash-verified

807};
808
809function srgbColor(hex) {
810 const c = new THREE.Color(hex);
811 return c.convertSRGBToLinear();
812}
813
814function smoothDampVec2(current, target, currentVelocity, smoothTime, maxSpeed, deltaTime) {
815 const out = current.clone();

Callers 1

GridScanFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected