51 Commits (8a15093147ea774c3b13eb887e7dfa5f7c2d429e)

Author SHA1 Message Date
A.Olokhtonov 07bb47b6dc Dynamic cursor that shows size and color of the brush. Background pattern scaffolding 6 months ago
A.Olokhtonov 5552dc11a3 Make cursor reflect the size of the brush. Doesn't work when the brush size is > max allowed cursor size though 7 months ago
A.Olokhtonov 68c892ba5f Color picker: picks colors! They don't get used though 7 months ago
A.Olokhtonov 221e2a5aed Fix bvh fullnodes returning full buffer instead of tv_data. Skip handling of empty strokes 7 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
A.Olokhtonov 1960bdebe9 LOD generation has been wassembled! (a little borked for now though) 10 months ago
A.Olokhtonov 28fec7f306 Redraw HTML on canvas move, first draft of wasm LOD core 10 months ago
A.Olokhtonov ab7545918b Fix state.me not being set when joining new desk 10 months ago
A.Olokhtonov 7555de10bf Long touch to open color picker details 10 months ago
A.Olokhtonov 08ba8a7687 Fix GC pauses! 10 months ago
A.Olokhtonov cc800c1ffe Fancy-shmancy Open Color (TM) color pallete 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 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 fdca3e6b07 Fix epsilon calculation for RDP 11 months ago
A.Olokhtonov 72eedf9b48 Fix dynamic data 11 months ago
A.Olokhtonov a991cf3247 BVH construction and modification 12 months ago
A.Olokhtonov 7752e41bf5 Separate CPU and GPU timings in debug window 12 months ago
A.Olokhtonov 1bc6f2c3fe No clipping at zoom < 0.3. Really fast 12 months ago
A.Olokhtonov 46cd48fecd Cull segments, switch to indexed drawing (only for static data for now) 1 year ago
A.Olokhtonov 9a8854dc90 Handle touchstart with 2 e.changedTouches. This fixes panning sometimes not working on iPhone 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
A.Olokhtonov eefbb8ef75 Do not upload buffers each frame (DUH!), re-introduce dynamic data, set headers in caddy to enable precise timings 1 year ago
A.Olokhtonov 605500028a Bump version 1 year ago
A.Olokhtonov c1fd46da53 We have achieved good AA! 1 year ago
A.Olokhtonov e3ae4cf6cd Upload whole point buffer, and align its size to 8K 1 year ago
A.Olokhtonov 46587068e6 Limit max points per quad, fix wrong rounding of texture size 1 year ago
A.Olokhtonov 69feb482a2 sdf bullshit (almost working) 1 year ago
A.Olokhtonov 8b3f28337e SDF town 2 years ago
A.Olokhtonov 0271e38dbc Fix wrong buffered points 2 years ago
A.Olokhtonov 31b18e69a0 Images moving around, paste image from clipboard 2 years ago
A.Olokhtonov 3b8232e196 Image broadcast 2 years ago
A.Olokhtonov 1edcc6725b Moar better color/width sync 2 years ago
A.Olokhtonov ac0d8f7605 Betta websocket reconnect 2 years ago
A.Olokhtonov 33898ab27a Client code cleanup p1 2 years ago
A.Olokhtonov cb783db614 Per-user stroke width and color (for dynamic strokes) kinda work 2 years ago
A.Olokhtonov 7c2ba5ff72 Do not schedule RAF if it already is scheduled (somewhat fixes event spam from chrome!) 2 years ago
A.Olokhtonov 110afe123f Brush preview 2 years ago
A.Olokhtonov 45c3af9c67 Brush width control. Phone "zen mode" button 2 years ago
A.Olokhtonov 59cb197e58 I don't even know anymore (colors?) 2 years ago
A.Olokhtonov 343008c0af f32 coordinates 2 years ago
A.Olokhtonov 664f44c4ea Works on Safari 12 @ IOS 2 years ago
A.Olokhtonov f24711cced Touch controls weweweweyayayaya 2 years ago
A.Olokhtonov 27c8c83d98 Draw images on separate layer as <img> elements 2 years ago
A.Olokhtonov c8365d1be0 Colors and widths 2 years ago
A.Olokhtonov 2b01730749 Correct Ctrl+Z with image support 2 years ago