Philosophy: Word Goal Locking #
FleshNote features specialized Focus Sprint Modes designed to help writers overcome perfectionism and compulsive revision.
FocusSelectorPopup.jsx, the author defines a target word delta (e.g. 400 words). The IDE locks the sprint mode active β you cannot exit the sprint until the word count goal is reached.
Standard Focus (Normal Mode) #
Normal Mode (type: 'normal', goal: null) is a non-locked, distraction-free environment:
- Hides sidebars, inspector docks, and toolbars.
- Removes syntax highlight colors from entity links for pure visual clarity.
- Can be toggled on or off at any time without word goal restrictions.
Rewarding Sprint Modes #
Rewarding modes provide visual and gamified positive reinforcement as the writer approaches their goal:
1. Momentum Mode (`MomentumMode.jsx`)
REWARDINGTyping continuously charges an internal momentum meter (+6.6% per keystroke, overfilling up to 130% to provide a 3-second buffer, decaying at 10% per second when idle).
Hungarian Rune Release: When momentum reaches 100%, the editor releases floating particles of Old Hungarian RovΓ‘s glyphs (π³, π³, π³, π³, π³, π³
, π³, π³, π³, π³, π³, π³, π³, π³) across the screen.
2. Combo Mode (`ComboMode.jsx`)
REWARDINGBuilds an arcade combo multiplier as words are typed without stopping. Crossing milestone thresholds triggers particle bursts and dynamic text banners:
| Words Typed | Arcade Feedback Banner |
|---|---|
| 10 / 25 / 50 words | GOOD / GREAT / AMAZING |
| 100 / 200 words | FLAWLESS / HOLY SH*T! |
| 500 / 800 words | LEGENDARY! / TRULY NOVEL! |
| 1000 / 1300 words | GODLIKE! / UNSTOPPABLE! |
Combo Break Rule: Deleting more than 3 characters breaks the combo meter and saves your peak score into the max_combo project statistic.
3. Zen Mode (`ZenMode.jsx`)
REWARDINGAs you write towards your target word goal, the component procedurally renders a seeded recursive fractal tree in the background. Branches, bark shades, and leaf clusters progressively expand in proportion to your progress ratio.
Goal Payoff: Reaching 100% of your target word goal triggers a full blooming blossom animation.
Punishing Sprint Modes #
Punishing modes enforce strict behavioral constraints to extinguish hesitation and inner editing:
4. Kamikaze Mode (`KamikazeMode.jsx`)
HIGH STAKES60-Second Inactivity Limit: If the writer stops typing for 50 seconds, a 5-second red countdown warning appears. If the 60-second limit is reached without typing, the engine begins exploding and deleting the last word off the page word-by-word with fiery particle effects until typing resumes.
5. Hemingway Mode (`HemingwayMode.jsx`)
FORWARD ONLY
A global DOM capture-phase event listener intercepts and cancels all Backspace and Delete key events (e.preventDefault() and e.stopPropagation()). The author is physically prevented from backspacing, forcing forward momentum.
6. Fog Mode (`FogMode.jsx`)
ANTI-DISTRACTIONWhen idle for more than 4 seconds, a visual mist creeps over the editor canvas (1% opacity per 100ms) with sporadic fading runes, obscuring text outside your immediate cursor radius. Typing keystrokes heals the fog (+10% per keypress) to reveal the manuscript.