# Visual artefact issues with shapes with stroke() versus filled shapes

**URL:** https://discourse.processing.org/t/visual-artefact-issues-with-shapes-with-stroke-versus-filled-shapes/36382
**Category:** Coding Questions
**Created:** [April 16, 2022, 6:59pm UTC](https://discourse.processing.org/t/visual-artefact-issues-with-shapes-with-stroke-versus-filled-shapes/36382 "2022-04-16T18:59:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Misha.studio](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/misha.studio/32/16056_2.png) [@Misha.studio](https://discourse.processing.org/u/Misha.studio)
#### Post date: [April 16, 2022, 6:59pm UTC](https://discourse.processing.org/t/visual-artefact-issues-with-shapes-with-stroke-versus-filled-shapes/36382/1 "2022-04-16T18:59:35Z")

</div>

Hi! I’m working on a generative type project based on the Mexico Olympic type. When rendering my letters with strokes I find some visual artefacts - things simply don’t seem to align properly. When exported to .pdf or when I use solid shapes without strokes I don’t have any artefacts.

**Example with artefacts when using stroke():**  
You can easily spot the sections/slices from which the letter is build.

 ![20220416-203241-no-git-repo--317039872](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/e/3/e3a3d31bd0f41084fd177ca7414dc5e34a18e528.png)

**Example with solid shapes - no artefacts**

 ![20220416-205643-no-git-repo--692171776](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/c/e/ce7ab8aca10cfa50e92de6f7addc3b917444ed94.png)

The solution would be to not use stroke() and draw with solid shapes but could this be a bug of Processing or is this meant behaviour due to rounding of numbers?

Thanks!
