(Fairly difficult, it's unclear if this is the linear/radial gradients having an issue, RenderFromNode having an issue, or an internal other Alpenglow issue. Will require knowledge of color spaces and blending, since there might be a bad blend going on - possibly only on gradients with transparency)
There are some minor visual differences that I'm interested in. I am NOT interested in the rendering differences that are size-small (like the slight differences in rendering small lines or text), however I am interested in the gradient shifts (both linear and radial) that seem to happen when using RenderFromNode.showSim().
In Pendulum Lab, this is most noticeable on the ResetAllButton, but also visible on the gradient on the masses themselves.
Move font files into scenery/js/display/vello/ (talk to @jonathanolson)
Open up Pendulum Lab, go to the first screen
Run phet.alpenglow.RenderFromNode.showSim() in the console. It will display a Canvas OVER everything else with the alpenglow software-rendered image.
To switch back and forth to see visual differences, select the Canvas in devtools, and toggle visibility on it (might need to add the CSS inline), like the following:
(Fairly difficult, it's unclear if this is the linear/radial gradients having an issue, RenderFromNode having an issue, or an internal other Alpenglow issue. Will require knowledge of color spaces and blending, since there might be a bad blend going on - possibly only on gradients with transparency)
There are some minor visual differences that I'm interested in. I am NOT interested in the rendering differences that are size-small (like the slight differences in rendering small lines or text), however I am interested in the gradient shifts (both linear and radial) that seem to happen when using RenderFromNode.showSim().
In Pendulum Lab, this is most noticeable on the ResetAllButton, but also visible on the gradient on the masses themselves.
To reproduce:
phet.alpenglow.RenderFromNode.showSim()
in the console. It will display a Canvas OVER everything else with the alpenglow software-rendered image.Alpenglow-rendered:
Scenery (SVG) rendered:
Alpenglow:
Scenery SVG: