Commit graph

1700 commits

Author SHA1 Message Date
Steve Ruiz
780eba3d98 Adds deleting, z-index re-ordering 2021-05-23 18:09:23 +01:00
Steve Ruiz
f11c35e941 Basic z ordering 2021-05-23 14:46:04 +01:00
Steve Ruiz
6582eb990c improve rotation 2021-05-23 09:30:20 +01:00
Steve Ruiz
2a28064a68 Update rectangle.tsx 2021-05-22 21:35:53 +01:00
Steve Ruiz
3310f1a94c clean transforms 2021-05-22 21:35:01 +01:00
Steve Ruiz
b752782753 refactors bounds, improves transforming rotating shapes 2021-05-22 16:45:24 +01:00
Steve Ruiz
fb0bb47c19 Adds center type
Perhaps using unifying translate and transform? But the snapshots are different.
2021-05-22 10:00:00 +01:00
Steve Ruiz
f57507a882 Improves transforms 2021-05-21 08:42:56 +01:00
Steve Ruiz
10b0c50294 renames shapes -> shape utils 2021-05-20 10:49:40 +01:00
Steve Ruiz
eea9af5f31 Improves cloning 2021-05-20 10:25:14 +01:00
Steve Ruiz
b126b1af65 adds aligned dragging / cloning 2021-05-20 09:19:13 +01:00
Steve Ruiz
e8b13103ac Adds cloning, fixes some undo bugs 2021-05-19 22:24:41 +01:00
Steve Ruiz
0c205d1377 Improves rotated transforms, cleans up code 2021-05-19 13:27:01 +01:00
Steve Ruiz
c3740cacdd Improves transforms 2021-05-19 10:35:00 +01:00
Steve Ruiz
da8f812090 Transforming rotated items 2021-05-18 11:45:29 +01:00
Steve Ruiz
1ece606db0 finishes rotation 2021-05-18 09:32:20 +01:00
Steve Ruiz
e2aac4b267 Adds select all, starts on rotation 2021-05-17 22:27:18 +01:00
Steve Ruiz
abd310aa2e Updates code editor 2021-05-17 11:01:11 +01:00
Steve Ruiz
e21748f7b7 Fixes code save 2021-05-16 09:33:08 +01:00
Steve Ruiz
520553fb2f Adds data saving / loading to local storage 2021-05-16 08:09:46 +01:00
Steve Ruiz
b45cef260a use deltas in transforms 2021-05-16 07:29:48 +01:00
Steve Ruiz
e2805ab6d2 dot sizes, borders now scale correctly to camera zoom. fixes (not really) bug with hooks race conditions 2021-05-15 22:04:28 +01:00
Steve Ruiz
138e1fa24d Improves stroke width 2021-05-15 18:11:08 +01:00
Steve Ruiz
8a650a99d6 Adds direction session 2021-05-15 16:20:21 +01:00
Steve Ruiz
a4643edd62 Adds undo redo for shapes 2021-05-15 15:10:11 +01:00
Steve Ruiz
5420b0365f Adds toolbar, tools shortcuts, dot creation state 2021-05-15 14:54:27 +01:00
Steve Ruiz
1a01c47835 Adds code editing and shape generation 2021-05-15 14:02:13 +01:00
Steve Ruiz
afa8f53dff adds hit testing for hovers 2021-05-14 23:56:41 +01:00
Steve Ruiz
b8d3b35b07 Adds lines, improves transforms 2021-05-14 22:05:21 +01:00
Steve Ruiz
b50045c9b7 Adds transforming, ellipse 2021-05-14 13:44:23 +01:00
Steve Ruiz
d99507de5b Improves typing on shapes utils 2021-05-13 19:22:16 +01:00
Steve Ruiz
0ec723e0d6 Fixes hover width, cursors on pointer inputs 2021-05-13 11:13:14 +01:00
Steve Ruiz
9bca2dd646 Adds undo redo 2021-05-13 09:34:56 +01:00
Steve Ruiz
8c81823b20 Adds dragging / translation 2021-05-13 07:44:52 +01:00
Steve Ruiz
7ec9457ac2 Update data.ts 2021-05-12 23:14:21 +01:00
Steve Ruiz
89d9ddcb1d Adds bounds 2021-05-12 23:08:53 +01:00
Steve Ruiz
3d52d9e9d2 Greatly simplifies shapes 2021-05-12 22:11:17 +01:00
Steve Ruiz
32082492d1 Improves hovers, adds CSS variable for zoom 2021-05-12 12:39:44 +01:00
Steve Ruiz
addf4185f0 Improves outlines 2021-05-12 12:27:33 +01:00
Steve Ruiz
b746601de7 Fixes bounds for dot 2021-05-12 10:52:20 +01:00
Steve Ruiz
09dd62c8ec Fixes bounds for circle 2021-05-12 10:51:53 +01:00
Steve Ruiz
602bd67a74 Improves shape props types, improves circle 2021-05-12 10:48:35 +01:00
Steve Ruiz
f5d555863c adds polyline, intersections for polyline 2021-05-12 10:18:11 +01:00
Steve Ruiz
7ee3a1ef3d Adds utils, brush selection testing for shapes. 2021-05-11 11:13:07 +01:00
Steve Ruiz
9a01f5aac6 Adds scroll selection 2021-05-10 21:44:17 +01:00
Steve Ruiz
a5659380c4 adds commands, brush, history 2021-05-10 13:16:57 +01:00
Steve Ruiz
f38481efee Document and shapes 2021-05-09 22:22:25 +01:00
Steve Ruiz
e7a52dd70f Another good stopping point 2021-05-09 14:04:42 +01:00
Steve Ruiz
055caef3a5 a good starter template 2021-05-09 13:03:39 +01:00
Steve Ruiz
b202d04bc7 Initial commit 2021-05-09 12:48:30 +01:00