This project contains a processing sketch for creating a stippling version of an input image by applying Weighted Voronoi Stippling. An example:
To be added :)
Parameters for image:
input_name: relative path to your imagecanvas_w: width of your imagecanvas_h: height of your image
Paramters for stippling
N: number of seed pointsthresh: treshold to place initial seed points -> lower thresh means initial points will be more clustered in the darkest areasmax_iter: maximum number of relaxation iterations
Parameters for debugging:
show_paths: flag for showing paths the seed points make in their relaxationshow_diagrams: flag for showing the voronoi diagrams used to relax the seed pointspreview_only: flag for preventing relaxation, only shows the initial seed pointsprint_logs: flag for printing messages at each function callshow_imgs: flag for showing the input image under the stippling
Parameters for plotting:
save_hpgl: flag for generating and saving the relaxed stipplesoutput_name: relative path to the output file (will create a new file if file is not found, or overwrite an existing file)scale_offset: the offset to the scaling: the short side of the paper will be max(canvas_w, canvas_h) + offsetplot_w: currently unused -- might be used for plotter coordinatesplot_h: currently unused -- might be used for plotter coordinatesplot_offset_x: currently unused -- might be used for offsetting the output relative to a different starting pointplot_offset_y: currently unused -- might be used for offsetting the output relative to a different starting point
No notes at this very moment :)
Find out more at this wiki page



