phetsims / mean-share-and-balance

"Mean: Share and Balance" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
2 stars 1 forks source link

Add the clipping of the balance beam #165

Closed jbphet closed 6 months ago

jbphet commented 6 months ago

In the current main version the balance beam can be placed into a situation where it goes off the notepad, like this:

image

We should add the clipping area for this, and we should try to layer things such that the edge of the clipping region is at the edge of the full notepad, and the line of the beam goes under (in the z-order) the notebook rings. This matches what is currently shown in the design doc.

jbphet commented 6 months ago

I've added this, here's a screenshot of the current look:

image

marlitas commented 6 months ago

@jbphet and I reviewed together, and this is ready to close.