# Is TRIANGLE\_STRIP working correctly in WEBGL?

**URL:** <https://discourse.processing.org/t/is-triangle-strip-working-correctly-in-webgl/2381>\
**Category:** p5.js\
**Created:** [August 5, 2018, 10:24am UTC](https://discourse.processing.org/t/is-triangle-strip-working-correctly-in-webgl/2381 "2018-08-05T10:24:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![binkpitch](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/binkpitch/32/1012_2.png) [@binkpitch](https://discourse.processing.org/u/binkpitch)\
**Post date:** [August 5, 2018, 10:24am UTC](https://discourse.processing.org/t/is-triangle-strip-working-correctly-in-webgl/2381/1 "2018-08-05T10:24:40Z")

</div>

The TRIANGLE\_STRIP is suppose look like the one in the document ([https://p5js.org/reference/#/p5/beginShape](https://p5js.org/reference/#/p5/beginShape)).

But, when I tried in WEBGL it look different, some points are not connected to each other. ([https://alpha.editor.p5js.org/binkpitch/sketches/HJkNCBEBQ](https://alpha.editor.p5js.org/binkpitch/sketches/HJkNCBEBQ)).

 ![40](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/e/ed25bd68d33177bd38f7b4fdfe1fd4f9eac70394.png)

Is this intended in WEBGL?

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [August 5, 2018, 1:08pm UTC](https://discourse.processing.org/t/is-triangle-strip-working-correctly-in-webgl/2381/2 "2018-08-05T13:08:31Z")

</div>

p5js’ WEBGL is a work-in-progress; and thus incomplete & buggy! 🐛

Better report that issue there: 📢

> **[processing/p5.js](https://Github.com/processing/p5.js/issues)**
>
> p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Proces...

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [August 5, 2018, 4:06pm UTC](https://discourse.processing.org/t/is-triangle-strip-working-correctly-in-webgl/2381/3 "2018-08-05T16:06:25Z")

</div>

> **[TRIANGLE\_STRIP in WEBGL has wrong vertex connection · Issue #3119 ·...](https://GitHub.com/processing/p5.js/issues/3119)**
>
> Nature of issue? Found a bug Existing feature enhancement New feature request Most appropriate sub-area of p5.js? Color Core/Environment/Rendering Data Events Image IO Math Typography Utilities Web...
