Resolution
#157
-
Hey there, Many thanks, |
Beta Was this translation helpful? Give feedback.
Answered by
koenderks
Oct 16, 2021
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
joelmce
-
I see now, appreciate the rapid response. Love your work by the way! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey!
Yeah good point... I believe the purpose of the resolution parameter in this function was to allow for a larger canvas (e.g., the idea was that using more angles should yield more fine grained/flexible lines), but since this algorithm using a (fixed) maximum step size of
resolution * 0.01
the resolution parameter does not have the intended effect. Instead, it might be a better idea to replace this parameter with something likestepmax
, which allows you to set the maximum step size for each iteration of each line (i.e., larger values ofstepmax
yield longer lines and smaller values yield shorter lines). I'll play around with this. For example, the output may vary like this:canvas_flo…