Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't access PIXI objects directly in PsychoJS (from a visual component plugin) #606

Open
MaffDev opened this issue Jan 14, 2025 · 0 comments

Comments

@MaffDev
Copy link

MaffDev commented Jan 14, 2025

I'm working on a visual component plugin for both offline, and online with Pavlovia. The issue I'm having is that, for the online version, I need to be able to create PIXI objects to render my stimuli.

It doesn't seem like PsychoJS re-exports anything from the PIXI lib, and I'm not sure where it's stored when running from Pavlovia (I couldn't find it by trying to import from './lib/'). Is there a way to access PIXI via PsychoJS, or a good alternative?

The best I can think of is to try and include "pixi.js-legacy": "^6.0.4" in my experiment folder, or import it from a URL, but that seems a little wasteful. Is there a better approach?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant