Skip to content

mixerFactory is not a function #953

Description

@okrymus

How to fix the bug?

When I use this
const mapper = interpolate([-2000, 0, 2000], [0.25, 1, 4], { clamp: true });
I got the error

interpolate.mjs:35 Uncaught (in promise) TypeError: mixerFactory is not a function
    at createMixers (interpolate.mjs:35:21)
    at interpolate (interpolate.mjs:83:20)
    at animate (index.mjs:27:33)
    at index.mjs?v=1962ad86:1516:16
    at index.mjs?v=1962ad86:80:24
    at new Promise (<anonymous>)
    at Proxy.start (index.mjs?v=1962ad86:79:12)
    at index.mjs?v=1962ad86:1511:26
    at Array.map (<anonymous>)
    at set (index.mjs?v=1962ad86:1509:65)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions