# P5,js Smoothing Not Working?

**URL:** <https://discourse.processing.org/t/p5-js-smoothing-not-working/14585>\
**Category:** p5.js\
**Created:** [October 10, 2019, 6:46pm UTC](https://discourse.processing.org/t/p5-js-smoothing-not-working/14585 "2019-10-10T18:46:37Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [October 13, 2019, 4:57pm UTC](https://discourse.processing.org/t/p5-js-smoothing-not-working/14585/5 "2019-10-13T16:57:42Z")

</div>

> [@graphicsguy](#):
>
> Is anyone else having problems with no antialiasing now in the Chrome browser?

Please provide code when possible.

There could have been a change, in p5.js or in chrome, but the most common reason to believe that your antialiasing is suddenly broken is to forget to add `background()` to a sketch canvas or graphics buffer. Not clearing the screen causes antialiased layers to build up over multiple frames, making smooth edges look crunchy.

> **[p5.js Web Editor](https://editor.p5js.org/jeremydouglass/sketches/dWjhObsT2)**
>
> A web editor for p5.js, a JavaScript library with the goal of making coding accessible to artists, designers, educators, and beginners.

Not saying this is your problem – just that it is a very common reason for people to search the forum for “smoothing not working”.

---

_[View the full topic](https://discourse.processing.org/t/p5-js-smoothing-not-working/14585)._
