DEV Community


Discussion on: Simple writing text animation

noclat profile image
Nicolas Torres

Nice, simple. Indeed you could do better randomizing the speed, and to this you'd need to switch from interval to timeout. On top of randomizing the delay, you could also add a multiplier for some characters, like space would be faster, special chars would be slower, and with that you'll get a more natural effect :).

andreacanton profile image
Andrea Canton Author

The multiplier for some characters it's a great idea!!! Thank you!