jacob
@jacob
Zorbs channel?
12 replies
6 recasts
33 reactions
Nounish Prof ββ§-β§π©
@nounishprof
Iβm pretty sure thatβs just all of Farcaster π (mine are orangish btw and I still want to understand what makes the color change based on wallets lol)
1 reply
0 recast
0 reaction
Max Jackson
@mxjxn.eth
Woah it does?!
1 reply
0 recast
0 reaction
gami.eth
@gami.eth
Yeah! Uses wallet address as seed to generate the colours onchain βΊοΈ
1 reply
0 recast
0 reaction
Nounish Prof ββ§-β§π©
@nounishprof
Yes I know but how does it determine said colors? π€ οΏΌ
1 reply
0 recast
1 reaction
Max Jackson
@mxjxn.eth
https://vscode.blockscan.com/ethereum/0xca21d4228cdcc68d4e23807e5e370c07577dd152 the ColorLib.gradientForAddress function shows that it generates the four colors by parsing the address, converting chunks of it into uint256 values, and generating values for hue, start and end saturation & lightness from those values
1 reply
0 recast
0 reaction
Max Jackson
@mxjxn.eth
Five colors actually!
0 reply
0 recast
0 reaction