Commit graph

24 commits

Author SHA1 Message Date
Yousef Khadadeh
91603e1fc1 Can now display SVGs, also fixed bad function call bug when taking screenshot 2025-08-07 12:44:31 +03:00
Yousef Khadadeh
9845d14a83 Removed old drawing program cache 2025-08-03 16:52:11 +03:00
Yousef Khadadeh
19f8c99b66 Fix issue where border pixels of cache arent updated 2025-08-03 14:29:40 +03:00
Yousef Khadadeh
d350ead7b3 Fixed bug where cache doesnt get updated at times 2025-08-03 14:23:45 +03:00
Yousef Khadadeh
7bfa2798a5 Selective cache update goes a bit beyond its bounds, and also made sure that you can't edit objects to be too thin/small 2025-08-03 13:04:07 +03:00
Yousef Khadadeh
81ac5a2302 Cache surfaces only update in locations that require updating 2025-08-03 12:31:30 +03:00
Yousef Khadadeh
0b1cc8d4c2 Selection cache is also updated when objects are updated 2025-07-31 19:28:18 +03:00
Yousef Khadadeh
75a614946c Fixed objects being drawn ontop of cache images, causing transparency issues 2025-07-31 17:55:14 +03:00
Yousef Khadadeh
f72d8c21fa Fixed textbox color not updating cache, and taking snapshot images for cache instead of storing surfaces 2025-07-31 15:30:22 +03:00
Yousef Khadadeh
ed3d5f6d51 Removed temporary update commits 2025-07-31 09:34:17 +03:00
Yousef Khadadeh
9aa41ddb7f Fixed bugs with undo and redo of multiple objects 2025-07-27 20:04:26 +03:00
Yousef Khadadeh
7e69688ca6 Transformations over network work again, with undo and redo 2025-07-27 11:56:34 +03:00
Yousef Khadadeh
b6a25280e6 Improved online performance for canvases with many components 2025-07-26 21:20:14 +03:00
Yousef Khadadeh
ff1355234f Begin work separating selection code from rectangle select tool 2025-07-24 16:35:48 +03:00
Yousef Khadadeh
0a8add3df1 Optimized eraser, now uses BVH 2025-07-23 16:04:16 +03:00
Yousef Khadadeh
7fa82d3fa4 Fixed ordering issue with cache draw, also sharing draw cache space with all open tabs 2025-07-22 12:22:08 +03:00
Yousef Khadadeh
24b2d47a90 Removed updateDraw boolean 2025-07-21 17:48:46 +03:00
Yousef Khadadeh
38a10e0ef4 Add AABB collision check for BVH collision checks 2025-07-21 17:04:50 +03:00
Yousef Khadadeh
f75a5133d5 Improved collision system use of BVH 2025-07-21 16:54:48 +03:00
Yousef Khadadeh
f74298d21d Draw speedup when there are >100000 objects in the canvas 2025-07-21 15:46:42 +03:00
Yousef Khadadeh
eb00125f01 Cache system doesnt break when transforming objects 2025-07-21 11:59:19 +03:00
Yousef Khadadeh
caea747f1e BVH draw cache working 2025-07-20 15:24:44 +03:00
Yousef Khadadeh
1e51bf660f Started work on draw cache 2025-07-19 19:41:25 +03:00
Yousef Khadadeh
1095b91cec Started work on cache for canvas components 2025-07-19 15:57:09 +03:00