You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 circlecircle(circleSize,50,50);
The text was updated successfully, but these errors were encountered:
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!
Most appropriate sub-area of p5.js?
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:
Snippet:
The text was updated successfully, but these errors were encountered: