python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Default values for mouseX and mouseY in p5js
I'm trying to set a default value for mouseX and mouseY. I want my blob to appear in the center of the screen, and then when the user moves the cursor, it moves from there.
When I do this:
pmouseX,500...
magui
Votes: 0
Answers: 1
Can I control the blob function with mouseX and mouseY?
I'm a newbie with p5.js, but I want to create a blob that follows my cursor across the screen. I saw that you could do it with the mouseX and mouseY variables. Here is my code:
let kMax;
let step;
let...
magui
Votes: 0
Answers: 0
Blurry sprites when scaled up in p5.js
I'm trying to scale the size of a sprite in p5.js up a bit (factor of 2) and they look blurry when rendered. Obviously scaling up is usually not a great idea, however I've had success in making a pix...

erik
Votes: 0
Answers: 1
How to make this cube a Sphere in P5.js?
I've been developing a procedural cube, which is built in three steps.
Setting up the vectors
Drawing the triangles needed
Normalizing to convert to sphere
My problem regards to the last step, when ...

nicolas osorio bustos
Votes: 0
Answers: 0