Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DavidHDev/react-bits
/ parseColor
Function
parseColor
src/tailwind/Backgrounds/LightPillar/LightPillar.jsx:94–97 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
92
rendererRef.current = renderer;
93
94
const parseColor = hex => {
95
const color = new THREE.Color(hex);
96
return new THREE.Vector3(color.r, color.g, color.b);
97
};
98
99
const vertexShader = `
100
varying vec2 vUv;
Callers
1
LightPillar
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected