Closed veillette closed 7 years ago
For PhET-IO, how should,
// randomize the array of dots so that we can show/hide them in a random way as resistivity changes dotGroup.children = _.shuffle( dotGroup.children );
in WireNode.js be handled, if at all?
Hi @veillette! If you're asking about how to make it compatible with phet-io so that results are repeatable, plese use phet.joist.random.shuffle.
phet.joist.random.shuffle
I fixed the line of code. Closing
For PhET-IO, how should,
in WireNode.js be handled, if at all?