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

Persist `n_states` in `animate_pixels()` #19

Closed matt-dray closed 1 year ago

matt-dray commented 1 year ago

Pass n_states argument to edit_pixels() in animate_pixels(). Otherwise edit_pixels() will check for the max state value in the matrix passed to it, even if n_states was higher. Close #18.