Closed davepagurek closed 7 months ago
@diyaayay since you updated this example last, let me know if you think these changes make sense to you!
@davepagurek Yes, I think these work well now. I should have updated the documentation while adding 800 to the default far
value.
Thanks for looking into this.
Resolves https://github.com/processing/p5.js/issues/6755
Changes
far
value adds 800ortho
in the example:far
value wasn't suitable when copy-and-pasted into a larger sketchcamera(...)
call: with the updatedfar
value, the camera does not need to be placed closer to the objects to make them visible and have them continue to be visible when zooming/rotating a bit withorbitControl
Screenshots of the change
Before:![image](https://github.com/processing/p5.js/assets/5315059/9e73232d-65b9-478f-88b0-7b8ca0a79a56)
After:![image](https://github.com/processing/p5.js/assets/5315059/2f5cdaa9-8b56-4cdd-b078-74970a360b9a)
PR Checklist
npm run lint
passes