-
Notifications
You must be signed in to change notification settings - Fork 0
Ciphering Text
YuraVolk edited this page Dec 11, 2019
·
3 revisions
Out of 3 text effects, ciphering text is the rarest. It may provide beautiful effects if used correctly.
Definition: Ciphering Text is text transition from one text to another. If letter is not the same as in other text, letter is replaced by special symbol, that is later replaced by correct letter.
If you want to implement this script by your own, follow these steps:
- Create function to cipher letter to symbols and make it normal. It should only change one letter. Use IIFEs and Closures to make it work.
- Write function to split text into spans.
- Write function to execute function of letter ciphering char by char (call function in a loop)
- Add event listeners.
If you have not read README.md, I highly urge you to do so. Wiki is in development currently