samedi 2 janvier 2021

After effect Random & for() circulation is to slow

After effect Random & for() circulation is to slow

After effect screenshot

Maker_2_002 code

//Main Setup
    posterizeTime(0.001);
    seedRandom(3)

//JSON to js convertion
    var adjectives = footage("FAKECHAT_Array_Data.jsx").sourceData.adjectives;

finalarray = [];
    for (var i = 0; i < 48; i++) {
        finalarray[i] = adjectives[index[Math.floor(Math.random()*index.length)]];
        i + 1
    }
finalarray.join("\r\r\r")

I'm creating fake twitch chatbox in after effect. so there is lot of thing i need to fix out of it but most important part of this chatbox is random array chat coming up random speed.

so this code is ID Array part of code

it is working code but problem is to slow circulation make render time unusable...

i don't understand why this occur... please help




Aucun commentaire:

Enregistrer un commentaire