matt-dray / pixeltrix

:space_invader::computer_mouse: R package: make pixel art interactively in a plot window, get a matrix, make a gif
Other
21 stars 0 forks source link

Draw matrix to plot window #12

Closed matt-dray closed 1 year ago

matt-dray commented 1 year ago

You should be able to pass an output matrix from click_pixels() or edit_pixels() to draw_pixels() (or similar) to print to the graphics window via image(). Allow colours to be provided for each value in the matrix.