Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider several new improvements by Shel, for possible inclusion #10

Open
oskay opened this issue Apr 21, 2017 · 1 comment
Open

Consider several new improvements by Shel, for possible inclusion #10

oskay opened this issue Apr 21, 2017 · 1 comment

Comments

@oskay
Copy link
Contributor

oskay commented Apr 21, 2017

Several improvements made by @ShelMi http://forum.evilmadscientist.com/discussion/comment/2206#Comment_2206

@ShelMi
Copy link

ShelMi commented May 4, 2017

I've been continuing to have fun tweaking stipplegen to meet my own conception of how I'd like it to work. Everything about the algorithm is totally unchanged - except for the initial choice of stipple points. The gui has been fiddled with a bit, however.

The only demonstrably worthwhile change is in the randomization method of the initial point selection, This version, 2.40.3.9, uses a low-discrepancy sequence rather than a random generator to place the initial stipple points. https://en.wikipedia.org/wiki/Low-discrepancy_sequence

My guiding principle in the gui changes/additions has been to make it possible for the user to visualize and modify the final stipple pattern accurately from within stipplegen. The changes are documented in the Change log at the start of the file.

Here is the pde, along with a sample options .json file (yes, it's true, you can now save the slider settings):
grace.zip

Note that this version has not been completely cleaned up, nor thoroughly debugged, but is perhaps reasonable as a beta preview. Though Murphy often has the last laugh.

Here is a test look at low-discrepancy vs. random seeds, performed on a uniform 50% gray image, in the first generation:
gray 2k random v mugwump v halton

And here good-old "grace.jpg" as a comparison of random vs. low-discrepancy point selection methods. Best viewed at full resolution to appreciate the differences:
grace usm brightened random compared with mollwollfumble

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants