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