diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-24 21:30:52 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-24 22:33:46 -0300 |
| commit | 0dc2dc053af20d6811bfbe09ab31b762862a53a6 (patch) | |
| tree | 220c02b7d3e6af91ac5eda4f84b9ed965de638b1 /docs | |
| parent | 408412838ce7bf3156ba8aa6f95057a72ebdd284 (diff) | |
| download | pardes-0dc2dc053af20d6811bfbe09ab31b762862a53a6.tar.gz pardes-0dc2dc053af20d6811bfbe09ab31b762862a53a6.zip | |
anim 10: the caret is its own body: drawn from its own springs only, never carried by the text's glide (the ride-along deleted); its target is its cell as the view will settle, so a page leaves it still, a scroll that carries its line moves it there whole at the view's pace, a jump is one ease, a stream of steps lands each
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/next-anim.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/next-anim.md b/docs/next-anim.md index 1acdeacf..a64bfaf4 100644 --- a/docs/next-anim.md +++ b/docs/next-anim.md @@ -182,6 +182,31 @@ absorbed by what the system is doing: | moving | an input the other way | the stream ends; the spring turns it through zero from its speed | | moving | a jump past what two frames share | its rows are added (the stitched slide); the speed carries on | +The caret is its own body (anim 10): its state is its own springs +(`CursorGlide`, screen cells as floats), integrated on the same tick, and +it is drawn from that state only, never from the text's glide (the ride +that lifted it with the glide's fractional lag is deleted: every motion +of the text had leaked into it). Its only coupling to the view is its +target: its cell in the view as it will be once settled (the core's view +is that one). + +| an input | the caret's target | it does | +|---|---|---| +| a page or half page, a scroll that keeps its screen row (Ctrl-f/b/d/u, PageDown/Up, a j or k at the edge row) | unchanged | not a pixel's move while the text slides under it | +| a move in a still view (h/j/k/l, w, a click, a typed character) | the new cell | the short ease | +| a stream of such moves (a held key, typing) | each new cell | lands on each, at the keys' rate | +| a scroll that carries its line (the wheel, Ctrl-o to a far place in view) | where its line will be | moves there whole, at the view's pace, and lands exactly | +| a jump that moves both (G, a Look) | the final cell | one ease, no trip with the old page | +| a terminal's output | its cell | lands with the output (which does not glide) | +| Motion off | the cell | there at once | + +While a glide moves the text the caret is drawn as its quad (from its +springs), not as a cell of the moving rows. Invariants, checked over every +frame of the scripted scroll and held-key runs (`GlideRun.checkCaret`): +while its cell stays and it is on it, its drawn row is identical frame to +frame; it only closes on its cell; it lands within half a second of its +last change. The blink keys off the last key or click, never a frame. + So a held j, a spun wheel and a held Ctrl-d are the same case (a stream), a single j or notch the same ease as before. Every input, a repeat too, is still drawn at once: in a stream the picture is on the stream's |
