Commit Graph

19 Commits

Author SHA1 Message Date
mattmcw 7bc971167b Made an important change that removes some of the mystery in the scaling values. Originally it was using an arbitrary value of 1536x1056 and was scaled at 800 / canvasWidth (???). Now it will be set to the canvas value, which gives the user control over the final resolution of the SVG. 2021-08-03 00:36:57 -04:00
mattmcw 3dfd46bab0 The canvas scalar is very obviously 2.0 for some reason. Have been running the process continuously to match a plotter drawing that's happening right now. 2021-03-28 16:36:52 -04:00
mattmcw 1d3b6ac53e Caught a literal edge case: for some reason, after resizing an image, the doPhysics() function started locking up on a warning that points along the edge of the image were not held within triangles. Added a try-catch and continue statement to force the process through without failing on those particular points. 2021-03-27 07:18:32 -04:00
mattmcw 69110f615f Whitespace 2021-03-26 22:02:05 -04:00
mattmcw 81982734e2 Remove swing classes which are now never used. 2021-03-26 21:55:15 -04:00
mattmcw b42b21a444 Update the scalar for the canvas. There is still an uncomfortable relationship between the actual scale of the image and what the "canvas" scale accomplishes. 2021-03-26 21:52:54 -04:00
mattmcw f657b025da First attempt at using a scalar value to fix the canvas render to better match the resulting svg. I suspect 1.25 is overkill, but need to have a frame of reference for future tests. 2021-03-26 11:43:39 -04:00
mmcwilliams b040b21a56 Fix the argument parsing and line filling. Adjust the canvas approximation to that it renders a better image. Still needs some improvements because the svg circles are not matching the rendered circles. 2021-03-25 22:19:46 -04:00
mattmcw f10e9f859c Remove the offsets 2021-03-25 19:02:50 -04:00
mattmcw 17b62bc152 header problem? 2021-03-25 18:56:56 -04:00
mattmcw 84fe9120e1 Try different scale 2021-03-25 18:51:13 -04:00
mattmcw 28d5224552 Play with an alternate scale 2021-03-25 18:38:53 -04:00
mattmcw 5f73cb1d82 define line size 2021-03-24 14:38:07 -04:00
mattmcw 3c4c66af96 Fixed display scaling after staring at it being wrong for months. 2021-03-24 10:38:45 -04:00
mattmcw 83e3ecff12 Normalize all variables to camelcase. Formerly MinDotSize, MaxDotSize and DotSizeFactor. 2021-03-24 10:21:50 -04:00
mattmcw 629b4e86d4 Write hatch lines to rowTemp when config.fill is true. 2021-03-24 10:06:44 -04:00
mattmcw 9997b7bd61 Remove some remaining gui variables that are now unused. 2021-03-24 09:56:37 -04:00
mattmcw ce4014a3cb Add functions and config variable for filling circles with hatch lines 2021-03-24 09:55:47 -04:00
mattmcw d287894096 create repo 2021-03-16 21:33:50 -04:00