You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering how difficult it might be to create a Python wrapper for your codes. I have not found solid python-friendly stippling implementations, and would be happy to produce one with some guidance :)
In the end, it would be great to have a stipplize() function with all the dials used as arguments, that would accept something like a "grayscale" numpy array, and spit out the dot coordinates, and sizes.
Do you think you could suggest specific functions in your codes that could be a good entry point ?
Thanks,
Anton.
The text was updated successfully, but these errors were encountered:
I'm not the author of the code but I can comment on your question. The stippling algorithm is easy to port, look here:
src/lbgstippling.cpp
however the hardest part, is the fast voronoi computation, as its implementation targets the gpu. You can replace it with a regular voronoi computation, the algorithm will be much slower then.
Hello Marc,
I was wondering how difficult it might be to create a Python wrapper for your codes. I have not found solid python-friendly stippling implementations, and would be happy to produce one with some guidance :)
In the end, it would be great to have a
stipplize()
function with all the dials used as arguments, that would accept something like a "grayscale" numpy array, and spit out the dot coordinates, and sizes.Do you think you could suggest specific functions in your codes that could be a good entry point ?
Thanks,
Anton.
The text was updated successfully, but these errors were encountered: