Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- minRate = 2; // frames per character
- maxRate = 6;
- charCount = 0;
- t = 0;
- seedRandom(index,true);
- while (t < time){
- charCount++;
- t += framesToTime(random(minRate,maxRate));
- }
- value.substr(0,charCount)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement