-
Random Hexadecimal digits
I have this expression that will display random hex letters if put into a text layer’s Source Text parameter:
rate = 5;
seed = Math.floor(time*rate);
seedRandom(seed,true);
String.fromCharCode(65 + Math.floor(random(6)));
If I lower the starting CharCode from 65 to 48 to include numbers, I get unwanted punctuation symbols from 58~64.How can I generate purely hex digits?