Commit Graph

105 Commits

Author SHA1 Message Date
5864dc5c06 Coarse grain mouse input with lattice 2024-02-26 10:01:50 -05:00
a152af6bac Fix open empty file 2024-02-24 10:44:11 -05:00
121b8fe4b0 2squares 2024-02-22 17:19:52 -05:00
1cd4e0fdc6 Fix lattice_points for disk 2024-02-22 17:08:42 -05:00
a48457de29 Adjust color of voronoi depending on number of neighbors 2024-02-22 16:50:04 -05:00
4a6d2a1758 More visible Voronoi cells 2024-02-22 16:42:57 -05:00
29355191d6 Staircases 2024-02-22 16:41:45 -05:00
7e44418829 voronoi cells for disks 2024-02-22 16:31:10 -05:00
fd61a4620f Compute discrete Voronoi cell 2024-02-21 19:12:07 -05:00
0070094b94 Save lattice in conf file 2024-02-21 17:10:33 -05:00
37f8d181c2 Error and warning messages 2024-02-21 17:01:52 -05:00
5384d9a964 Save color in conf 2024-02-21 16:56:53 -05:00
ff11c1ce84 Set color of next particle 2024-02-21 16:49:48 -05:00
0a8a0e3c53 Save shape and zoom level to conf 2024-02-21 16:00:15 -05:00
b1d56fea04 Set shape from command 2024-02-21 15:30:52 -05:00
955aa8f10a README and license 2023-05-10 15:28:22 -04:00
3b3053fc3a Dependencies in README 2023-05-10 15:20:48 -04:00
5e425be098 markdown in README 2023-05-10 15:11:27 -04:00
dc4aef2119 Add License 2023-05-10 15:08:58 -04:00
2c2b88a6c6 Add README 2023-05-10 15:03:28 -04:00
e5b6019606 Allow square element to be a rectangle 2022-09-28 19:21:13 -04:00
dd5917cd45 read/write disks 2022-09-27 19:13:44 -04:00
c2ebf92a0e disk polyominoes 2022-09-27 19:01:17 -04:00
c13b0f4556 drawing and stroking elements done in elements.py 2022-09-27 18:50:21 -04:00
383cb5c462 circular element (cannot interact with squares) 2022-09-27 18:42:11 -04:00
7a044a1619 Cleanup imports and add file-wide comments 2022-09-23 21:21:38 -04:00
c09600cd10 Split element into their own file 2022-09-23 21:17:53 -04:00
5835c9003c Implement interaction between squares of different sizes 2022-09-23 20:49:58 -04:00
b9be36b4e0 move Square_element.size to painter, and allow for squares to determine their own size 2022-09-23 19:33:05 -04:00
fba87c564a Change Square_lattice to Lattice_square 2022-09-23 14:47:07 -04:00
36f5226107 optional arguments in lattice spec 2022-09-23 14:45:20 -04:00
5d40050580 Set lattice on open 2022-09-23 14:22:44 -04:00
267c5e5c5c cli passing 2022-09-23 13:41:26 -04:00
42e9f60c4e Fix grid drawing 2022-09-23 13:17:35 -04:00
9cb25730eb lattice 2022-09-23 12:58:48 -04:00
88959cb233 Commit TeX style file for exports 2022-09-21 22:34:32 -04:00
ec9f0018f7 Center logical coordinates (so that zooming in and out keeps center invariant) 2022-09-21 17:37:05 -04:00
19838bc2a2 color names in 'set color' command 2022-02-18 18:15:02 -05:00
57fb407dea export to tikz 2022-02-18 17:21:55 -05:00
28355777e1 Rename to src 2022-02-18 16:26:51 -05:00
b4fbc7c7e2 Set reference for relative position 2021-12-20 23:23:11 +01:00
fc50782116 Print position in status bar 2021-12-20 23:14:27 +01:00
1c1e2ad6f7 transparency for grids 2021-12-10 10:55:04 -05:00
f0f090315a replace keydown with textinput in painter 2021-12-06 13:22:34 -05:00
b0d6178271 adjust zoom level 2021-12-06 13:19:39 -05:00
6d7cfbf2be keybinding for grid 2021-12-06 13:11:39 -05:00
94406eef23 select all 2021-12-02 18:51:47 -05:00
52f9df3c4d change center for finer meshes 2021-12-01 18:58:24 -05:00
d740dec08e erase particles 2021-12-01 18:54:37 -05:00
4b0352f5d7 Variable mesh in grid 2021-12-01 18:49:35 -05:00