It seems cleaner to add a friction property to the base model that is always 0 for the first screen, than it is to add custom properties to other screen's models.
In addition, this can remove the cast in PendulumLabModel where this.friction || 0 is used.
It seems cleaner to add a friction property to the base model that is always 0 for the first screen, than it is to add custom properties to other screen's models.
In addition, this can remove the cast in PendulumLabModel where
this.friction || 0
is used.See #56.