toile désactiver les antialiasing

In Css you can do:

#my-canvas {
  image-rendering: pixelated;
}
Agreeable Antelope