mitxela / plotterfun

MIT License
326 stars 62 forks source link

[Feature request] Connect squiggle ends #20

Open mahtDFR opened 3 years ago

mahtDFR commented 3 years ago

It's great to have these tools as a single useful web app. For squiggle plots, one useful feature that's missing is to 'connect ends' of each line, so the plotter has a continuous squiggle line that alternates between each endpoint, e.g.

image

The result is fewer pen lifts for each plot.

Here is the full svg that shows it, to open it, rename the file extension from 'zip' to 'svg' mao_2121128.zip

You can find the connect ends switch implemented in the original Squiggledraw source.

The function is named 'connectEnds'

What are the odds of getting it implemented into plotterfun? Maybe I could try and make a pull request for this but my java is rusty.

mahtDFR commented 3 years ago

Ah, after looking at your Pull Requests I see someone else has done this. https://github.com/mitxela/plotterfun/pull/4

Well, I'd like to see this feature implemented still so consider this a +1

mitxela commented 3 years ago

The squiggle left/right already has a "join ends" option, but maybe I should merge in the rounded and pointy options.