processing / p5.js

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 Processing. http://twitter.com/p5xjs —
http://p5js.org/
GNU Lesser General Public License v2.1
21.62k stars 3.31k forks source link

this.ingredients.shapes[f] !== [include] always returns true #6660

Open nikhilkalburgi opened 10 months ago

nikhilkalburgi commented 10 months ago

Most appropriate sub-area of p5.js?

p5.js version

1.9.0

Web browser and version

No response

Operating System

No response

Steps to reproduce this

Steps:

  1. Goto outputs.js file
  2. change this.ingredients.shapes[f] !== [include] to JSON.stringify(this.ingredients.shapes[f]) !== JSON.stringify([include]) inside p5.prototype._accsOutput

Snippet:


JSON.stringify(this.ingredients.shapes[f]) !== JSON.stringify([include]) 

image

I will solve this problem. Assign it to me

welcome[bot] commented 10 months ago

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms. Thank you!

YashGupta2111 commented 8 months ago

@nikhilkalburgi I have solved this issue and applied a pull request also .Please check the pull request and merge it