Problem with documentation (and maybe a problem with object zoom)
Nature of issue?
- [ x] Found a bug
- [ ] Existing feature enhancement
- [x ] New feature request
Most appropriate sub-area of p5.js?
- [ ] Color
- [ ] Core
- [ ] Data
- [ ] Events
- [ ] Image
- [ ] IO
- [ ] Math
- [ ] Typography
- [ ] Utilities
- [x ] WebGL
- [ ] Other (specify if possible)
Which platform were you using when you encountered this?
- [x ] Mobile/Tablet (touch devices)
- [x ] Desktop/Laptop
- [ ] Others (specify if possible)
Details about the bug:
On documentation of perspective, some elements are overlapping the code https://p5js.org/reference/#/p5/perspective
-
p5.js version: latest
-
Web browser and version: Chromium Version 63.0.3239.84
-
Operating System: Linux ubuntu 16.04 32bits
-
Steps to reproduce this:
Feature enhancement details:
So, looking at documentation (maybe, was being as newbie) but when i use camera or perspective, i can't do "zoom" function on my object when i use WEBGL, i've tried perspective and camera, but i can't realize the zoom object
My code:
//begin of program let object; let angle = 0;
function preload(){ object = loadModel('Jin/Jin.obj'); }
function setup(){ createCanvas(500,500,WEBGL);
}
function draw(){ background(0); ambientLight(100); rotateX(1); rotateY(angle); rotateZ(angle); // perspective(100,0,100,100) model(object); angle += 0.03; }
//end of program
New feature details:
So, if have some issues with objects zoom, thats is a good issue to promove 3D