67 Commits (d2adce838b4aa5ea14e3a5932e47720c91ae52b2)

Author SHA1 Message Date
Aleksey Olokhtonov 0c21579694 Boudning boxes debug draw. Fix missing mipmap warning. Fix dynamic stroke not drawing on empty canvas 4 weeks ago
A.Olokhtonov 4e09c47190 Sudden shader refactoring (automatically extract locations a-la 2 months ago
A.Olokhtonov fea2874004 Merge scale and move local history, fixing undo for image move/scale 2 months ago
A.Olokhtonov 8bea9593da The big unAWAITing! Also found the image scale undo bug, but haven't 2 months ago
A.Olokhtonov 29ec265632 Keep multiple current strokes ("prestrokes") per player in a queue 2 months ago
A.Olokhtonov 49620ff8fb Fix image selection order, fix image upload typo. Bind hotkeys to switch between tools 2 months ago
A.Olokhtonov ea409f76c4 Basic snapping to grid is kinda working (needs more testing). Deleted obsolete shaders and debug options 5 months ago
A.Olokhtonov 8b4b4e09f7 Basic line drawing is back IN 5 months ago
A.Olokhtonov b11c46354f Add line-line intersection test to the eraser to kinda make it work for faster movement 5 months ago
A.Olokhtonov ab1659f77f Fix missing dummy stroke for undo event. Fix typo in listener 5 months ago
A.Olokhtonov 803b7f80cb Eraser has gone on-line! 5 months ago
A.Olokhtonov 0ffac004c0 Eraser works again! Offline though 5 months ago
A.Olokhtonov 21aecb7d08 Make image move and image scale work in multiplayer. Add width and height to image event and fix late-arriving bitmaps breaking things 5 months ago
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 254268c309 Move images (local only) 5 months ago
A.Olokhtonov 66e84c1a50 More betterer active image highlight 5 months ago
A.Olokhtonov 8a15093147 The images are in 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
A.Olokhtonov eafe860990 Zoom without the mousewheel by holding down Z 6 months ago
A.Olokhtonov eb66ffbcad Significantly improve stroke smoothing and pressure handling. "Fix" issue with underallocation of WASM memory by doubling the size 6 months ago
A.Olokhtonov c13e5a6848 Smooth zooming 6 months ago
A.Olokhtonov 807a1d0c03 More betterer picker icon. Hide dom brush when in picker mode 6 months ago
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 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 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
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 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 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 a60c3d1948 Recompute LODs and instance data on demand - ??? - it works??? 11 months ago
A.Olokhtonov 72eedf9b48 Fix dynamic data 12 months ago
A.Olokhtonov a991cf3247 BVH construction and modification 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 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 46587068e6 Limit max points per quad, fix wrong rounding of texture size 1 year ago