phetsims / density

"Density" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
0 stars 6 forks source link

What is the expected behavior of ?webgl=false #171

Closed zepumph closed 1 year ago

zepumph commented 1 year ago

@jonathanolson and I were surprised to see some webgl-like content when running both with ?webgl=false and when turing off "hardware acceleration" in Chrome:

image

jonathanolson commented 1 year ago

After https://github.com/phetsims/density-buoyancy-common/commit/08c116f2, we're creating the full view (with WebGL if it's somehow possible) even with ?webgl=false or if webgl isn't running. This is so we can have the same phet-io API.

@zepumph any objections to how that is happening? It does look a bit weird in this case, but I don't see a way to prevent it easily.

zepumph commented 1 year ago

No worries. I remember we were confused and wanted to make sure things weren't a bug. Ready to close?

jonathanolson commented 1 year ago

Closing!