-
Notifications
You must be signed in to change notification settings - Fork 608
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
Inconsistent -rep parsing withmultiple configs #57
Comments
Try the following command:
that's to say, you MUST specify the arguments in this order: |
Ah, interesting. That does produce the intended effect, though it's not clear to me why... Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apparently it's possible to pass multiple
-m {mode} -n {num}
configs, which is really cool. However, when I was trying it, I noticed that some-rep
settings were not being used (or it wasn't using the right ones).This is the command I'm using:
> GOPATH=/Users/davethegr8/Dropbox/primitives time go run src/github.com/fogleman/primitive/main.go -v -i flower.jpg -o "flower/20171017145645-m0-n1-rep1-m1-n1-rep2-m5-n1-rep2-m6-n1-rep2.svg" -m 0 -n 1 -rep 1 -m 1 -n 1 -rep 2 -m 5 -n 1 -rep 2 -m 6 -n 1 -rep 2
And here's output:
You can see that while I'm passing 4
-rep
values, 5 are printed out, and when theshapeConfig
objects are built, they are off by 1 with the default value getting stuck on the beginning.I tried to see if I could fix the issue, but I'm not familiar enough with go.
The text was updated successfully, but these errors were encountered: