55 Commits (e41997563fb101affec0c758406ecddbab62e672)

Author SHA1 Message Date
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 72deea0b03 Added LICENSE (unlicense) 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 1803dedee2 Black-on-white cursor for ultimate readability 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 01db70cab0 Good speed (quad per line segment). Need to figure out rounding 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 f72cbf5941 SDF bull fixed boxes + passed stroke width to shader 1 year ago
A.Olokhtonov 69feb482a2 sdf bullshit (almost working) 1 year ago
A.Olokhtonov ad9cded350 Sweet juicy svg cursor 2 years ago
A.Olokhtonov 6f446b7d13 Fwidth in the shader for "more gooder" AA 2 years ago
A.Olokhtonov 8b3f28337e SDF town 2 years ago
A.Olokhtonov 8557c5d47e Caps and joints via fragment shader 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 165d9235ce Wrote what to do NEXT: 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 bf273a9424 Fix HiDPI support on non-touch devices 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 f24e8d386b Pictures good 2 years ago
A.Olokhtonov 29f697dceb Texture test 2 years ago
A.Olokhtonov 04c11e23f3 Nice touch! 2 years ago
A.Olokhtonov 5c0d9e1537 The gooder biba 2 years ago
A.Olokhtonov 5593536485 Working rounded lines! 2 years ago
A.Olokhtonov ab152b2d0a Investigating rounded corners (buggy!) 2 years ago
A.Olokhtonov e056d6c698 Round caps! 2 years ago
A.Olokhtonov 7011cc86be Some kind of shitty webgl line renderer 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 b6afe2c8e8 Undo for eraser and image move 2 years ago
A.Olokhtonov 8a4421f0e0 Clear events on init 2 years ago
A.Olokhtonov 8e96700c45 Eraser! 2 years ago
A.Olokhtonov 1cc6144ea4 Clear image layer on full redraw 2 years ago
A.Olokhtonov 70d8ab883d Move images around 2 years ago
A.Olokhtonov 27c8c83d98 Draw images on separate layer as <img> elements 2 years ago
A.Olokhtonov 7230806adb Pan + zoom! 2 years ago