question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiple canvases display the same thing

See original GitHub issue

Hey again, so I’m still trying to replicate this example. From their code, a canvas is created for each couple of images.

Here is my attempt, also based on the sandbox you provided me in issue #23 (thanks again!) https://codesandbox.io/s/w5902o607

I’m not sure if it’s updating to v1.3.7 that created this but now all canvases are showing the same image, and behave like one. I had it running properly at one point (under v1.3.6) but then I was running into THREE.WebGLRenderer: Context Lost issues.

Maybe this is not the right place to ask, but it really felt related to the version bump from v1.3.6 to v1.3.7

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:35 (35 by maintainers)

github_iconTop GitHub Comments

2reactions
dbismutcommented, Mar 14, 2019

Here is the complete sandbox similar to the Tympanus original example btw: https://codesandbox.io/s/n74213346l

1reaction
drcmdacommented, Mar 14, 2019

yep, going back to three version 100 fixes it: https://codesandbox.io/s/x37p4kk6p4

I think they have already fixed it in dev, but not released as a patch yet

Read more comments on GitHub >

github_iconTop Results From Across the Web

Should I have multiple canvases in the same scene?
In my experience, multiple canvases are not required for most situations. Better to have a single canvas and simply use multiple panels within ......
Read more >
HTML5 multiple canvas on a single page - Stack Overflow
I've used dozens of canvases on the same page display different graphs using a javascript graphing library. The graphs are quite fast, it's...
Read more >
Three.js Multiple Canvases Multiple Scenes
We make a single Renderer and then one Scene for each virtual canvas. We'll then check the positions of the virtual canvas elements...
Read more >
WebGL Multiple Views, Multiple Canvases
Let's say you wanted to draw multiple views of the same scene, how could we do this? One way would be to render...
Read more >
Displaying Multiple Canvases - CLIP STUDIO
Selecting a [Switch canvas] tab and then, dragging and dropping it on the canvas window edge allows you to display multiple canvases simultaneously....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found