We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/generative-design/Code-Package-p5.js/blob/master/01_P/P_1_2_1_01/sketch.js Line 53, if you move the mouse beyond the canvas, it will fall out of the map range and make tileCountY undefined. It either needs a fallback, or a constraint on mouseY tileCountY = int(map(constrain(mouseY,0,height), 0, height, 2, 10));
The text was updated successfully, but these errors were encountered:
Add constrain to address issue #175
7e0c043
This should be resolved now. I ended up implementing your proposed solution. Thanks!
Sorry, something went wrong.
@Niels-NTG Many thanks for taking care of this and the new release! Cheers!
Niels-NTG
No branches or pull requests
https://github.com/generative-design/Code-Package-p5.js/blob/master/01_P/P_1_2_1_01/sketch.js
Line 53, if you move the mouse beyond the canvas, it will fall out of the map range and make tileCountY undefined. It either needs a fallback, or a constraint on mouseY tileCountY = int(map(constrain(mouseY,0,height), 0, height, 2, 10));
The text was updated successfully, but these errors were encountered: