PyScript + p5.js

hi, neil , thanks for replay.

I agree. I might have misunderstood it as another argument. I apologize for that.

I think there’s a risk you’re accidentally going off on a tangent that doesn’t seem relevant to Andrew’s query and doesn’t support your earlier statement that the “mechanism for executing JavaScript from the PyScript side has not yet been developed”.

Regarding p5.js, I think it was pointed out that it is difficult to call from the python side.
I need a python library to solve this problem, but it doesn’t seem to exist yet.

In Japan, on December 21, 2020, there is an article about calling python from p5.js in the article “21st day of ISer Advent Calendar 2020”.

However, upon further investigation, “GIthub” has his pyp5js developed by berinhard.

Maybe if you can install it on pyscript (and of course you need to add it), your wishes will come true.

1 Like