75 Commits (0384ac624623e74a13a450efcc0623d248d6046d)

Author SHA1 Message Date
Aleksey Olokhtonov cf4b1880d2 Actually perfect smoothing. Amazing, good, Demetri.y 3 months ago
Aleksey Olokhtonov 61f93e0ef0 Add option to use "demetri smoothing". Small fixes here and there 3 months ago
A.Olokhtonov 86193fe26d Reset player.current_prestroke if we deleted last prestroke of theirs 1 year ago
A.Olokhtonov a57b814982 Panning and zooming with touch also works (more or less) 1 year ago
A.Olokhtonov 666d0393d8 Resurrect image handles 1 year ago
A.Olokhtonov b961504b54 Separate stroke rendering into function. Reuse said function for static 1 year ago
A.Olokhtonov 500fd71d3e Batching is working! (only in singethreaded mode though) 1 year ago
A.Olokhtonov 777772530f Batching is close to working. Not quite though 1 year ago
A.Olokhtonov 8a4e87f4c6 Batching of the main instanced drawcall 1 year ago
A.Olokhtonov 07bdbb585b Generate the circles using indexed geometry 1 year ago
Aleksey Olokhtonov dc824c12c9 Reuse a single circle geometry. One circle per segment. Still needs last circle 1 year ago
Aleksey Olokhtonov 0c21579694 Boudning boxes debug draw. Fix missing mipmap warning. Fix dynamic stroke not drawing on empty canvas 1 year ago
A.Olokhtonov fea2874004 Merge scale and move local history, fixing undo for image move/scale 1 year ago
A.Olokhtonov 29ec265632 Keep multiple current strokes ("prestrokes") per player in a queue 1 year ago
A.Olokhtonov bdc3bdc9a1 Undo for all available actions 1 year ago
A.Olokhtonov 49620ff8fb Fix image selection order, fix image upload typo. Bind hotkeys to switch between tools 1 year ago
A.Olokhtonov ea409f76c4 Basic snapping to grid is kinda working (needs more testing). Deleted obsolete shaders and debug options 2 years ago
A.Olokhtonov 8b4b4e09f7 Basic line drawing is back IN 2 years ago
A.Olokhtonov 0ffac004c0 Eraser works again! Offline though 2 years 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 2 years ago
A.Olokhtonov 45bac3395a Clean up image move/scale logic a little bit. Remove obsolete cursor.js file 2 years ago
A.Olokhtonov 9d6f333778 Resize images (local only) 2 years ago
A.Olokhtonov 254268c309 Move images (local only) 2 years ago
A.Olokhtonov c1583cb8fb Resize handles for images 2 years ago
A.Olokhtonov 8a15093147 The images are in 2 years ago
A.Olokhtonov 903660adbc Marginally better grid level transitions 2 years ago
Aleksey Olokhtonov 90f0beb4f9 Undo is back in! 2 years ago
A.Olokhtonov bf2eace6fe Grid background pattern 2 years ago
A.Olokhtonov eafe860990 Zoom without the mousewheel by holding down Z 2 years ago
A.Olokhtonov eb66ffbcad Significantly improve stroke smoothing and pressure handling. "Fix" issue with underallocation of WASM memory by doubling the size 2 years ago
A.Olokhtonov 30559b0381 The dots are now zoomable 2 years ago
A.Olokhtonov ee42e400c4 Dots pattern with fancy fadeout 2 years ago
A.Olokhtonov 6d9791d3e0 Cache full stroke lists in BVH levels (massive speedup!). Remove "line_threshold" array, since it has very little effect. 2 years ago
A.Olokhtonov 4f84509b16 Multithreading works! Kinda sorta (slows down in chrome, out of bounds accesses on phone) 2 years ago
aolo2 dfecad2c99 Fix strokes being added to storage even when skipped by SN logic 2 years ago
aolo2 704c833c16 First working draft of pressure hanlding 2 years ago
aolo2 71f1016a40 Store WASM-processed data in WASM memory 2 years ago
A.Olokhtonov 3bf812df39 Move point writes to WASM, already a lot faster!!!! 2 years ago
A.Olokhtonov 1960bdebe9 LOD generation has been wassembled! (a little borked for now though) 2 years ago
A.Olokhtonov 28fec7f306 Redraw HTML on canvas move, first draft of wasm LOD core 2 years ago
A.Olokhtonov ab7545918b Fix state.me not being set when joining new desk 2 years ago
A.Olokhtonov 08ba8a7687 Fix GC pauses! 2 years ago
A.Olokhtonov 1f983f3389 Fix multiplayer, add mouse wheel panning 2 years ago
A.Olokhtonov c893a73ec5 You can draw once again! 2 years ago
A.Olokhtonov 847fb70381 Don't repeat points segment points. Introduce "tv" (typedvector) 2 years ago
A.Olokhtonov 9bbab32369 Try to speed up the LOD calculation with a cache (kinda succesfull, but not really) 2 years ago
A.Olokhtonov a60c3d1948 Recompute LODs and instance data on demand - ??? - it works??? 2 years ago
A.Olokhtonov 248501e50f Remove recursive allocations from process_rdp 2 years ago
A.Olokhtonov 1438b0ad73 LODs work! Need to fix that memory usage though 2 years ago
A.Olokhtonov 60fc48b1e7 Fix dynamic draw to use indexed, and thus the same shader as main 2 years ago