-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
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
- Internationalization
- Friendly errors
- Other (specify if possible)
p5.js version
Latest
Web browser and version
Brave 1.76.73
Operating system
Windows 11 Version 24H2 (Build 26100.3323)
Steps to reproduce this
In the first example of the mouseWheel function, the code is intended to draw a circle in the center of the canvas and increase the circle's size when the user scrolls the mouse wheel. However, the code contains a typo, as it mistakenly changes the circle's X coordinate instead.
Steps:
- Go to p5.js.org
- Then go to reference and search for mouseWheel()
- The first example
Snippet:
//Draw the circle
circle(circleSize, 50, 50);