184 Commits (26ec2216ce45a6950dcdf6f6250a7e0046341a9b)
 

Author SHA1 Message Date
Aleksey Olokhtonov 26ec2216ce Unstuck from picker mode on mousemove with no ctrl. 8 months ago
Aleksey Olokhtonov dc1553dc1e Increase WASM mem limit to 256MB. Rename aux.js to not get adblocked. 8 months ago
Aleksey Olokhtonov cf4b1880d2 Actually perfect smoothing. Amazing, good, Demetri.y 11 months ago
Aleksey Olokhtonov 61f93e0ef0 Add option to use "demetri smoothing". Small fixes here and there 11 months ago
A.Olokhtonov 967c7554dd Use e.pressure from touch screen 2 years ago
A.Olokhtonov 86193fe26d Reset player.current_prestroke if we deleted last prestroke of theirs 2 years ago
A.Olokhtonov a57b814982 Panning and zooming with touch also works (more or less) 2 years ago
A.Olokhtonov 7f9d04d620 Drawing with one finger kinda works again 2 years ago
A.Olokhtonov a32088991a Update readme 2 years ago
A.Olokhtonov 2a94d4625c Temprorarily undo busted partial texture uploads 2 years ago
A.Olokhtonov 666d0393d8 Resurrect image handles 2 years ago
A.Olokhtonov 8ffc5b99b5 Fix z range which sometimes caused the last stroke to have Z equal to 2 years ago
A.Olokhtonov da755e4ec2 Fix first stroke not drawing because it has Z=0 2 years ago
A.Olokhtonov b961504b54 Separate stroke rendering into function. Reuse said function for static 2 years ago
A.Olokhtonov 5bb8b0a7ee Further tune LOD levels to optimize triangle counts. Removed LOD level 7 2 years ago
A.Olokhtonov d618913111 Fix uninitialized return when no strokes are submitted to a thread 2 years ago
A.Olokhtonov 500fd71d3e Batching is working! (only in singethreaded mode though) 2 years ago
A.Olokhtonov 777772530f Batching is close to working. Not quite though 2 years ago
A.Olokhtonov ce824a8e31 Pass stroke widths to wasm (not actually writing any values right now, 2 years ago
A.Olokhtonov 55f390e55b Support different LOD level per batch of instances. Mostly OpenGL 2 years ago
A.Olokhtonov 8a4e87f4c6 Batching of the main instanced drawcall 2 years ago
A.Olokhtonov d2adce838b A simple (and bad) LOD determination scheme 2 years ago
A.Olokhtonov 07bdbb585b Generate the circles using indexed geometry 2 years ago
Aleksey Olokhtonov dc824c12c9 Reuse a single circle geometry. One circle per segment. Still needs last circle 2 years ago
A.Olokhtonov 78ba044527 Use straight up geometry for everything, finally obtaining TRANSPARENCY! 2 years ago
A.Olokhtonov dc235c7365 Implement partial uploads to texture 2 years ago
A.Olokhtonov 0c3259d00f Tweak initial BVH construction to split along the longest axis, instead 2 years ago
Aleksey Olokhtonov a2f574214c Fix warning when dynamic draw has only a single point. Fragment shader fix is untested. 2 years ago
Aleksey Olokhtonov 0c21579694 Boudning boxes debug draw. Fix missing mipmap warning. Fix dynamic stroke not drawing on empty canvas 2 years ago
A.Olokhtonov 4e09c47190 Sudden shader refactoring (automatically extract locations a-la 2 years ago
A.Olokhtonov fea2874004 Merge scale and move local history, fixing undo for image move/scale 2 years ago
A.Olokhtonov 8bea9593da The big unAWAITing! Also found the image scale undo bug, but haven't 2 years ago
A.Olokhtonov 29ec265632 Keep multiple current strokes ("prestrokes") per player in a queue 2 years ago
A.Olokhtonov bdc3bdc9a1 Undo for all available actions 2 years ago
A.Olokhtonov 5d45eb3255 Undo eraser 2 years ago
A.Olokhtonov 49620ff8fb Fix image selection order, fix image upload typo. Bind hotkeys to switch between tools 2 years 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 b11c46354f Add line-line intersection test to the eraser to kinda make it work for faster movement 2 years ago
A.Olokhtonov ab1659f77f Fix missing dummy stroke for undo event. Fix typo in listener 2 years ago
A.Olokhtonov 803b7f80cb Eraser has gone on-line! 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 66e84c1a50 More betterer active image highlight 2 years ago
A.Olokhtonov acb9aaa83d Fix misallocation of pressures tv_array 2 years ago
A.Olokhtonov 4a6d1d6640 Fix dummy offsets not getting inserted if first event is not a stroke 2 years ago