GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

02A Line Scroll Pushed Ahead of the Caret

The whole line is given a horizontal target that keeps the current character near the center, and each frame it follows by a fraction of the gap, while the board on the right flips a line only when the text reaches the edge and makes the eye jump. The caret is kept at FOCUS_X 0.5 of the box width and followed with FOLLOW_EASE 6; the average distance from that spot is 16.4 px against 47.7 px, and the right board flips 4 times in one run (assuming a 7.7 px monospace cell).

Best forLine movement that lets people type long text with less eye travel

FOCUS_XFOLLOW_EASElineShift
A Line Scroll Pushed Ahead of the Caret
Open in a new tab

02 A Line Scroll Pushed Ahead of the Caret — Measured area 10.049% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Typing Practice: 9 Canvas Scenes

The post this demo lives in

Typing Practice: 9 Canvas Scenes - preview of all 9 demosTyping Practice: 9 Canvas ScenesHow does typing practice turn keystrokes into a score? 01 counts recent seconds for words per minute, 03 lines each key See all demos in this post

If you like this effect - similar demos