-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
We currently have a 1D spring (NumericSpring
) and a 2D spring (Point2DSpring
). It would be nice to have a DimensionsSpring
, which is really just a Point2DSpring
with the axes renamed.
Point2DSpring
can probably be refactored into a function that generates a class for a multidimensional spring of a given shape. Then, it should be as easy as
const DimensionsSpring = createMultidimensionalSpringClass({ axes: ['width', 'height'] });
Metadata
Metadata
Assignees
Labels
No labels