149 Commits (ssao)
 

Author SHA1 Message Date
A.Olokhtonov 9892ebf33a SSAO experiments (unfinihsed) 4 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 c1583cb8fb Resize handles for images 5 months ago
A.Olokhtonov 66e84c1a50 More betterer active image highlight 5 months ago
A.Olokhtonov acb9aaa83d Fix misallocation of pressures tv_array 6 months ago
A.Olokhtonov 4a6d1d6640 Fix dummy offsets not getting inserted if first event is not a stroke 6 months ago
A.Olokhtonov c6f8bc4b5a Fix first stroke preview not showing 6 months ago
A.Olokhtonov 5871833cd1 (Probably) fix the nasty WASM mis-allocations 6 months ago
A.Olokhtonov 8a15093147 The images are in 6 months ago
A.Olokhtonov 903660adbc Marginally better grid level transitions 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 01560389af Fix predrawn curves having zero width 6 months ago
Aleksey Olokhtonov 90f0beb4f9 Undo is back in! 6 months ago
Aleksey Olokhtonov e2ba3bb1c2 Make zoom animation use delta time 6 months ago
A.Olokhtonov bf2eace6fe Grid background pattern 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 30559b0381 The dots are now zoomable 6 months ago
A.Olokhtonov c13e5a6848 Smooth zooming 6 months ago
A.Olokhtonov ee42e400c4 Dots pattern with fancy fadeout 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 48e9dd9a3e Remove stupid try catch from webgl_draw 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 c3f66d966c Determinitstic zooming 7 months ago
A.Olokhtonov acdbf73a26 Add new strokes to fullnodes. Strokes appear one too late though 8 months ago
A.Olokhtonov 6d9791d3e0 Cache full stroke lists in BVH levels (massive speedup!). Remove "line_threshold" array, since it has very little effect. 8 months ago
A.Olokhtonov f6573e7bb9 Correcty complute total point count. Only call glClear once workers have finished LOD. Only allow next draw() call after we finished rendering frame 8 months ago
A.Olokhtonov c5ad40f739 Update README 8 months ago
A.Olokhtonov 4f84509b16 Multithreading works! Kinda sorta (slows down in chrome, out of bounds accesses on phone) 8 months ago
A.Olokhtonov 2c01d315d6 A small test WASM module to demonstrate how to use shared memory and run multiple threads in WASM without Emscripten 8 months ago
A.Olokhtonov e949860279 Change extracts of pressure byutes to a f32x4_make. Change andnot masking to a bitselect. Rename readme.md to readme.txt to hopefully fix gitea formatting 8 months ago
A.Olokhtonov 37ff1e55bc Oops, actually enable SIMD 8 months ago
A.Olokhtonov 84a5859541 SIMD version of rdp_find_max. 16->12ms cpu frametime firefox, 16->9ms chrome 8 months ago
A.Olokhtonov 6f78c0ae21 AoS -> SoA for point coordinates 8 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 40dd278f21 Improved shader (thanks BYP!) 10 months ago
A.Olokhtonov 6f19e6c954 Uneven capsules (and a very naive shader) to draw getter variable-width lines 10 months ago