phetsims / alpenglow

Experimental rasterization engine, by PhET Interactive Simulations
MIT License
9 stars 0 forks source link

Geometric Optics visual difference #6

Open jonathanolson opened 10 months ago

jonathanolson commented 10 months ago

(Moderate difficulty, somewhat related to #5, but hopefully slightly easier to track down)

Run things similar to #5, but with geometric-optics. First screen.

Scenery SVG:

image

Alpenglow:

image

(as a side note... check out the antialiasing differences on the black line between the two! some is going on with Chrome SVG)

jonathanolson commented 10 months ago

(moderate difficulty)

Miter-limit issue on the lens (look up miterlimit!)

Scenery SVG:

image

Alpenglow:

image

This might be related to Kite's shape stroking (that we're using for now). Is getStrokedShape() not respecting miterlimit correctly?