P5.js: noFill not working in 1.0.0. WEBGL

Created on 8 Jul 2020  Â·  12Comments  Â·  Source: processing/p5.js

Most appropriate sub-area of p5.js?

  • [ ] Color
  • [X ] Core/Environment/Rendering
  • [ ] Data
  • [ ] Dom
  • [ ] Events
  • [ ] Image
  • [ ] IO
  • [ ] Math
  • [ ] Typography
  • [ ] Utilities
  • [ ] WebGL
  • [ ] Other (specify if possible)

Details about the bug:

noFill(0) is not working in 1.0.0. It works with built-in shapes but not those created with a vertex list.

  • p5.js version: 1.0.0
  • Web browser and version: Safari 13.1.2
  • Operating System: Mac OS 10.12.6 and 10.14.6
  • Steps to reproduce this: Type: fill('orange'); Make a polygon using vertex commands: Turn on noFill(0). Polygon remains filled. Type: box(50); box is not filled-I was told in Discourse that noFill() works in 0.10.2
bug next release contains fix

Most helpful comment

You do have the latest officially released version which was made on Feb. 29th. The other file (June 8th) was built locally by me with the most recent Github main branch using the steps in the above linked contributor docs.

All 12 comments

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

hi @buggles1,

could you plase show us an example on our editor.p5js.org?
that would be awesome, thanks!

I will send you the code directly because noFill() works in the editor but
not in HTML. Thanx.
noFill() works in v 0.10.2. I have tested it and submitted an issue report.






CND aka buggles1

~ Godspeed ~

On Wed, Jul 8, 2020 at 4:51 PM aarón montoya-moraga <
[email protected]> wrote:

hi @buggles1 https://github.com/buggles1,

could you plase show us an example on our editor.p5js.org?
that would be awesome, thanks!

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/processing/p5.js/issues/4680#issuecomment-655776759,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQHBK2SYDTDEO6LSOCLYBQDR2TS6BANCNFSM4OU6DKMA
.

Hi @buggles1 thanks for the issue! This is the same as #4677 and #4530 and is fixed in the main branch here on the Github.

We can leave this issue open until the next release.

Thank you. How do I get the update from Github? Sorry, new to Github.

~ Godspeed ~

On Thu, Jul 9, 2020 at 10:56 AM Stalgia Grigg notifications@github.com
wrote:

Hi @buggles1 https://github.com/buggles1 thanks for the issue! This is
the same as #4677 https://github.com/processing/p5.js/issues/4677 and

4530 https://github.com/processing/p5.js/issues/4530 and is fixed in

the main branch here on the Github.

We can leave this issue open until the next release.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/processing/p5.js/issues/4680#issuecomment-656209240,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQHBK2VBF2LVGPSULLNBB6DR2XSCHANCNFSM4OU6DKMA
.

Hi @buggles1 You can do steps 1-5 of the Development Process section of the contributors docs.

Alternatively you can use the library file in this editor sketch.

noFill() does work in the editor. It also works in v0.10.2. Going
through the development process seems very daunting. Can't I just get
Githubs latest version of p5.js somewhere? Thanx.

~ Godspeed ~

On Thu, Jul 9, 2020 at 11:45 AM Stalgia Grigg notifications@github.com
wrote:

Hi @buggles1 https://github.com/buggles1 You can do steps 1-5 of the
Development Process
https://p5js.org/contributor-docs/#/README?id=development-process
section of the contributors docs.

Alternatively you can use the library file in this editor sketch.
https://editor.p5js.org/stalgiag/sketches/gcSyqmJsl

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/processing/p5.js/issues/4680#issuecomment-656234725,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQHBK2XM6V476ZI6UU66SGDR2XX3FANCNFSM4OU6DKMA
.

Your version of p5.min is v1.0.0 but is dated June 8, 2020. My version is
v1.0.0 dated Fb 29, 2020. I downloaded the latest version (or so I thought)
a few days ago thinking that was my problem. Where can I go to get the
latest, latest version? Thanx, this is most helpful.

~ Godspeed ~

On Thu, Jul 9, 2020 at 11:45 AM Stalgia Grigg notifications@github.com
wrote:

Hi @buggles1 https://github.com/buggles1 You can do steps 1-5 of the
Development Process
https://p5js.org/contributor-docs/#/README?id=development-process
section of the contributors docs.

Alternatively you can use the library file in this editor sketch.
https://editor.p5js.org/stalgiag/sketches/gcSyqmJsl

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/processing/p5.js/issues/4680#issuecomment-656234725,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQHBK2XM6V476ZI6UU66SGDR2XX3FANCNFSM4OU6DKMA
.

You do have the latest officially released version which was made on Feb. 29th. The other file (June 8th) was built locally by me with the most recent Github main branch using the steps in the above linked contributor docs.

thank u @stalgiag !

You are obviously one of the main forces in p5js development. Thank you for
responding to my issue. Could you send me the June version of 1.0.0 or am I
asking for trouble using it. I have June p5.min from your sketch. As a
casual user am I really going to notice a difference.

This was to be my workaround just fyi:

function framePoly(v) { // v is an array of vertices - preferably in groups
of 3 :)
// Draw polygons as wireframe aka noFill();
// add 1st point to end of array to close polygon - "CLOSE" will not
work here
var len = v.length;
v[len] = v[0]; v[len+1] = v[1]; v[len+2] = v[2];
// or... v.push(v[0]); v.push(v[1]); v.push(v[2]);

beginShape();
for (var i = 0 ; i < len; i += 3) {
line(v[i], v[i+1], v[i+2], v[i+3], v[i+4], v[i+5]);
}
endShape();
}

Best :)

~ Godspeed ~

On Thu, Jul 9, 2020 at 12:28 PM Stalgia Grigg notifications@github.com
wrote:

You do have the latest officially released version which was made on Feb.
29th. The other file (June 8th) was built locally by me with the most
recent Github main branch using the steps in the above linked contributor
docs.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/processing/p5.js/issues/4680#issuecomment-656254958,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQHBK2WJGXTYEORAKCVA6LTR2X425ANCNFSM4OU6DKMA
.

Thank you. It took someone to send me a June version of p5mini to get that
fixed.

~ Godspeed ~

On Wed, Jul 22, 2020 at 5:47 PM Lauren Lee McCarthy <
[email protected]> wrote:

Closed #4680 https://github.com/processing/p5.js/issues/4680.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/processing/p5.js/issues/4680#event-3577831424, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQHBK2RD4XTY4SQPM4QMY5DR45UBXANCNFSM4OU6DKMA
.

Was this page helpful?
0 / 5 - 0 ratings