Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paletteLerp doesn't work when it's run locally #7469

Open
1 of 17 tasks
DaniFeng opened this issue Jan 15, 2025 · 4 comments
Open
1 of 17 tasks

paletteLerp doesn't work when it's run locally #7469

DaniFeng opened this issue Jan 15, 2025 · 4 comments

Comments

@DaniFeng
Copy link

DaniFeng commented Jan 15, 2025

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)

p5.js version

No response

Web browser and version

No response

Operating system

Windows

Steps to reproduce this

Not sure if anyone else is facing this issue, but it seems like paletteLerp isn't included in the p5js library when running it locally. I haven't had this issue with any other reference thing. Any usage of paletteLerp warrants this:

image

I have it working fine on the web editor.

@DaniFeng DaniFeng added the Bug label Jan 15, 2025
Copy link

welcome bot commented Jan 15, 2025

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!

@davepagurek
Copy link
Contributor

Hi! What version of p5 are you using locally? The version number is at the top of the file. It sounds like you might be using an earlier version, so you can try re-downloading p5.min.js from https://p5js.org/download/

@DaniFeng
Copy link
Author

Hey there,
It says I'm using /*! p5.js v1.5.0 October 18, 2022 */ and it is the one that came with the most recent version of Processing as an add-on. I'm assuming I have to update the library.

@davepagurek
Copy link
Contributor

If you download p5.min.js from https://p5js.org/download/, try replacing the existing p5.min.js in your libraries/ folder with that. Let me know if that works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants