by barbinbrad on 6/5/21, 2:17 AM with 1 comments
by axguscbklp on 6/5/21, 3:23 AM
Just a note: when you are copying one canvas' data to another's, I think you can use a TypedArray method like "set" to do the whole thing in one go. Not sure if the performance would be better, but it might be worth trying. In any case, there is no need to do a nested iteration over the width and the height, you can just iterate over the entire data array in one go.