Skip to content

Resolution #157

Answered by koenderks
joelmce asked this question in Q&A
Discussion options

You must be logged in to vote

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 like stepmax, which allows you to set the maximum step size for each iteration of each line (i.e., larger values of stepmax 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…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by joelmce
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants