Skip to content

Expose tilt and wobble parameters for more control over animation #244

@frederikheld

Description

@frederikheld

Thank you for this amazing library. It works like a charm.

One addition I would wish for is more fine grained control on the animation parameters for tilting and wobbling.

There's the default and there's flat: true to turn it off entirely.

It would be great to actually set values / ranges for tilt and wobble.

Example:

I want to fire "damage numbers". The default tilt and wobble doesn't work well with text that has more than one character as the text will be stretched. It will also go upside down, which is hard to read.

Using the flat option makes the effect super boring. It would be great to have the text flat but with a variation in rotation that matches the angle.

This is just one example to creatively use this library. Directly exposing the tilt and wobble parameters would make room for even more creative uses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions