46 Commits (61f93e0ef07b58f6708f853909585cc52dc9aedd)

Author SHA1 Message Date
Aleksey Olokhtonov 61f93e0ef0 Add option to use "demetri smoothing". Small fixes here and there 6 days ago
A.Olokhtonov b11c46354f Add line-line intersection test to the eraser to kinda make it work for faster movement 1 year ago
A.Olokhtonov 0ffac004c0 Eraser works again! Offline though 1 year ago
A.Olokhtonov eb66ffbcad Significantly improve stroke smoothing and pressure handling. "Fix" issue with underallocation of WASM memory by doubling the size 1 year ago
A.Olokhtonov 68c892ba5f Color picker: picks colors! They don't get used though 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 6f78c0ae21 AoS -> SoA for point coordinates 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 28fec7f306 Redraw HTML on canvas move, first draft of wasm LOD core 2 years ago
A.Olokhtonov 99bd99a465 Follow and unfollow players like in Figma 2 years ago
A.Olokhtonov ee1d1471f4 Pretty(er) player cursor: bright colors and an actual icon 2 years ago
A.Olokhtonov d8a5cd3fca Draw player pointers as colored squares with html 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
A.Olokhtonov fdca3e6b07 Fix epsilon calculation for RDP 2 years ago
A.Olokhtonov a991cf3247 BVH construction and modification 2 years ago
A.Olokhtonov 1bc6f2c3fe No clipping at zoom < 0.3. Really fast 2 years ago
A.Olokhtonov e86ffd6508 Depth prepass with simplified opaque shapes 2 years ago
A.Olokhtonov 7e3b6156c0 Render stroke_id to a small texture 2 years ago
A.Olokhtonov 0d8667aa3a Use TypedArray for culling. This is up to 10 times faster! 2 years ago
A.Olokhtonov e41997563f Faster clipping 2 years ago
A.Olokhtonov 46cd48fecd Cull segments, switch to indexed drawing (only for static data for now) 2 years ago
A.Olokhtonov eefbb8ef75 Do not upload buffers each frame (DUH!), re-introduce dynamic data, set headers in caddy to enable precise timings 2 years ago
A.Olokhtonov c1fd46da53 We have achieved good AA! 2 years ago
A.Olokhtonov 69feb482a2 sdf bullshit (almost working) 2 years ago
A.Olokhtonov 6f446b7d13 Fwidth in the shader for "more gooder" AA 3 years ago
A.Olokhtonov 8b3f28337e SDF town 3 years ago
A.Olokhtonov 59cb197e58 I don't even know anymore (colors?) 3 years ago
A.Olokhtonov 343008c0af f32 coordinates 3 years ago
A.Olokhtonov 04c11e23f3 Nice touch! 3 years ago
A.Olokhtonov 5c0d9e1537 The gooder biba 3 years ago
A.Olokhtonov e056d6c698 Round caps! 3 years ago
A.Olokhtonov 7011cc86be Some kind of shitty webgl line renderer 3 years ago
A.Olokhtonov f24711cced Touch controls weweweweyayayaya 3 years ago
A.Olokhtonov b6afe2c8e8 Undo for eraser and image move 3 years ago
A.Olokhtonov 8e96700c45 Eraser! 3 years ago
A.Olokhtonov c8365d1be0 Colors and widths 3 years ago
A.Olokhtonov 4466640439 Initital commit 3 years ago