Commit Graph

332 Commits

Author SHA1 Message Date
Orion Reed 32a36a1cad rotating cursors 2024-12-03 16:48:11 -05:00
Orion Reed 522774d8f9 try corner rotation 2024-12-03 07:07:01 -05:00
Orion Reed 3fb3da9944 rotate cursor 2024-12-03 05:11:57 -05:00
Orion Reed de8e3acacd move EP css 2024-12-03 03:57:54 -05:00
Orion Reed ba416515a9 use client dimensions 2024-12-03 03:57:39 -05:00
Orion Reed 3a6ade2e36 auto-register elements 2024-12-03 03:46:46 -05:00
Orion Reed 23d3d54e33 dead simple temporary toolbar 2024-12-03 03:40:24 -05:00
Orion Reed e9a5edf787 cleanup 2024-12-03 02:54:43 -05:00
Orion Reed 55851839f0 resize thorugh zero 2024-12-03 02:48:29 -05:00
“chrisshank” 9c63d9ac8c rework shape listeners 2024-12-02 23:14:19 -08:00
Orion Reed 7a3ac92849 simpler rotate 2024-12-03 01:30:34 -05:00
Orion Reed d0100e1c66 simplify 2024-12-03 01:22:30 -05:00
“chrisshank” 9519ed0f74 rotation and resize working 2024-12-02 22:06:05 -08:00
Orion Reed d85f0b5cb0 handle type 2024-12-03 00:55:55 -05:00
Orion Reed 2e7d6b0783 tweak 2024-12-03 00:50:16 -05:00
Orion Reed bb1b9f5965 use lerp for center 2024-12-03 00:48:25 -05:00
Orion Reed 34fd98e7e8 vector utils for rotation handles 2024-12-03 00:45:25 -05:00
Orion Reed f0271aada7 add vector utils 2024-12-03 00:44:20 -05:00
“chrisshank” 54707a238d minor change 2024-12-02 21:43:10 -08:00
“chrisshank” d52f569110 more resize and rotation 2024-12-02 21:41:31 -08:00
“chrisshank” 4d075ff9d5 resizing with rotation 2024-12-02 21:33:01 -08:00
“chrisshank” 54b68ee64f Merge branch 'main' of https://github.com/folk-canvas/folk-canvas 2024-12-02 20:32:14 -08:00
“chrisshank” f8da732d20 fix move dragging 2024-12-02 20:32:06 -08:00
Orion Reed 36be3b566f initial render distance field 2024-12-02 23:09:38 -05:00
“chrisshank” 19b8477cdf fix arrows 2024-12-02 18:09:27 -08:00
“chrisshank” 0f2f6c97a4 Merge branch 'main' of https://github.com/folk-canvas/folk-canvas 2024-12-02 17:51:59 -08:00
“chrisshank” 14f78e3871 shape transform event 2024-12-02 17:51:52 -08:00
Orion Reed 9ef6bc302b quick and dirty space morph thing 2024-12-02 19:28:36 -05:00
“chrisshank” a5b5d390dd Merge branch 'main' of https://github.com/folk-canvas/folk-canvas 2024-12-02 16:16:50 -08:00
“chrisshank” 62d8da10bf proximity and propagator demo 2024-12-02 16:16:44 -08:00
“chrisshank” d9df421dde fix event propagator errors 2024-12-02 16:15:57 -08:00
Orion Reed f2383af8ab move RotatedDOMRect 2024-12-02 18:33:07 -05:00
Orion Reed 792cf0683a radians for rotation 2024-12-02 18:15:14 -05:00
Orion Reed c7a3580f9f add rotation utils 2024-12-02 18:07:01 -05:00
Orion Reed 7969bdb706 update types 2024-12-02 17:53:03 -05:00
Orion Reed b1e20bfd3f add babel types 2024-12-02 17:26:03 -05:00
Orion Reed 7bf64b6586 log property access from function body for from/to 2024-12-02 17:14:51 -05:00
Orion Reed 7cedd6b82e allow unnamed functions, and throw on nonexistent function calls 2024-12-02 16:40:15 -05:00
Orion Reed f1b2a67adb new propagator syntax experiment 2024-12-02 16:30:46 -05:00
Orion Reed afe1154695 remove log 2024-12-02 06:37:28 -05:00
Orion Reed f32699985d avoid resizing past zero 2024-12-02 06:31:35 -05:00
Orion Reed da4d15f97c RotatedDOMRect 2024-12-02 06:29:30 -05:00
Orion Reed 14d94f83e7 rotation in RotatedDOMRect 2024-12-02 06:15:28 -05:00
“chrisshank” 4e0d24b881 update home page 2024-12-02 01:15:38 -08:00
Orion Reed 7fe62caf9e add headings from html filenames 2024-12-02 02:58:27 -05:00
Orion Reed 35cb070301 move resize observer 2024-12-02 02:46:52 -05:00
Orion Reed c671324f5b fix 2024-12-02 02:45:34 -05:00
Orion Reed 9adeed16a8 renames 2024-12-02 02:44:04 -05:00
Orion Reed f962d52a37 renames 2024-12-02 02:10:07 -05:00
Orion Reed 2d4996a4de cleanup and error handling 2024-12-02 00:04:54 -05:00
“chrisshank” 3c591e3d65 more perf 2024-12-01 20:41:12 -08:00
“chrisshank” 48b7119e37 more sdf perf 2024-12-01 20:28:26 -08:00
“chrisshank” 5eb4f5c432 fix sdf bug 2024-12-01 20:14:41 -08:00
“chrisshank” 74862c7629 Merge branch 'main' of https://github.com/folk-canvas/folk-canvas 2024-12-01 20:09:03 -08:00
“chrisshank” 56459fdaa3 sdf perf and add perf demo 2024-12-01 20:08:11 -08:00
Orion Reed f1b412dea5 no longer aspect-ratio dependant 2024-12-01 22:18:56 -05:00
Orion Reed 8fc9df7b89 much faster, slightly reduced precision 2024-12-01 22:16:30 -05:00
Orion Reed bf1ca91e8b shader perf improvements 2024-12-01 22:01:01 -05:00
“chrisshank” 1424fb6cac Merge branch 'main' of https://github.com/folk-canvas/folk-canvas 2024-12-01 18:40:15 -08:00
“chrisshank” 5f21c65baa Merge branch 'main' of https://github.com/folk-canvas/folk-canvas 2024-12-01 18:40:14 -08:00
Orion Reed c3881ad245 docstring to hell, while we clean this up 2024-12-01 21:39:25 -05:00
“chrisshank” 123baf29c3 qrcode demo 2024-12-01 18:38:50 -08:00
Orion Reed cfa22df7c2 use common vert shader 2024-12-01 21:32:34 -05:00
Orion Reed 10cd273481 simplify 2024-12-01 21:23:05 -05:00
Orion Reed a7804b27ac cleanup 2024-12-01 21:03:36 -05:00
Orion Reed 8f7ce62b5d fix corner bug 2024-12-01 20:38:09 -05:00
Orion Reed 6b8566fa30 handle resize 2024-12-01 20:22:19 -05:00
Orion Reed 9e68b2d9d3 simplify a bit 2024-12-01 20:16:00 -05:00
Orion Reed 1b14970313 distance field JFA/GPU implementation 2024-12-01 19:42:01 -05:00
Orion Reed fdd7fb9d84 faster 2024-12-01 18:00:50 -05:00
Orion Reed 0f969abce8 doubled rendering speed 2024-12-01 17:31:01 -05:00
Orion Reed db42811ea2 moved to worker (gets backed up, but no impact on main thread) 2024-12-01 08:18:11 -05:00
Orion Reed a0e00e9657 simplify rendering 2024-12-01 07:12:29 -05:00
Orion Reed 33c18d6349 add back other renderers 2024-12-01 06:39:41 -05:00
Orion Reed a58343a783 prep for service worker 2024-12-01 06:22:18 -05:00
Orion Reed 0f3ee9fa3f remove isClosed 2024-12-01 05:55:08 -05:00
Orion Reed 62454dcd8a rename 2024-12-01 05:49:11 -05:00
“chrisshank” c4a61f8dd8 sdf refactor 2024-12-01 00:35:55 -08:00
Orion Reed c639101942 distance fields demo 2024-12-01 03:16:04 -05:00
“chrisshank” 3c61a411cd qr-code 2024-11-30 22:07:21 -08:00
“chrisshank” aa87c39a28 working proximity 2024-11-30 21:14:53 -08:00
“chrisshank” 17450f64b9 rename register to define 2024-11-30 15:39:17 -08:00
“chrisshank” c34790d3af fix broken rope 2024-11-30 15:34:39 -08:00
“chrisshank” fc7ce1e8ca proximity 2024-11-30 15:11:17 -08:00
“chrisshank” 8da1016d89 visualize proximate clusters 2024-11-28 11:17:24 -08:00
“chrisshank” 4e059956c0 proximity refactor 2024-11-27 23:45:43 -08:00
“chrisshank” 4e5496839b add set and hull elements 2024-11-27 18:04:09 -08:00
“chrisshank” f3e916ef1c iframe xanadu 2024-11-27 16:46:55 -08:00
“chrisshank” f4e579e1d9 add client rect observer to iframe script 2024-11-26 13:18:36 -08:00
“chrisshank” d154c79265 remove unused element 2024-11-26 13:00:25 -08:00
“chrisshank” 55568be0e3 add xanadu link 2024-11-26 12:27:30 -08:00
“chrisshank” f4f51de53e move file 2024-11-26 01:04:26 -08:00
“chrisshank” fee3a9f342 rename visualobserver 2024-11-26 01:02:19 -08:00
“chrisshank” 1475c41a85 rope cleanup 2024-11-26 00:33:23 -08:00
Orion Reed ce2b0581ae experimental propagator syntax 2024-11-26 01:49:15 -05:00
Orion Reed 79cc0fa677 alt sim with high stability 2024-11-26 00:59:38 -05:00
Orion Reed 46f6c08bc2 use svg for rope 2024-11-26 00:58:10 -05:00
“chrisshank” f134073309 move spreadsheet file 2024-11-25 21:43:03 -08:00
“chrisshank” 24e5c3cae5 rename spreadsheet 2024-11-25 21:41:41 -08:00
“chrisshank” 27cf7e5022 move persistence 2024-11-25 21:37:23 -08:00
“chrisshank” 3c1418e6ec move map file 2024-11-25 21:33:20 -08:00
“chrisshank” 6e991b29ab rope 2024-11-25 21:31:15 -08:00
“chrisshank” e61ec657d7 add trigger textarea 2024-11-25 21:06:41 -08:00
“chrisshank” 328442627f better text area for propagators 2024-11-24 17:44:57 -08:00
“chrisshank” b8aae90d1b add runtime error handling to rope 2024-11-24 15:57:14 -08:00
“chrisshank” 07ef31d6b2 break and mend rope 2024-11-24 14:40:26 -08:00
Orion Reed 25d53ec3ea types 2024-11-24 04:55:59 -05:00
“chrisshank” 2561ff816f rope color 2024-11-23 17:49:22 -08:00
Orion Reed 43c086e350 experiment with editable propagator expressions 2024-11-23 18:26:14 -05:00
“chrisshank” c79db92416 reanme ink file 2024-11-23 14:07:56 -08:00
“chrisshank” ecdf5878b6 update ink 2024-11-23 14:05:04 -08:00
“chrisshank” 90825c289d metronome 2024-11-23 14:01:44 -08:00
“chrisshank” 57253769b4 folk timer 2024-11-22 23:05:51 -08:00
“chrisshank” bbfcc029ce create folk-llm element 2024-11-22 14:44:15 -08:00
“chrisshank” 3f6d9c9ea4 iframed arrows POC 2024-11-21 21:50:18 -08:00
“chrisshank” c7d6243cb9 linting 2024-11-18 13:30:53 -08:00
“chrisshank” d8715825dc fix arrow bug 2024-11-17 16:25:27 -08:00
“chrisshank” 96baba2a6a observe resize/move event for arrow 2024-11-17 16:07:13 -08:00
“chrisshank” b25c795e7c make rope canvas responsive 2024-11-17 15:02:30 -08:00
“chrisshank” 61883bc805 move resize observer 2024-11-17 14:40:37 -08:00
“chrisshank” a624db6fe3 use promise batching for geometry 2024-11-17 11:01:40 -08:00
“chrisshank” 5ffcd4a9c2 spreadsheet map propagators 2024-11-16 23:11:25 -08:00
“chrisshank” c8812dc25a rope refactor 2024-11-16 18:14:57 -08:00
“chrisshank” 934dbeac7a more rope 2024-11-16 17:44:38 -08:00
“chrisshank” e99b42a626 more rope refactors 2024-11-16 17:13:07 -08:00
“chrisshank” 6096148508 remove app class from rope 2024-11-16 17:07:52 -08:00
“chrisshank” ea6f7934ec maps 2024-11-16 15:45:55 -08:00
“chrisshank” fa7c623002 more rope 2024-11-16 12:57:48 -08:00
“chrisshank” 8099d4f307 update rope 2024-11-16 01:22:57 -08:00
“chrisshank” dec2ab8c4d scaffold rope 2024-11-16 00:23:54 -08:00
“chrisshank” e4449bef21 fix bug 2024-11-15 23:24:56 -08:00
“chrisshank” 3b6975b9db add graph projection demo for spreadsheets 2024-11-15 15:15:30 -08:00
“chrisshank” 49ef97508d style spreadsheet cells properly 2024-11-08 15:21:23 -08:00
“chrisshank” a061cb13b3 linting 2024-11-08 14:41:58 -08:00
“chrisshank” 0d5a632e33 spreadsheet updates 2024-11-08 14:41:35 -08:00
“chrisshank” 85a244d13e move util 2024-11-01 23:24:09 -07:00
“chrisshank” d8888d484a add utils 2024-11-01 23:13:59 -07:00
“chrisshank” 44bbffaf05 rename method 2024-11-01 23:12:31 -07:00
“chrisshank” 1ae63d29b5 prettier 2024-11-01 23:12:12 -07:00
Orion Reed f5df5841bc partial migration to Deno 2024-10-30 05:12:20 -04:00
Orion Reed 862174a8bb rename spatial to fc/folk 2024-10-30 02:18:27 -04:00
“chrisshank” a95d608f76 store transition rotation state on element 2024-10-29 21:09:05 -07:00
“chrisshank” e3e425acca Merge branch 'main' of https://github.com/ChrisShank/folk-canvas 2024-10-29 21:00:24 -07:00
“chrisshank” 4eaf4e0b09 spatial-geometry with auto sizing 2024-10-29 20:57:01 -07:00
Orion Reed 91c29e664e handle rotation smoothly 2024-10-28 11:39:26 -04:00
“chrisshank” 65f1e16f5e vertices for arrows 2024-10-25 14:03:17 -07:00
“chrisshank” 18e6051e2b event-propagator 2024-10-22 16:55:36 -07:00
“chrisshank” 0c4f8f61d6 fix file permissions 2024-10-22 13:48:20 -07:00
“chrisshank” fa4bc138b7 fix file open 2024-10-16 13:21:52 -07:00
“chrisshank” 5251b087cc chains of thought 2024-10-16 13:00:46 -07:00
“chrisshank” 32dbe887ee spreadsheet 2024-10-15 14:43:01 -07:00
“chrisshank” 60930f2283 add editable textarea for spreadsheet 2024-10-12 14:23:02 -07:00
“chrisshank” a1201311c2 styles 2024-10-11 23:17:38 -07:00
“chrisshank” 47a336333d spreadsheet 2024-10-11 14:27:58 -07:00
“chrisshank” 6781eb19ba ink 2024-10-07 21:21:24 -04:00
“chrisshank” 83adb5926d arrow with clip-path 2024-09-27 19:23:29 -07:00
“chrisshank” 5f33ef6edf fix demos 2024-09-27 19:23:18 -07:00
“chrisshank” 487090cf58 drawing ink 2024-09-24 21:33:45 -07:00
“chrisshank” 01e7a95ceb more ink 2024-09-19 20:06:53 -07:00
“chrisshank” 04ee89ba3b ink 2024-09-19 13:34:37 -07:00
“chrisshank” dc12340294 generic animation interrupt 2024-09-12 11:11:01 -07:00
“chrisshank” 1bd42742f4 nitpicks 2024-09-11 11:05:32 -07:00
“chrisshank” 8dbc00635b create interruptible animation 2024-09-11 00:26:59 -07:00
“chrisshank” 14a519b705 sound proximity 2024-09-10 23:04:09 -07:00
“chrisshank” 7523465c0b music player 2024-09-09 20:57:22 -07:00
“chrisshank” 627149053c fix moving target, make resize handlers parts 2024-09-08 15:32:59 -07:00
“chrisshank” 1bff7b6d35 rename 2024-09-08 15:09:46 -07:00
“chrisshank” b3138b6e91 remove 2024-09-08 15:04:49 -07:00
“chrisshank” 7f01c93d7c maps and proximity 2024-09-08 15:04:32 -07:00
“chrisshank” b0c5311d54 add maps, make spatial-geometry work with content-visibility 2024-08-21 22:54:26 -07:00
“chrisshank” bf0f353175 arrow stuff 2024-08-21 13:06:40 -07:00
“chrisshank” 510596a4c9 more rotation 2024-08-21 13:06:11 -07:00
“chrisshank” 835302fce6 add rotation 2024-08-20 17:15:00 -07:00
“chrisshank” 9feca14de0 resize element 2024-08-18 16:40:30 -07:00
“chrisshank” 8503437d4c tie resize handlers to DOM focus 2024-08-18 14:05:44 -07:00
“chrisshank” ae93ae9ef9 add custom CSS state for moving 2024-08-18 13:17:33 -07:00
“chrisshank” 929f3384f9 render resize handlers 2024-08-18 12:49:01 -07:00
“chrisshank” 47c4381791 comments 2024-08-17 22:55:21 -07:00
“chrisshank” 92dd10a82b demo collision detection 2024-08-17 22:38:13 -07:00
“chrisshank” e9ded756a8 batch updates and make move events cancellable 2024-08-17 20:19:22 -07:00
“chrisshank” cc0618feda start working on spatial-geometry elements, scaffold demo 2024-08-17 15:13:49 -07:00
“chrisshank” c23fd2cfcb add canvas attributes 2024-08-15 16:46:50 -07:00