Commit Graph

  • dc824c12c9 Reuse a single circle geometry. One circle per segment. Still needs last circle sdf Aleksey Olokhtonov 2024-11-10 22:31:16 +0300
  • 78ba044527 Use straight up geometry for everything, finally obtaining TRANSPARENCY! Freya 🙏 🙏 🙏 A.Olokhtonov 2024-11-06 00:23:07 +0300
  • dc235c7365 Implement partial uploads to texture A.Olokhtonov 2024-10-27 19:31:15 +0300
  • 0c3259d00f Tweak initial BVH construction to split along the longest axis, instead of alternating between vertical and horizontal. Big perf wins on large boards because of more sane distribution of fullnodes A.Olokhtonov 2024-10-27 17:58:52 +0300
  • a2f574214c Fix warning when dynamic draw has only a single point. Fragment shader fix is untested. Aleksey Olokhtonov 2024-10-19 20:59:14 +0300
  • 0c21579694 Boudning boxes debug draw. Fix missing mipmap warning. Fix dynamic stroke not drawing on empty canvas Aleksey Olokhtonov 2024-10-19 20:39:26 +0300
  • 4e09c47190 Sudden shader refactoring (automatically extract locations a-la tiny-sdf) A.Olokhtonov 2024-09-28 14:55:08 +0300
  • fea2874004 Merge scale and move local history, fixing undo for image move/scale A.Olokhtonov 2024-09-17 21:47:38 +0300
  • 8bea9593da The big unAWAITing! Also found the image scale undo bug, but haven't fixed yet A.Olokhtonov 2024-09-15 16:05:39 +0300
  • 29ec265632 Keep multiple current strokes ("prestrokes") per player in a queue A.Olokhtonov 2024-09-14 19:31:16 +0300
  • bdc3bdc9a1 Undo for all available actions A.Olokhtonov 2024-09-08 00:05:46 +0300
  • 5d45eb3255 Undo eraser A.Olokhtonov 2024-09-07 17:35:44 +0300
  • 49620ff8fb Fix image selection order, fix image upload typo. Bind hotkeys to switch between tools A.Olokhtonov 2024-09-07 13:48:22 +0300
  • 9892ebf33a SSAO experiments (unfinihsed) ssao A.Olokhtonov 2024-07-14 14:32:53 +0300
  • ea409f76c4 Basic snapping to grid is kinda working (needs more testing). Deleted obsolete shaders and debug options A.Olokhtonov 2024-07-02 01:04:05 +0300
  • 8b4b4e09f7 Basic line drawing is back IN A.Olokhtonov 2024-06-30 15:11:25 +0300
  • b11c46354f Add line-line intersection test to the eraser to kinda make it work for faster movement A.Olokhtonov 2024-06-30 14:38:48 +0300
  • ab1659f77f Fix missing dummy stroke for undo event. Fix typo in listener A.Olokhtonov 2024-06-30 14:16:20 +0300
  • 803b7f80cb Eraser has gone on-line! A.Olokhtonov 2024-06-21 00:37:44 +0300
  • 0ffac004c0 Eraser works again! Offline though A.Olokhtonov 2024-06-21 00:26:25 +0300
  • 21aecb7d08 Make image move and image scale work in multiplayer. Add width and height to image event and fix late-arriving bitmaps breaking things A.Olokhtonov 2024-06-17 01:07:37 +0300
  • 45bac3395a Clean up image move/scale logic a little bit. Remove obsolete cursor.js file A.Olokhtonov 2024-06-16 23:13:54 +0300
  • 9d6f333778 Resize images (local only) A.Olokhtonov 2024-06-16 14:16:34 +0300
  • 254268c309 Move images (local only) A.Olokhtonov 2024-06-12 23:09:24 +0300
  • c1583cb8fb Resize handles for images A.Olokhtonov 2024-06-12 22:45:10 +0300
  • 66e84c1a50 More betterer active image highlight A.Olokhtonov 2024-06-12 20:52:56 +0300
  • acb9aaa83d Fix misallocation of pressures tv_array A.Olokhtonov 2024-05-27 10:38:53 +0300
  • 4a6d1d6640 Fix dummy offsets not getting inserted if first event is not a stroke A.Olokhtonov 2024-05-25 01:40:37 +0300
  • c6f8bc4b5a Fix first stroke preview not showing A.Olokhtonov 2024-05-25 01:13:27 +0300
  • 5871833cd1 (Probably) fix the nasty WASM mis-allocations A.Olokhtonov 2024-05-25 01:00:14 +0300
  • 8a15093147 The images are in A.Olokhtonov 2024-05-20 08:26:41 +0300
  • 903660adbc Marginally better grid level transitions A.Olokhtonov 2024-05-19 16:16:17 +0300
  • 5aa29b18c0 Fix follow mode by separating canvas move and zoom events. Touch devices are TODO! Aleksey Olokhtonov 2024-05-12 13:49:17 +0300
  • 01560389af Fix predrawn curves having zero width Aleksey Olokhtonov 2024-05-12 13:08:32 +0300
  • 90f0beb4f9 Undo is back in! Aleksey Olokhtonov 2024-05-12 12:44:58 +0300
  • e2ba3bb1c2 Make zoom animation use delta time Aleksey Olokhtonov 2024-05-12 10:35:07 +0300
  • bf2eace6fe Grid background pattern A.Olokhtonov 2024-05-10 15:06:29 +0300
  • eafe860990 Zoom without the mousewheel by holding down Z A.Olokhtonov 2024-05-10 13:33:00 +0300
  • eb66ffbcad Significantly improve stroke smoothing and pressure handling. "Fix" issue with underallocation of WASM memory by doubling the size A.Olokhtonov 2024-05-09 15:41:34 +0300
  • 30559b0381 The dots are now zoomable A.Olokhtonov 2024-05-06 01:28:52 +0300
  • c13e5a6848 Smooth zooming A.Olokhtonov 2024-05-05 01:09:15 +0300
  • ee42e400c4 Dots pattern with fancy fadeout A.Olokhtonov 2024-05-05 00:49:07 +0300
  • 807a1d0c03 More betterer picker icon. Hide dom brush when in picker mode A.Olokhtonov 2024-05-04 19:01:04 +0300
  • 07bb47b6dc Dynamic cursor that shows size and color of the brush. Background pattern scaffolding A.Olokhtonov 2024-05-04 18:50:44 +0300
  • 5552dc11a3 Make cursor reflect the size of the brush. Doesn't work when the brush size is > max allowed cursor size though A.Olokhtonov 2024-04-21 18:18:38 +0300
  • e4a10ebf30 Make color picker actually change the active color A.Olokhtonov 2024-04-20 23:10:55 +0300
  • 68c892ba5f Color picker: picks colors! They don't get used though A.Olokhtonov 2024-04-20 22:48:07 +0300
  • 48e9dd9a3e Remove stupid try catch from webgl_draw A.Olokhtonov 2024-04-08 01:27:48 +0300
  • 221e2a5aed Fix bvh fullnodes returning full buffer instead of tv_data. Skip handling of empty strokes A.Olokhtonov 2024-04-08 01:25:34 +0300
  • c3f66d966c Determinitstic zooming A.Olokhtonov 2024-04-06 13:57:40 +0300
  • acdbf73a26 Add new strokes to fullnodes. Strokes appear one too late though A.Olokhtonov 2024-04-01 01:31:33 +0300
  • 6d9791d3e0 Cache full stroke lists in BVH levels (massive speedup!). Remove "line_threshold" array, since it has very little effect. A.Olokhtonov 2024-04-01 00:28:04 +0300
  • f6573e7bb9 Correcty complute total point count. Only call glClear once workers have finished LOD. Only allow next draw() call after we finished rendering frame A.Olokhtonov 2024-03-28 14:19:49 +0300
  • c5ad40f739 Update README A.Olokhtonov 2024-03-28 11:36:38 +0300
  • 4f84509b16 Multithreading works! Kinda sorta (slows down in chrome, out of bounds accesses on phone) A.Olokhtonov 2024-03-27 00:46:06 +0300
  • 2c01d315d6 A small test WASM module to demonstrate how to use shared memory and run multiple threads in WASM without Emscripten A.Olokhtonov 2024-03-24 23:30:35 +0300
  • e949860279 Change extracts of pressure byutes to a f32x4_make. Change andnot masking to a bitselect. Rename readme.md to readme.txt to hopefully fix gitea formatting A.Olokhtonov 2024-03-23 12:20:10 +0300
  • 37ff1e55bc Oops, actually enable SIMD A.Olokhtonov 2024-03-22 13:34:15 +0300
  • 84a5859541 SIMD version of rdp_find_max. 16->12ms cpu frametime firefox, 16->9ms chrome A.Olokhtonov 2024-03-22 13:32:54 +0300
  • 6f78c0ae21 AoS -> SoA for point coordinates A.Olokhtonov 2024-03-21 23:36:23 +0300
  • 58f2a60295 Fix wrong wasm allocation, remove unused js LOD code, take radius of stroke into account when doing LOD, reduce EPS for LOD A.Olokhtonov 2024-03-17 15:43:25 +0300
  • 40dd278f21 Improved shader (thanks BYP!) A.Olokhtonov 2024-01-31 01:55:07 +0300
  • 6f19e6c954 Uneven capsules (and a very naive shader) to draw getter variable-width lines A.Olokhtonov 2024-01-31 01:06:10 +0300
  • dfecad2c99 Fix strokes being added to storage even when skipped by SN logic aolo2 2024-01-13 23:11:09 +0300
  • 704c833c16 First working draft of pressure hanlding aolo2 2024-01-13 22:19:50 +0300
  • 71f1016a40 Store WASM-processed data in WASM memory aolo2 2024-01-13 20:07:06 +0300
  • 8abe88373f Skip copying out segments and segments_from. Use wasm_points and wasm_ids as is A.Olokhtonov 2024-01-13 14:45:08 +0300
  • 3bf812df39 Move point writes to WASM, already a lot faster!!!! A.Olokhtonov 2024-01-13 14:26:27 +0300
  • c9d1706b6e Fix final (???) WASM issue A.Olokhtonov 2024-01-13 13:52:59 +0300
  • 1960bdebe9 LOD generation has been wassembled! (a little borked for now though) A.Olokhtonov 2024-01-13 04:18:57 +0300
  • cf11f6c701 Successfull sum function in wasm :D A.Olokhtonov 2024-01-13 00:59:33 +0300
  • 28fec7f306 Redraw HTML on canvas move, first draft of wasm LOD core A.Olokhtonov 2024-01-12 02:39:23 +0300
  • 4b5b8db053 Update README A.Olokhtonov 2024-01-11 03:09:25 +0300
  • ab7545918b Fix state.me not being set when joining new desk A.Olokhtonov 2024-01-11 03:08:30 +0300
  • 7555de10bf Long touch to open color picker details A.Olokhtonov 2024-01-11 02:14:03 +0300
  • 08ba8a7687 Fix GC pauses! A.Olokhtonov 2024-01-11 01:56:28 +0300
  • cc800c1ffe Fancy-shmancy Open Color (TM) color pallete A.Olokhtonov 2024-01-11 00:44:26 +0300
  • 8bbcfb616f JOIN event, send online info for users in init message A.Olokhtonov 2024-01-10 01:47:56 +0300
  • 99bd99a465 Follow and unfollow players like in Figma A.Olokhtonov 2024-01-10 01:17:41 +0300
  • ee1d1471f4 Pretty(er) player cursor: bright colors and an actual icon A.Olokhtonov 2024-01-09 22:47:57 +0300
  • d8a5cd3fca Draw player pointers as colored squares with html A.Olokhtonov 2024-01-08 21:31:14 +0300
  • 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