-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Description
Most appropriate sub-area of p5.js?
- Color
- Core/Environment/Rendering
- Data
- Dom
- Events
- Image
- IO
- Math
- Typography
- Utilities
- WebGL
- Other - Reference Docs
Details about the bug:
The website example at: https://p5js.org/reference/#/p5/cursor isn't working correctly. In the bottom right-corner of the example, it should produce a custom cursor hosted at: https://s3.amazonaws.com/mupublicdata/cursor.cur but the url is dead, which breaks that portion of the example.
Here's the url in context:
function draw() { line(width / 2, 0, width / 2, height); line(0, height / 2, width, height / 2); if (mouseX < 50 && mouseY < 50) { cursor(CROSS); } else if (mouseX > 50 && mouseY < 50) { cursor('progress'); } else if (mouseX > 50 && mouseY > 50) { cursor('https://s3.amazonaws.com/mupublicdata/cursor.cur'); } else { cursor('grab');