Skip to content

WPM multiplier based on word length - #4

Merged
thomaskolmans merged 10 commits into
thomaskolmans:mainfrom
emysliwietz:main
Jan 14, 2026
Merged

thomaskolmans merged 10 commits into
thomaskolmans:mainfrom
emysliwietz:main

Conversation

@emysliwietz

Copy link
Copy Markdown
Contributor

Addresses #3

Longer, more complicated words like "electroencephalographically" take longer to parse than shorter words such as "the", "and", "then". Conversely, word length often correlates with contribution to the message of a sentence. Static WPM makes it difficult to parse longer words at higher speeds while also not being "bored" by longer pauses for shorter words at low speeds. This PR adds a percentage slowdown based on word length for words above a certain threshold.

Additions:

  • adds slider for WPM adjustment in settings page
  • for every word above a threshold (currently 12), each additional letter adds a percentage point increase to the base delay the word is shown.
  • Previously, the ORP maxed out at the 4th position. Now, the point moves right one more position every time the word length doubles

So for example, if the multiplier is 5% and a word is shown for 300ms by default, a word of 15 letters would be shown for
extra letters = 15-12 = 3
3 * 5% = 15% longer

Currently, the default is 5%, something around 1-3% might be enough, too

Comment thread src/lib/rsvp-utils.js Resolved
Comment thread src/lib/rsvp-utils.js Resolved
@thomaskolmans
thomaskolmans merged commit ca501dd into thomaskolmans:main Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants