L
L
lgick2014-03-11 10:34:57
JavaScript
lgick, 2014-03-11 10:34:57

How to get rid of stripes on canvas when using scale() ?

In chrome (and not only), if you increase the frame on canvas using scale(), stripes appear.
Stripes form at the junction of tiles
jsbin.com/nixezuda/6/watch?js,output
How to remove them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Starkov, 2014-03-11
@lgick

Draw tiles per pixel right-down more so that they overlap,
draw as you drew with the old size using delta +1/s
like here jsfiddle.net/W9LpB

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question