Commit Graph

  • 1f983f3389 Fix multiplayer, add mouse wheel panning A.Olokhtonov 2024-01-08 19:38:59 +0300
  • c893a73ec5 You can draw once again! A.Olokhtonov 2024-01-07 18:08:34 +0300
  • 847fb70381 Don't repeat points segment points. Introduce "tv" (typedvector) A.Olokhtonov 2024-01-07 15:14:10 +0300
  • 9bbab32369 Try to speed up the LOD calculation with a cache (kinda succesfull, but not really) A.Olokhtonov 2023-12-28 02:11:46 +0300
  • a60c3d1948 Recompute LODs and instance data on demand - ??? - it works??? A.Olokhtonov 2023-12-27 03:31:40 +0300
  • 2d88b57dca Fix off-by-factor-of-2 in the vertex shader A.Olokhtonov 2023-12-26 02:46:57 +0300
  • 248501e50f Remove recursive allocations from process_rdp Use rgba_u16 textures for rgb and, most importantly, W (stroke width) A.Olokhtonov 2023-12-26 02:34:43 +0300
  • 31a0b0113a Prototype: separate per-quad data using instanced rendeding and per-stroke data using a texture A.Olokhtonov 2023-12-21 01:45:09 +0300
  • 1438b0ad73 LODs work! Need to fix that memory usage though A.Olokhtonov 2023-12-20 02:26:14 +0300
  • 60fc48b1e7 Fix dynamic draw to use indexed, and thus the same shader as main A.Olokhtonov 2023-12-08 01:34:19 +0300
  • fdca3e6b07 Fix epsilon calculation for RDP A.Olokhtonov 2023-12-08 01:05:50 +0300
  • 7b53c7215e Fix predraw artifacts by making the lines too fat at far zoomout A.Olokhtonov 2023-12-08 00:16:36 +0300
  • 72eedf9b48 Fix dynamic data A.Olokhtonov 2023-12-06 02:19:35 +0300
  • 24222f9565 Fix wrong sort order for indices A.Olokhtonov 2023-12-05 01:21:28 +0300
  • cca3b4cd5d Fix the depth prepass artefacts A.Olokhtonov 2023-12-05 01:09:57 +0300
  • a991cf3247 BVH construction and modification A.Olokhtonov 2023-12-04 22:52:59 +0300
  • 1691bd07ae Milton blackboard import aolo2 2023-11-27 15:25:24 +0300
  • 6be8ba7823 Add readme A.Olokhtonov 2023-11-21 16:33:13 +0300
  • 7752e41bf5 Separate CPU and GPU timings in debug window A.Olokhtonov 2023-11-21 16:32:17 +0300
  • 1bc6f2c3fe No clipping at zoom < 0.3. Really fast A.Olokhtonov 2023-11-21 02:09:39 +0300
  • 316d0fedc9 Use correct rendering order.. A.Olokhtonov 2023-11-14 02:16:12 +0300
  • e86ffd6508 Depth prepass with simplified opaque shapes A.Olokhtonov 2023-11-14 01:33:57 +0300
  • 7e3b6156c0 Render stroke_id to a small texture A.Olokhtonov 2023-11-09 19:42:11 +0300
  • 0d8667aa3a Use TypedArray for culling. This is up to 10 times faster! A.Olokhtonov 2023-11-07 22:28:19 +0300
  • e41997563f Faster clipping A.Olokhtonov 2023-11-07 17:59:35 +0300
  • 46cd48fecd Cull segments, switch to indexed drawing (only for static data for now) A.Olokhtonov 2023-11-07 03:24:18 +0300
  • be50af68d4 Delete garbage file A.Olokhtonov 2023-08-28 12:27:52 +0300
  • 72deea0b03 Added LICENSE (unlicense) A.Olokhtonov 2023-08-28 12:25:49 +0300
  • 9a8854dc90 Handle touchstart with 2 e.changedTouches. This fixes panning sometimes not working on iPhone A.Olokhtonov 2023-08-28 01:52:02 +0300
  • 1803dedee2 Black-on-white cursor for ultimate readability A.Olokhtonov 2023-08-28 01:38:28 +0300
  • 14faef4146 Better draw->move cancellation. Instead of not registering short strokes, cancel them for all users if we registered a second finger during the time window. A.Olokhtonov 2023-08-28 01:32:47 +0300
  • c5928dd5bd Do not upload whole static buffer, instead use glBufferSubData. This commit fixes lag (and skipped iinputs) when other people are drawing A.Olokhtonov 2023-08-28 00:59:31 +0300
  • eefbb8ef75 Do not upload buffers each frame (DUH!), re-introduce dynamic data, set headers in caddy to enable precise timings A.Olokhtonov 2023-08-25 22:41:30 +0300
  • 605500028a Bump version A.Olokhtonov 2023-08-24 15:32:48 +0300
  • c1fd46da53 We have achieved good AA! A.Olokhtonov 2023-08-24 15:23:21 +0300
  • 01db70cab0 Good speed (quad per line segment). Need to figure out rounding A.Olokhtonov 2023-08-24 13:45:21 +0300
  • e3ae4cf6cd Upload whole point buffer, and align its size to 8K A.Olokhtonov 2023-08-22 18:46:11 +0300
  • 46587068e6 Limit max points per quad, fix wrong rounding of texture size A.Olokhtonov 2023-08-22 18:38:19 +0300
  • f72cbf5941 SDF bull fixed boxes + passed stroke width to shader A.Olokhtonov 2023-08-21 21:26:23 +0300
  • 69feb482a2 sdf bullshit (almost working) A.Olokhtonov 2023-08-06 02:03:34 +0300
  • ad9cded350 Sweet juicy svg cursor infinite A.Olokhtonov 2023-04-27 18:38:21 +0300
  • 6f446b7d13 Fwidth in the shader for "more gooder" AA A.Olokhtonov 2023-04-27 17:14:10 +0300
  • 8b3f28337e SDF town A.Olokhtonov 2023-04-27 01:17:16 +0300
  • 8557c5d47e Caps and joints via fragment shader A.Olokhtonov 2023-04-25 17:30:00 +0300
  • 0271e38dbc Fix wrong buffered points A.Olokhtonov 2023-04-24 16:20:39 +0300
  • 31b18e69a0 Images moving around, paste image from clipboard A.Olokhtonov 2023-04-24 02:52:18 +0300
  • 3b8232e196 Image broadcast A.Olokhtonov 2023-04-24 01:14:26 +0300
  • 1edcc6725b Moar better color/width sync A.Olokhtonov 2023-04-24 00:59:24 +0300
  • ac0d8f7605 Betta websocket reconnect A.Olokhtonov 2023-04-23 22:08:15 +0300
  • 33898ab27a Client code cleanup p1 A.Olokhtonov 2023-04-23 19:13:34 +0300
  • dec07b4edc Remove users from backend, leave only sessions. Simplify storage A.Olokhtonov 2023-04-23 19:00:27 +0300
  • cb783db614 Per-user stroke width and color (for dynamic strokes) kinda work A.Olokhtonov 2023-04-22 23:24:27 +0300
  • 165d9235ce Wrote what to do NEXT: A.Olokhtonov 2023-04-22 10:38:59 +0300
  • 7c2ba5ff72 Do not schedule RAF if it already is scheduled (somewhat fixes event spam from chrome!) A.Olokhtonov 2023-04-16 21:33:28 +0300
  • 110afe123f Brush preview A.Olokhtonov 2023-04-16 20:45:50 +0300
  • 45c3af9c67 Brush width control. Phone "zen mode" button A.Olokhtonov 2023-04-16 20:31:57 +0300
  • bf273a9424 Fix HiDPI support on non-touch devices A.Olokhtonov 2023-04-16 14:29:25 +0300
  • 59cb197e58 I don't even know anymore (colors?) A.Olokhtonov 2023-04-16 01:00:51 +0300
  • 343008c0af f32 coordinates A.Olokhtonov 2023-04-15 17:13:49 +0300
  • f24e8d386b Pictures good A.Olokhtonov 2023-04-14 22:14:14 +0300
  • 29f697dceb Texture test A.Olokhtonov 2023-04-14 01:43:09 +0300
  • 04c11e23f3 Nice touch! A.Olokhtonov 2023-04-13 23:45:36 +0300
  • 5c0d9e1537 The gooder biba A.Olokhtonov 2023-04-13 15:35:57 +0300
  • 5593536485 Working rounded lines! A.Olokhtonov 2023-04-11 20:43:47 +0300
  • ab152b2d0a Investigating rounded corners (buggy!) A.Olokhtonov 2023-04-11 17:45:30 +0300
  • e056d6c698 Round caps! A.Olokhtonov 2023-04-10 16:16:00 +0300
  • 7011cc86be Some kind of shitty webgl line renderer A.Olokhtonov 2023-04-09 20:43:21 +0300
  • 664f44c4ea Works on Safari 12 @ IOS master A.Olokhtonov 2023-04-09 15:11:31 +0300
  • f24711cced Touch controls weweweweyayayaya A.Olokhtonov 2023-04-09 00:38:31 +0300
  • b6afe2c8e8 Undo for eraser and image move A.Olokhtonov 2023-03-26 13:17:12 +0300
  • 8a4421f0e0 Clear events on init A.Olokhtonov 2023-03-26 02:03:40 +0300
  • 8e96700c45 Eraser! A.Olokhtonov 2023-03-26 01:58:16 +0300
  • 1cc6144ea4 Clear image layer on full redraw A.Olokhtonov 2023-03-26 01:15:53 +0300
  • 70d8ab883d Move images around A.Olokhtonov 2023-03-26 01:12:32 +0300
  • 27c8c83d98 Draw images on separate layer as <img> elements A.Olokhtonov 2023-03-25 19:20:56 +0300
  • 7230806adb Pan + zoom! A.Olokhtonov 2023-03-25 19:06:41 +0300
  • c8365d1be0 Colors and widths A.Olokhtonov 2023-03-22 01:43:25 +0300
  • 2b01730749 Correct Ctrl+Z with image support A.Olokhtonov 2023-03-22 00:31:39 +0300
  • 33d1f93d92 Better drag/pan A.Olokhtonov 2023-03-21 22:47:26 +0300
  • 5ea55d9ab0 Images! A.Olokhtonov 2023-03-21 22:34:16 +0300
  • 4466640439 Initital commit A.Olokhtonov 2023-03-21 20:33:52 +0300