131 Commits (acb9aaa83d023c0faaa2eaeedf8cb735e6f28f1e)

Author SHA1 Message Date
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 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
aolo2 dfecad2c99 Fix strokes being added to storage even when skipped by SN logic 10 months ago
aolo2 704c833c16 First working draft of pressure hanlding 10 months ago
aolo2 71f1016a40 Store WASM-processed data in WASM memory 10 months ago
A.Olokhtonov 8abe88373f Skip copying out segments and segments_from. Use wasm_points and wasm_ids as is 10 months ago
A.Olokhtonov 3bf812df39 Move point writes to WASM, already a lot faster!!!! 10 months ago
A.Olokhtonov c9d1706b6e Fix final (???) WASM issue 10 months ago
A.Olokhtonov 1960bdebe9 LOD generation has been wassembled! (a little borked for now though) 10 months ago
A.Olokhtonov cf11f6c701 Successfull sum function in wasm :D 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 7555de10bf Long touch to open color picker details 10 months ago
A.Olokhtonov 08ba8a7687 Fix GC pauses! 10 months ago
A.Olokhtonov cc800c1ffe Fancy-shmancy Open Color (TM) color pallete 10 months ago
A.Olokhtonov 8bbcfb616f JOIN event, send online info for users in init message 10 months ago