Tanish Manku
a680ed22c9
Brush strokes carry their timing: the first moves count, smoothing feels the same on any device, a held airbrush builds up ( #2110 )
...
Brush phase 3a (owner-approved brush overhaul):
- Every stroke point now carries a time (`timeMs`). egui's pointer events have none, so a frame's
samples are spread evenly between the previous point and the frame time. Speed spacing, airbrush
Build-up and Stroke Catch-Up worked from scripts but never from the canvas, because every point
had time 0. The live stroke and the commit get the same times.
- A stroke started on the press takes its moves from the press on. The moves before egui
recognised a drag (its 6 pt click distance) were dropped, which gave every stroke a straight
start and lost the pen's pressure ramp-in.
- Smoothing pulls by stroke time (16 ms steps, fractional below that), not once per input event,
so a 1000 Hz mouse and a 60 Hz pen feel the same. Without Stroke Catch-Up a paused pointer stops
the brush, as in Photoshop.
- A pointer held still keeps the stroke's clock running only while the stroke changes with time
(airbrush Build-up, or smoothing still catching up): it repeats the held point every 16 ms and
asks for repaints, then goes idle.
2026-10-09 15:08:25 -07:00
..
2026-10-09 09:23:34 -04:00
2026-10-08 15:33:18 -04:00
2026-10-09 10:54:15 +07:00
2026-10-04 11:31:17 -04:00
2026-10-09 09:10:53 -04:00
2026-10-05 01:36:37 -04:00
2026-10-08 17:05:12 -04:00
2026-10-09 13:04:07 -04:00
2026-10-09 08:57:14 -04:00
2026-10-09 05:09:47 +07:00
2026-10-04 16:17:39 -04:00
2026-10-09 14:36:51 -04:00
2026-10-07 16:45:57 -04:00
2026-10-09 07:37:57 +07:00
2026-10-08 16:09:38 -04:00
2026-10-08 15:32:23 -04:00
2026-10-07 23:37:42 -04:00
2026-10-08 20:32:09 -04:00
2026-10-09 11:54:19 +02:00
2026-10-07 19:42:45 -04:00
2026-10-09 12:28:55 -04:00
2026-10-09 12:02:04 -04:00
2026-10-01 22:49:07 -04:00
2026-10-04 16:08:28 -04:00
2026-10-09 16:06:12 +07:00
2026-10-09 14:00:12 -07:00
2026-10-09 15:23:07 -04:00
2026-10-04 11:31:17 -04:00
2026-10-09 15:46:58 -04:00
2026-10-09 11:12:18 +07:00
2026-10-09 14:03:16 -07:00
2026-10-08 20:43:01 -04:00
2026-10-09 13:44:24 -04:00
2026-10-07 13:54:10 +07:00
2026-10-07 13:49:46 -07:00
2026-10-08 15:33:11 -04:00
2026-10-09 12:28:36 -04:00
2026-10-09 09:54:14 -04:00
2026-10-09 14:03:58 -04:00
2026-10-09 01:03:35 -04:00
2026-10-09 09:23:34 -04:00
2026-10-09 09:23:34 -04:00
2026-10-04 13:26:26 -04:00
2026-10-09 13:27:27 -04:00
2026-10-09 10:54:15 +07:00
2026-10-07 13:21:07 +07:00
2026-10-09 15:08:25 -07:00
2026-10-07 21:49:00 -04:00
2026-10-05 07:21:23 -04:00
2026-10-01 10:49:51 -04:00
2026-10-07 06:58:01 -04:00
2026-10-09 13:24:03 +07:00
2026-10-08 21:22:03 -04:00
2026-10-09 10:13:42 -04:00
2026-10-09 13:56:19 -07:00
2026-10-09 13:04:07 -04:00
2026-10-09 13:24:03 +07:00
2026-10-07 09:02:58 -04:00
2026-10-07 09:02:58 -04:00
2026-10-09 13:24:03 +07:00
2026-10-09 13:20:34 -04:00
2026-10-09 17:59:48 +07:00
2026-10-09 14:00:12 -07:00
2026-10-09 13:24:03 +07:00
2026-10-09 14:01:07 -07:00
2026-10-09 16:30:52 -04:00
2026-10-09 13:21:21 -04:00
2026-10-05 18:50:47 -04:00
2026-10-09 15:23:07 -04:00
2026-10-09 10:13:42 -04:00
2026-10-09 10:13:42 -04:00
2026-10-09 07:37:57 +07:00
2026-10-07 13:54:10 +07:00
2026-10-05 03:38:47 -04:00
2026-10-09 09:25:57 -04:00
2026-10-08 16:09:38 -04:00
2026-10-09 15:23:07 -04:00
2026-10-05 02:28:57 -04:00
2026-10-09 02:45:55 +07:00
2026-10-09 13:56:19 -07:00
2026-10-09 13:27:27 -04:00
2026-10-09 13:44:24 -04:00
2026-10-09 13:52:24 -04:00
2026-10-09 13:52:24 -04:00
2026-10-07 23:37:42 -04:00
2026-10-08 20:32:09 -04:00
2026-10-09 13:59:07 -07:00
2026-10-09 13:03:25 -04:00
2026-10-07 09:31:15 +07:00
2026-10-09 09:47:13 +07:00
2026-10-09 13:24:03 +07:00
2026-10-09 13:56:19 -07:00
2026-10-07 19:42:45 -04:00
2026-10-09 13:59:07 -07:00
2026-10-07 15:38:29 -04:00
2026-10-09 13:27:27 -04:00
2026-10-04 13:26:26 -04:00
2026-10-08 17:42:23 +02:00
2026-10-09 07:39:55 +07:00
2026-10-07 22:58:31 -04:00
2026-10-09 12:22:50 -04:00
2026-10-06 15:41:38 -04:00
2026-10-09 18:00:05 +07:00
2026-10-09 13:06:46 -04:00
2026-10-09 13:06:46 -04:00
2026-10-09 13:24:03 +07:00
2026-10-09 16:03:44 -04:00
2026-10-09 14:00:12 -07:00
2026-10-09 14:00:12 -07:00
2026-10-04 11:31:17 -04:00
2026-10-07 09:02:58 -04:00
2026-10-08 19:57:14 -04:00
2026-10-09 13:20:34 -04:00
2026-10-09 15:46:58 -04:00
2026-10-09 11:50:37 +00:00
2026-10-04 08:34:23 -04:00
2026-10-08 21:22:03 -04:00
2026-10-09 11:12:18 +07:00
2026-10-09 14:03:16 -07:00
2026-10-09 16:21:27 -04:00
2026-10-09 15:27:30 -04:00
2026-10-07 20:18:27 -04:00
2026-10-08 20:43:01 -04:00
2026-10-09 13:44:24 -04:00
2026-10-09 16:30:52 -04:00
2026-10-09 07:37:51 +07:00
2026-10-09 17:59:51 +07:00
2026-10-09 13:24:03 +07:00
2026-10-09 13:24:03 +07:00
2026-10-09 13:59:07 -07:00
2026-10-09 13:24:03 +07:00
2026-10-07 20:18:27 -04:00
2026-10-07 23:13:41 -04:00
2026-10-09 04:26:18 +00:00
2026-10-09 12:28:36 -04:00
2026-10-09 09:54:14 -04:00
2026-10-09 13:24:03 +07:00
2026-10-07 21:04:05 -04:00
2026-10-09 14:03:58 -04:00
2026-10-03 02:56:15 -04:00