# Image quality with line(); & (TRIANGLE\_STRIP);

**URL:** <https://discourse.processing.org/t/image-quality-with-line-triangle-strip/38267>\
**Category:** Processing\
**Created:** [August 7, 2022, 6:43pm UTC](https://discourse.processing.org/t/image-quality-with-line-triangle-strip/38267 "2022-08-07T18:43:45Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [August 15, 2022, 8:41pm UTC](https://discourse.processing.org/t/image-quality-with-line-triangle-strip/38267/6 "2022-08-15T20:41:24Z")

</div>

Hello @asymmetric,

There is a tutorial about the renderers here:  
[https://processing.org/tutorials/rendering](https://processing.org/tutorials/rendering)

I have a very simple pixel viewer here:

> [@Issue when rendering small rectangles](https://discourse.processing.org/t/issue-when-rendering-small-rectangles/38217/5):
>
> Hello, A very simple pixel viewer that I use to zoom in on sketch. Try different renderers, smooth() values, etc. I even tried odd and even. No pun intended! Some code for you to experiment with: // Pixel Viewer // v1.0.0 // GLV 2022-08-06 PImage img; boolean toggle; int oddeven, count, choice; void setup() { //size(650, 600); size(650, 600, P2D); //size(650, 600, P3D); background(255); //smooth(4); // Default is 2 noSmooth(); //strokeWeight(1); } …

Replace the shapes with a line and experiment a little.

You are also limited by the pixel density of your device; you can’t do better than a single pixel and smoothing will just give the appearance of a “smoother” line. Try the pixel viewer to see this.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/image-quality-with-line-triangle-strip/38267)._
