Open marlitas opened 2 years ago
Yes, it seems at least some code would ideally be shared between those sims.
After doing more research I found that Proportion Playground also uses a similar Triangle Node.
Will be using the Perennial script: copy-history-to-different-repo.js to transfer TriangleNode.js into Scenery-Phet.
TriangleNode has been implement into both proportionPlayground and Blackbody-spectrum. Implementing into proportion playground was not as straightforward and required the use of magic numbers to match original. I was not able to understand the local coordinate system on my own and would like review from @jonathanolson as responsible dev to properly implement TriangleNode into proportionPlayground in a manner that functions more seamlessly with existing code.
Reviewing scenery-phet issues for Q4 2022 planning...
Currently assigned to @jonathanolson for review. @kathy-phet please prioritize this review.
@kathy-phet @jonathanolson Noting that this has been ready for review for 9+ months.
@kathy-phet @jonathanolson Noting that this has been ready for review for 18+ months.
While researching a bug on the 3D water cups slider I discovered that Blackbody spectrum also has a triangular thumb node for their slider:
Our triangular thumb node looks like this:
Should a triangular thumb node for sliders be implemented into scenery-phet to avoid code duplication?