76 Commits (45bac3395a466b04bbc731b6d5488df1b25abc4f)

Author SHA1 Message Date
A.Olokhtonov 45bac3395a Clean up image move/scale logic a little bit. Remove obsolete cursor.js file 5 months ago
A.Olokhtonov 9d6f333778 Resize images (local only) 5 months ago
A.Olokhtonov c1583cb8fb Resize handles for images 5 months ago
A.Olokhtonov 66e84c1a50 More betterer active image highlight 5 months ago
A.Olokhtonov 5871833cd1 (Probably) fix the nasty WASM mis-allocations 6 months ago
A.Olokhtonov 8a15093147 The images are in 6 months ago
A.Olokhtonov 903660adbc Marginally better grid level transitions 6 months ago
Aleksey Olokhtonov 5aa29b18c0 Fix follow mode by separating canvas move and zoom events. Touch devices are TODO! 6 months ago
Aleksey Olokhtonov 90f0beb4f9 Undo is back in! 6 months ago
Aleksey Olokhtonov e2ba3bb1c2 Make zoom animation use delta time 6 months ago
A.Olokhtonov bf2eace6fe Grid background pattern 6 months ago
A.Olokhtonov eafe860990 Zoom without the mousewheel by holding down Z 6 months ago
A.Olokhtonov c13e5a6848 Smooth zooming 6 months ago
A.Olokhtonov ee42e400c4 Dots pattern with fancy fadeout 6 months ago
A.Olokhtonov e4a10ebf30 Make color picker actually change the active color 7 months ago
A.Olokhtonov 68c892ba5f Color picker: picks colors! They don't get used though 7 months ago
A.Olokhtonov c3f66d966c Determinitstic zooming 7 months ago
A.Olokhtonov 6d9791d3e0 Cache full stroke lists in BVH levels (massive speedup!). Remove "line_threshold" array, since it has very little effect. 8 months ago
A.Olokhtonov 58f2a60295 Fix wrong wasm allocation, remove unused js LOD code, take radius of stroke into account when doing LOD, reduce EPS for LOD 8 months ago
aolo2 704c833c16 First working draft of pressure hanlding 10 months ago
aolo2 71f1016a40 Store WASM-processed data in WASM memory 10 months ago
A.Olokhtonov 8abe88373f Skip copying out segments and segments_from. Use wasm_points and wasm_ids as is 10 months ago
A.Olokhtonov 1960bdebe9 LOD generation has been wassembled! (a little borked for now though) 10 months ago
A.Olokhtonov cf11f6c701 Successfull sum function in wasm :D 10 months ago
A.Olokhtonov 28fec7f306 Redraw HTML on canvas move, first draft of wasm LOD core 10 months ago
A.Olokhtonov cc800c1ffe Fancy-shmancy Open Color (TM) color pallete 10 months ago
A.Olokhtonov 8bbcfb616f JOIN event, send online info for users in init message 10 months ago
A.Olokhtonov 99bd99a465 Follow and unfollow players like in Figma 10 months ago
A.Olokhtonov ee1d1471f4 Pretty(er) player cursor: bright colors and an actual icon 10 months ago
A.Olokhtonov d8a5cd3fca Draw player pointers as colored squares with html 10 months ago
A.Olokhtonov 1f983f3389 Fix multiplayer, add mouse wheel panning 10 months ago
A.Olokhtonov c893a73ec5 You can draw once again! 10 months ago
A.Olokhtonov 847fb70381 Don't repeat points segment points. Introduce "tv" (typedvector) 10 months ago
A.Olokhtonov 9bbab32369 Try to speed up the LOD calculation with a cache (kinda succesfull, but not really) 11 months ago
A.Olokhtonov a60c3d1948 Recompute LODs and instance data on demand - ??? - it works??? 11 months ago
A.Olokhtonov 248501e50f Remove recursive allocations from process_rdp 11 months ago
A.Olokhtonov 1438b0ad73 LODs work! Need to fix that memory usage though 11 months ago
A.Olokhtonov 60fc48b1e7 Fix dynamic draw to use indexed, and thus the same shader as main 11 months ago
A.Olokhtonov fdca3e6b07 Fix epsilon calculation for RDP 11 months ago
A.Olokhtonov 72eedf9b48 Fix dynamic data 12 months ago
A.Olokhtonov a991cf3247 BVH construction and modification 12 months ago
aolo2 1691bd07ae Milton blackboard import 12 months ago
A.Olokhtonov 1bc6f2c3fe No clipping at zoom < 0.3. Really fast 1 year ago
A.Olokhtonov e86ffd6508 Depth prepass with simplified opaque shapes 1 year ago
A.Olokhtonov 7e3b6156c0 Render stroke_id to a small texture 1 year ago
A.Olokhtonov 0d8667aa3a Use TypedArray for culling. This is up to 10 times faster! 1 year ago
A.Olokhtonov e41997563f Faster clipping 1 year ago
A.Olokhtonov 46cd48fecd Cull segments, switch to indexed drawing (only for static data for now) 1 year ago
A.Olokhtonov 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. 1 year ago
A.Olokhtonov c5928dd5bd Do not upload whole static buffer, instead use glBufferSubData. This commit fixes lag (and skipped iinputs) when other people are drawing 1 year ago