Sameh Khamis
b65bb86db3
vessels: project label candidates with the camera read once per pass
...
The label pass projects every vessel in view each time it runs. It asked
Cesium for each one, which reads the camera and allocates for every point.
createWindowProjector reads the camera's matrices and the canvas size once
and runs the same arithmetic in the same order, so the window positions are
the same numbers (a test compares them bit for bit with Cesium); outside a
3D perspective view it asks Cesium as before.
Grid cells are keyed by number, a cell's candidate is made only for its
first vessel and updated in place, and whether a name is worth a card is
kept per vessel until its name, MMSI or id changes.
Measured in the browser (perf harness, 9,000 vessels, 1 min/s): the label
pass 33 ms -> 11 ms, the forced visibility pass 42 ms -> 27 ms.
2026-11-15 16:13:28 -08:00
..
2026-11-03 14:32:03 +00:00
2026-11-03 18:05:11 +00:00
2026-10-16 11:01:25 +01:00
2026-11-09 00:24:22 +01:00
2026-10-20 13:56:44 +04:00
2026-10-30 19:02:47 +05:30
2026-09-28 19:07:57 -05:00
2026-10-20 13:56:44 +04:00
2026-11-08 19:45:01 -08:00
2026-10-02 18:29:42 -07:00
2026-11-11 16:06:22 +01:00
2026-08-24 17:02:16 -05:00
2026-11-08 15:55:13 -08:00
2026-11-14 19:27:46 -08:00
2026-10-30 20:47:20 +05:30
2026-10-25 17:21:41 -07:00
2026-09-24 16:25:55 +05:30
2026-11-08 19:35:30 -08:00
2026-09-10 23:01:51 -07:00
2026-11-07 17:53:55 +00:00
2026-09-14 07:35:38 -07:00
2026-10-19 23:23:52 +01:00
2026-08-24 17:02:16 -05:00
2026-09-15 07:26:32 -07:00
2026-11-15 09:41:01 -08:00
2026-10-30 16:11:48 -07:00
2026-10-13 18:54:58 -04:00
2026-09-11 15:08:23 -07:00
2026-11-01 15:38:23 -08:00
2026-11-12 12:26:45 +00:00
2026-11-13 07:16:25 -08:00
2026-09-28 19:07:57 -05:00
2026-09-28 19:07:57 -05:00
2026-09-14 21:12:01 -07:00
2026-09-24 16:25:55 +05:30
2026-09-14 07:35:38 -07:00
2026-10-30 19:02:47 +05:30
2026-11-15 16:13:28 -08:00
2026-11-03 22:01:08 +05:30
2026-10-16 15:28:39 -07:00
2026-08-31 17:49:45 -05:00
2026-08-31 17:49:45 -05:00
2026-08-31 17:49:45 -05:00
2026-09-14 19:34:23 -05:00
2026-10-19 17:02:06 +01:00
2026-09-14 07:35:38 -07:00
2026-10-21 15:22:00 +02:00
2026-10-02 22:32:46 +05:30
2026-10-02 15:12:37 -06:00
2026-09-28 19:07:57 -05:00
2026-10-21 14:21:14 +04:00
2026-09-11 17:03:35 -07:00
2026-09-10 23:08:26 -07:00
2026-10-07 22:41:29 +04:00
2026-08-24 17:02:16 -05:00
2026-08-24 17:02:16 -05:00
2026-10-14 15:36:35 -07:00
2026-11-13 17:46:43 +00:00
2026-10-19 23:31:52 +01:00
2026-10-20 15:12:33 +01:00
2026-10-22 19:26:09 -07:00
2026-11-09 20:36:03 -08:00
2026-11-09 20:36:03 -08:00
2026-11-12 22:37:34 +00:00
2026-10-29 11:12:46 +00:00
2026-09-15 16:53:26 -07:00
2026-09-15 19:16:49 -07:00
2026-09-15 17:59:53 -07:00
2026-10-31 18:37:14 -07:00
2026-10-28 14:35:01 +00:00
2026-11-02 17:01:31 +00:00
2026-11-09 20:36:03 -08:00
2026-10-03 23:10:32 -07:00
2026-10-22 18:09:37 -07:00
2026-10-22 19:08:10 -07:00
2026-10-14 14:48:53 -07:00
2026-10-31 22:53:03 -07:00
2026-10-29 11:28:56 +00:00
2026-10-03 23:10:32 -07:00
2026-09-10 23:08:26 -07:00
2026-10-11 13:52:30 -07:00
2026-08-24 17:02:16 -05:00
2026-08-31 17:49:45 -05:00
2026-09-10 23:08:26 -07:00
2026-10-11 13:52:30 -07:00
2026-11-09 20:36:03 -08:00
2026-10-29 12:41:12 +00:00
2026-10-13 23:48:21 +02:00
2026-10-15 04:10:41 +02:00
2026-10-15 04:10:41 +02:00
2026-10-29 11:53:15 +00:00
2026-11-06 17:25:01 +01:00
2026-11-15 10:19:59 -08:00
2026-11-13 07:16:25 -08:00
2026-09-10 23:08:26 -07:00
2026-09-11 08:59:32 -07:00
2026-09-28 19:07:57 -05:00
2026-09-28 19:07:57 -05:00
2026-09-28 19:07:57 -05:00
2026-10-25 03:15:11 +01:00
2026-09-10 23:08:26 -07:00
2026-10-22 18:09:37 -07:00
2026-11-02 16:43:49 +00:00
2026-09-24 16:25:55 +05:30
2026-10-20 14:37:57 +01:00
2026-11-01 13:43:57 -08:00
2026-10-31 12:11:35 -07:00
2026-10-31 12:11:35 -07:00
2026-09-28 19:07:57 -05:00
2026-09-16 12:14:15 +05:30
2026-10-30 19:02:47 +05:30
2026-10-03 23:10:32 -07:00
2026-10-20 00:15:49 +01:00
2026-10-30 22:41:07 -07:00
2026-11-09 20:36:03 -08:00
2026-11-02 17:19:53 +04:00
2026-10-14 15:36:35 -07:00
2026-10-31 23:04:31 -07:00
2026-10-31 18:37:14 -07:00
2026-10-29 14:04:28 +00:00
2026-10-29 12:41:12 +00:00
2026-11-13 07:16:25 -08:00
2026-11-13 07:16:25 -08:00
2026-10-30 21:54:42 -07:00
2026-11-06 17:52:55 +00:00
2026-09-28 19:07:57 -05:00
2026-09-10 23:08:26 -07:00
2026-10-14 14:48:53 -07:00
2026-09-28 19:07:57 -05:00
2026-09-13 14:47:26 -07:00
2026-10-22 19:08:10 -07:00
2026-10-14 14:48:53 -07:00
2026-10-23 12:12:27 +01:00
2026-11-10 11:30:59 -08:00
2026-10-20 14:07:13 +01:00
2026-10-20 14:07:13 +01:00
2026-10-14 15:36:35 -07:00
2026-10-20 15:12:33 +01:00
2026-10-20 15:12:33 +01:00
2026-11-05 03:39:15 -03:00
2026-10-31 20:28:24 -07:00
2026-10-22 19:08:10 -07:00
2026-09-10 23:08:26 -07:00
2026-09-11 14:43:13 -07:00
2026-10-29 11:20:49 +00:00
2026-11-01 09:56:47 -08:00
2026-10-30 17:47:52 -07:00
2026-10-04 23:03:09 +05:00
2026-09-28 21:19:23 -05:00
2026-11-06 00:23:42 +00:00
2026-09-15 12:05:01 -07:00
2026-10-31 23:51:47 -07:00
2026-09-22 17:45:39 -05:00
2026-10-22 18:09:37 -07:00
2026-10-20 14:37:05 +01:00
2026-09-22 17:45:39 -05:00
2026-11-03 14:32:30 +00:00
2026-08-24 17:02:16 -05:00
2026-11-05 16:17:12 -05:00
2026-11-03 16:17:34 +00:00
2026-11-02 07:06:14 -08:00
2026-11-13 07:16:25 -08:00
2026-10-20 15:12:32 +01:00
2026-09-28 21:19:23 -05:00
2026-10-30 20:47:20 +05:30