Commit Graph

35 Commits

Author SHA1 Message Date
mattmcw f7b4d41715 Improvement in fillCircle: by reducing the number of fill lines in half, the hatching showed visible gaps between lines. This new method ensures a fuller circle. Tested and renders more closely match plotted drawings. 2021-12-08 22:58:31 -05:00
mattmcw c5f7d7b4e6 Spell license correctly 2021-12-03 10:45:25 -05:00
mattmcw 742c7182e7 Update language and remove griping about LGPL 2021-12-03 10:29:29 -05:00
mattmcw 782552055a Lines aren't being drawn. Try without removing the line width 2021-12-02 16:11:50 -05:00
mattmcw 41927aec1f Add dot mode. For single-point plots, like for paint pens. 2021-12-02 16:06:15 -05:00
mattmcw 0ccd0643f3 If calculated dot diameter is smaller than minDotSize, set to minDotSize 2021-12-01 13:58:37 -05:00
mattmcw 36928c1eb9 The 2x scalar is breaking rendering. Test without it but otherwise consider issue #2 moot for now. 2021-11-30 18:53:40 -05:00
mattmcw fb853e6480 Resolved this by compressing header.txt into a single line and adding it as a hardcoded variable String[] header, which mimics the output of the file read happening later in the script. Resolves issue #1 2021-11-30 15:27:28 -05:00
mattmcw 61a5ef3d40 Build mac 2021-11-30 14:47:57 -05:00
mattmcw 4550089d7c Build script (not really) 2021-11-30 14:30:56 -05:00
mattmcw f5c168d997 Use correct background if inverted 2021-08-11 20:13:43 -04:00
mattmcw ef84f0ba57 Enable TSP mode in canvas preview 2021-08-11 19:22:22 -04:00
mattmcw ca670eb3a8 Ignore DS_Store files 2021-08-03 01:23:29 -04:00
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 cb98cacb13 Add license to readme 2021-03-26 20:38:42 -04:00
mattmcw fc1f43ccaf Update readme to reflect recent changes in the sketch 2021-03-26 12:22:51 -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 efada52200 Update readme 2021-03-17 11:35:59 -04:00
mattmcw d287894096 create repo 2021-03-16 21:33:50 -04:00