Meilleure initialisation de l'art numérique.
This commit is contained in:
parent
232277679d
commit
606a42c361
1 changed files with 3 additions and 1 deletions
|
@ -61,7 +61,9 @@ function fakeArt(element: Element): void
|
|||
{
|
||||
// On ajoute 150 caractères animés.
|
||||
[...Array(150)].forEach(() => {
|
||||
window.setTimeout(() => {
|
||||
element.appendChild(spawnChar());
|
||||
}, (500 + Math.round(Math.random() * 1000)));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue