Closed
Description
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
- Internalization
- Friendly Errors
- Other (specify if possible)
p5.js version
1.5.0 (cloudflare CDN)
Web browser and version
all of them
Operating System
n/a
Steps to reproduce this
Steps:
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.5.0/p5.js"></script>
</head>
<body>
<script>
p5.Color(0)
</script>
</body>
</html>
Yields the following error:
Uncaught TypeError: this._storeModeAndMaxes is not a function
Color https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.5.0/p5.js:53391
<anonymous> http://localhost:8000/index.html:9
[p5.js:53391:16](https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.5.0/p5.js)
Color https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.5.0/p5.js:53391
<anonymous> http://localhost:8000/index.html:9