Skip to content

Native p5 classes (like p5.Vector) are undefined #138

@gwezerek

Description

@gwezerek

Describe the bug
Good evening! I've been trying to get some of the p5-sound classes, like p5.Amplitude(), to work with this library. Unfortunately they remain undefined.

I noticed in the closed issues and 3.0 release that there was an attempt to fix the constructor issue. It doesn't seem to be working, based on everything I tried and the repl below.

(Thank you for making this library, btw!)

To Reproduce
See the undefined in the console here:
https://svelte.dev/repl/24a6a55ff03c4a65bf1b24fb58d4d575?version=3.31.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions