We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.7.0
Firefox 117
macOS 14.0
begin
end
ortho
let fbo function setup() { createCanvas(400, 400, WEBGL) fbo = createFramebuffer() } function draw() { fbo.begin() background(100) ortho(-width/2, width/2, -height/2, height/2, 0.1, 2000) translate(0, -100) box() fbo.end() imageMode(CENTER) image(fbo, 0, 0) }
function draw() { fbo.begin() background(100) + push() ortho(-width/2, width/2, -height/2, height/2, 0.1, 2000) translate(0, -100) box() + pop() fbo.end() imageMode(CENTER) image(fbo, 0, 0) }
Live: https://editor.p5js.org/davepagurek/sketches/GMWJ1-n9n
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Most appropriate sub-area of p5.js?
p5.js version
1.7.0
Web browser and version
Firefox 117
Operating System
macOS 14.0
Steps to reproduce this
Steps:
begin
/end
, and with a camera function likeortho
, then draw that to the screen. e.g.:Live: https://editor.p5js.org/davepagurek/sketches/GMWJ1-n9n
The text was updated successfully, but these errors were encountered: