-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code review for TemporalMask and usages #303
Comments
Is this something new for the 1.0 release? |
Yes |
@ariel-phet asked me to check if @pixelzoom is available to work on this. Leaving self-assigned to make sure everything is all set. |
@pixelzoom are you available to review this new component? TemporalMask.js was introduced to address #258. The code to be reviewed would be TemporalMask.js (119 lines of code) and its usages in Scene.js. Ready when you are. |
Sure. I can get to it first thing Monday 1/14. Is that soon enough? |
You bet, thanks! |
I had time to review this today. Looks good, but a few questions/observations... (1) In // search back through time to see if the source contributed to the value at (i,j) at the current time
for ( let k = 0; k < this.deltas.length; k++ ) { "search back in time" seems to indicate that we'll be looking at elements from newest to oldest. But (2) Elements in {
isSourceOn: boolean // true if the source is on, false if the source is off
numberOfSteps: number // integer number of times the wave has been stepped on the lattice
yLattice: number // vertical lattice coordinate
} (3) The elements in |
I committed proposed fixes for (1) and (2). For (2) I used the name |
👍 Closing. |
A significant new amount of code was developed in order to address #258. Once that solution is approved and vetted by the design team, and perhaps gone through dev testing, it would be good to have a code review. Pinging @pixelzoom and @ariel-phet so they are aware this is coming up.
The text was updated successfully, but these errors were encountered: