71 Commits (500fd71d3e0b5796e3821f356f41cb28c9fa3610)

Author SHA1 Message Date
A.Olokhtonov 777772530f Batching is close to working. Not quite though 2 months ago
A.Olokhtonov ce824a8e31 Pass stroke widths to wasm (not actually writing any values right now, 2 months ago
A.Olokhtonov 55f390e55b Support different LOD level per batch of instances. Mostly OpenGL 2 months ago
A.Olokhtonov 8a4e87f4c6 Batching of the main instanced drawcall 2 months ago
A.Olokhtonov d2adce838b A simple (and bad) LOD determination scheme 2 months ago
A.Olokhtonov 07bdbb585b Generate the circles using indexed geometry 2 months ago
Aleksey Olokhtonov dc824c12c9 Reuse a single circle geometry. One circle per segment. Still needs last circle 2 months ago
A.Olokhtonov 78ba044527 Use straight up geometry for everything, finally obtaining TRANSPARENCY! 3 months ago
A.Olokhtonov dc235c7365 Implement partial uploads to texture 3 months ago
A.Olokhtonov 0c3259d00f Tweak initial BVH construction to split along the longest axis, instead 3 months ago
Aleksey Olokhtonov a2f574214c Fix warning when dynamic draw has only a single point. Fragment shader fix is untested. 3 months ago
Aleksey Olokhtonov 0c21579694 Boudning boxes debug draw. Fix missing mipmap warning. Fix dynamic stroke not drawing on empty canvas 3 months ago
A.Olokhtonov 4e09c47190 Sudden shader refactoring (automatically extract locations a-la 4 months ago
A.Olokhtonov bdc3bdc9a1 Undo for all available actions 5 months ago
A.Olokhtonov 45bac3395a Clean up image move/scale logic a little bit. Remove obsolete cursor.js file 7 months ago
A.Olokhtonov c1583cb8fb Resize handles for images 7 months ago
A.Olokhtonov 66e84c1a50 More betterer active image highlight 7 months ago
A.Olokhtonov c6f8bc4b5a Fix first stroke preview not showing 8 months ago
A.Olokhtonov 5871833cd1 (Probably) fix the nasty WASM mis-allocations 8 months ago
A.Olokhtonov 8a15093147 The images are in 8 months ago
A.Olokhtonov 903660adbc Marginally better grid level transitions 8 months ago
Aleksey Olokhtonov 01560389af Fix predrawn curves having zero width 9 months ago
Aleksey Olokhtonov e2ba3bb1c2 Make zoom animation use delta time 9 months ago
A.Olokhtonov bf2eace6fe Grid background pattern 9 months ago
A.Olokhtonov 30559b0381 The dots are now zoomable 9 months ago
A.Olokhtonov c13e5a6848 Smooth zooming 9 months ago
A.Olokhtonov ee42e400c4 Dots pattern with fancy fadeout 9 months ago
A.Olokhtonov 07bb47b6dc Dynamic cursor that shows size and color of the brush. Background pattern scaffolding 9 months ago
A.Olokhtonov 48e9dd9a3e Remove stupid try catch from webgl_draw 10 months ago
A.Olokhtonov 221e2a5aed Fix bvh fullnodes returning full buffer instead of tv_data. Skip handling of empty strokes 10 months ago
A.Olokhtonov c3f66d966c Determinitstic zooming 10 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 10 months ago
A.Olokhtonov 4f84509b16 Multithreading works! Kinda sorta (slows down in chrome, out of bounds accesses on phone) 10 months ago
A.Olokhtonov 6f19e6c954 Uneven capsules (and a very naive shader) to draw getter variable-width lines 12 months ago
aolo2 704c833c16 First working draft of pressure hanlding 1 year ago
A.Olokhtonov 99bd99a465 Follow and unfollow players like in Figma 1 year ago
A.Olokhtonov ee1d1471f4 Pretty(er) player cursor: bright colors and an actual icon 1 year ago
A.Olokhtonov d8a5cd3fca Draw player pointers as colored squares with html 1 year ago
A.Olokhtonov 1f983f3389 Fix multiplayer, add mouse wheel panning 1 year ago
A.Olokhtonov c893a73ec5 You can draw once again! 1 year ago
A.Olokhtonov 847fb70381 Don't repeat points segment points. Introduce "tv" (typedvector) 1 year ago
A.Olokhtonov a60c3d1948 Recompute LODs and instance data on demand - ??? - it works??? 1 year ago
A.Olokhtonov 248501e50f Remove recursive allocations from process_rdp 1 year ago
A.Olokhtonov 31a0b0113a Prototype: separate per-quad data using instanced rendeding and per-stroke data using a texture 1 year ago
A.Olokhtonov 1438b0ad73 LODs work! Need to fix that memory usage though 1 year ago
A.Olokhtonov 60fc48b1e7 Fix dynamic draw to use indexed, and thus the same shader as main 1 year ago
A.Olokhtonov fdca3e6b07 Fix epsilon calculation for RDP 1 year ago
A.Olokhtonov 7b53c7215e Fix predraw artifacts by making the lines too fat at far zoomout 1 year ago
A.Olokhtonov 72eedf9b48 Fix dynamic data 1 year ago
A.Olokhtonov a991cf3247 BVH construction and modification 1 year ago