Commit Graph

4 Commits

Author SHA1 Message Date
ranger ab8d007b72 feat: ORP anchor on the middle word in Sentence mode (v1.1.3)
David proposed: "for sentence we can add in the red letter to keep
the eye in the middle of the sentence block."

Sentence mode now picks the middle word of each sentence (by word
index) and applies the same ORP-character formula used in Word mode.
The single red letter gives the eye a fixed anchor; the rest of
the sentence is absorbed peripherally instead of saccading.

This matters most at high WPM (post v1.1.1/v1.1.2 — Sentence mode
now goes up to 3000 WPM with a 400ms minimum-display floor). Without
an anchor, the eye scans from the left as if reading normally and
runs out of time. With the anchor, the eye fixates immediately and
the whole sentence registers in one peripheral-vision read.

Paragraph mode still renders plain text — a single ORP on a
multi-line block doesn't give a useful fixation point. Per-sentence
ORP within paragraphs could come in a future release if needed.
2026-05-27 02:50:01 +01:00
ranger a5819f0c72 fix: high-WPM chunk modes were clamped by 1500ms minimum-display floor (v1.1.2)
After v1.1.1 raised the WPM cap to 3000 for Sentence and Paragraph modes,
David noticed pushing the slider from 1500 to 3000 didn't actually speed
up reading. The chunks still sat on screen for the same amount of time.

Root cause: the v1.1.0 minimum-display floor was 1500ms per chunk. At
3000 WPM, any sentence under ~60 words mathematically wants to display
for under 1500ms — but the floor clamped them all to 1500ms, so the
calculated speed-up never reached the user.

Lowered floors:
- Sentence mode: 1500ms → 400ms
- Paragraph mode: 1500ms → 800ms

Max cap stays at 12s for very long paragraphs at very low WPM.

At 3000 WPM with the new floors, a 20-word sentence now displays for
500ms (was 1500ms, 3x faster) and the slider behaves the way users
expect — higher WPM = faster reading, all the way to 3000.

The reader does NOT iterate word-by-word inside a chunk; the whole
sentence/paragraph is rendered in one DOM update. Word count is used
only to estimate the auto-advance interval, not as a per-word loop.
2026-05-27 02:43:36 +01:00
ranger 669aabf5f2 feat: mode-aware WPM ceiling — Sentence/Paragraph now go up to 3000 WPM (v1.1.1)
The WPM slider's maximum value now adapts to the active reading mode:
- Word mode: 1500 WPM ceiling (human single-word recognition limit)
- Sentence / Paragraph modes: 3000 WPM ceiling

Rationale: in chunk modes, "WPM" controls auto-advance timing across
larger display units. A 20-word sentence at 3000 WPM still gets ~400 ms
of display time — well within visual-recognition comfort and suitable
for skim-pass reading of already-familiar material.

Switching back to Word mode auto-clamps the current value down to 1500
to prevent accidentally-illegible word-mode playback.

The `+` keyboard shortcut now respects the mode-specific ceiling instead
of being hardcoded to 1500.
2026-05-27 02:40:06 +01:00
ranger 5e0ef5adf1 feat: initial release — Ranger Reader v1.1.0
Single-file HTML RSVP reader for academic papers and long-form text.
Released free / GPL v2+ as a replacement for subscription-based RSVP
readers (SwiftRead, etc.) that cost ~$120/year for the same core
functionality.

v1.1.0 ships with three reading modes:
- Word: classic RSVP with ORP focal-character coloring
- Sentence: chunked reading, auto-advancing on word-count timing
- Paragraph: skim mode

Other features: WPM slider 200-1500, drag-drop .txt loading,
localStorage persistence (text + WPM + mode + position), keyboard
shortcuts, dark-mode WP-tone palette, sentence splitter that
handles common academic abbreviations (Mr./Dr./e.g./i.e./et al./
Vol./Fig./decimals).

Single self-contained HTML file. No install, no dependencies,
no network calls. Runs in any modern browser, fully offline.
2026-05-27 02:29:17 +01:00