30 lines
1.1 KiB
Markdown
30 lines
1.1 KiB
Markdown
# Third-party notices
|
|||
|
|
|
||
|
|
## Neovide cursor motion
|
||
|
|
|
||
|
|
`src/cursor.rs` adapts the four-corner cursor animation and analytically integrated
|
||
|
|
critically damped spring from Neovide:
|
||
|
|
|
||
|
|
- `src/renderer/cursor_renderer/mod.rs`
|
||
|
|
- `src/renderer/animation_utils.rs`
|
||
|
|
- Source revision: `468b71f7e6fd4f995720b2f43da20608b37eb9b0`
|
||
|
|
- Copyright (c) 2023 Neovide Contributors
|
||
|
|
- License: MIT; the complete notice is in [licenses/neovide-MIT.txt](licenses/neovide-MIT.txt).
|
||
|
|
|
||
|
|
The spring formula, front/back corner timing, 150 ms long-move duration, and
|
||
|
|
40 ms short-move duration are retained. Coordinates and painting are adapted to
|
||
|
|
GPUI instead of Skia. Particle effects are not included.
|
||
|
|
|
||
|
|
## buzzlocker cursor blink
|
||
|
|
|
||
|
|
The blink behavior in `src/cursor.rs` follows the author's buzzlocker code,
|
||
|
|
reused at the author's explicit request:
|
||
|
|
|
||
|
|
- `src/render.c`: `update_single_animation`, cursor branch
|
||
|
|
- `src/animation.c`: `anim_qubic_ease_out`
|
||
|
|
- `src/main.c`: `reset_cursor_flash_anim`
|
||
|
|
- Source revision: `53157cb4d60585078cf4c89048fa807530f1d088`
|
||
|
|
|
||
|
|
It holds at full opacity for 500 ms after input, fades out with a 500 ms cubic
|
||
|
|
ease-out curve, then returns to full opacity for 500 ms. It does not fade in.
|