processing / p5.js

p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
http://p5js.org/
GNU Lesser General Public License v2.1
21.51k stars 3.29k forks source link

Fix default z value in p5.Camera::camera() docs #7001

Closed davepagurek closed 4 months ago

davepagurek commented 5 months ago

It was discovered in https://github.com/processing/p5.js-website/pull/312 that in the p5.Camera::camera() method, the default value for z was described as 0 when it should be 800 (and is correctly documented as such in the global camera() method and other places.) This PR changes the value in the docs to 800.

I'll also make a change in the website repo directly so that we don't need a full release of p5 to get this updated on the site.