bartobri / no-more-secrets

A command line tool that recreates the famous data decryption effect seen in the 1992 movie Sneakers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Speed option

n0kovo opened this issue · comments

I would like to suggest a command line option for setting the speed of the effect. For example how many seconds the effect would take to finish.

Hi @NarkoPolo . Thanks for the interest in my project. This has been suggested already and I have chosen not to implement this feature because the intent of the project is to match the speed of the movie. If you would like to change the speed of the effect you can change the values in src/nmseffect.c and then recompile.

#define TYPE_EFFECT_SPEED    4     // miliseconds per char
#define JUMBLE_SECONDS       2     // number of seconds for jumble effect
#define JUMBLE_LOOP_SPEED    35    // miliseconds between each jumble
#define REVEAL_LOOP_SPEED    50    // miliseconds between each reveal loop