colours_to_pattern: Visualise the output from scaled_to_colours() into a...

View source: R/colours_to_pattern.R

colours_to_patternR Documentation

Visualise the output from scaled_to_colours() into a cross-stitch pattern #'

Description

Visualise the output from scaled_to_colours() into a cross-stitch pattern #'

Arguments

mosaic_object

List output from scaled_to_colours(). Contains element Img_dmc.

style

Options for visualisation. Defaults to a cross-stitch pattern with DMC numbers

colour_list

Whether a list of colours should also be output. Defaults to TRUE.

file_name

Option to name the outputs. Defaults to "embroidr_pattern"

Value

An SVG files with the cross-stitch pattern. If colour_list is set to TRUE, a second SVG file containing a list of DMC colours used is also output.


BenjaminVigreux/embroidr documentation built on June 1, 2022, 12:51 a.m.