• cuinjune

    @gmoon Hi, in case you have trouble installing Ofelia through Deken, you can also download the compiled external binaries from https://github.com/cuinjune/Ofelia/releases

    posted in technical issues read more
  • cuinjune

    PdWebParty now supports Sliders(vsl, hsl) and Radio Buttons(vradio, hradio).

    Changes:

    • Added Sliders(vsl, hsl) and Radio Buttons(vradio, hradio).
    • Supports reading hex color from the patch content or receiver.
    • Changed comment font size to match Pd-0.51-3 or higher.

    You can try the app from https://pdwebparty.herokuapp.com/

    For more information, visit https://github.com/cuinjune/PdWebParty

    pdwebparty-screenshots.png

    posted in news read more
  • cuinjune

    @ddw_music Hi, Can you upload a simplified patch that doesn't work? Does it happen when you require a variable name using "$1" symbol?

    posted in pixel# read more
  • cuinjune

    @miguellacorte FYI, I built the alpha version of the app I mentioned above, so check it out: https://github.com/cuinjune/PdWebParty

    posted in technical issues read more
  • cuinjune

    Hi everyone,

    I would like to share my recent work PdWebParty which is a web app that allows you to run Pd patches in a web browser and share them with a web link. As the name implies, it is inspired by PdDroidParty and PdParty.

    You can try the app from https://pdwebparty.herokuapp.com/

    For more information, visit https://github.com/cuinjune/PdWebParty

    Currently, the app only supports Bang(bng), Toggle(tgl), Canvas(cnv), and Comment but other GUI objects will be added soon.

    Thanks!

    screenshots.png

    posted in news read more
  • cuinjune

    @miguellacorte Yes, I tried WebPD a while ago but as I recall there were quite a few vanilla objects that are not supported, but it might be your option if your project can be done with the objects it supports. And it will be easier to setup than the projects I mentioned above.

    posted in technical issues read more
  • cuinjune

    Hi, I think you can take a look at https://mathr.co.uk/empd/ to compile Pd to Javascript and Web Assembly.

    There's also Purr Data on the Web:


    but it's in alpha stage and still in development so I would say it's not really ready to be used. But you can try the demo and learn about it from https://git.purrdata.net/jwilkes/purr-data/-/tree/emscripten/emscripten/project/purr-data

    I'm planning to build something like PdParty / PdDroidParty for the web browser in a few weeks.
    It will allow the user to drag and drop a patch onto the webpage to load the patch and share the patch using the URL with the patch data appended. If this is successfully done, I will post it here and you could probably use it for your project. But you will still need to use Javascript to gather such data and use it as an input for a patch.

    posted in technical issues read more
  • cuinjune

    @cuinjune Nevermind, I got an answer to my question from @alexandros
    He said I simply need to add [declare -path ofelia/abs] to patches so the listener objects can be created as abstractions.

    posted in pixel# read more
  • cuinjune

    This patch should work as expected: ofelia.movie.pd

    The problem is in [ofelia.movie]'s M.pointer(p) and M.bang() functions.

    You need to call videoplayer:unbind() to unbind the video texture after it is being bound to the cube.

    But return videoplayer; will output a value and end the function immediately so you need to use the Ofelia's built-in ofOutlet() class to output a value without ending the function.

    So you can create an outlet variable with local outlet = ofOutlet(this);

    And then use it in these functions to output a value:

    function M.pointer(p);
    videoplayer:update();
    videoplayer:bind();
    outlet:outletPointer(0, videoplayer);
    videoplayer:unbind();
    end;
    
    function M.bang();
    videoplayer:update();
    videoplayer:bind();
    outlet:outletPointer(0, videoplayer);
    videoplayer:unbind();
    end;
    

    The first argument of outletPointer() specifies the index of outlet, and the second is the value to output.

    Now, whenever it binds the video texture to a cube (or other shapes), it will unbind it.

    I hope this helps.

    posted in pixel# read more
  • cuinjune

    @60hz Hi, I just found this. Thanks for the amazing work!
    I tried your patches and they work fine with Ofelia v3 but not with the latest v4.

    Do you have one that works with v4? If not, do I need to just replace the listener objects (e.g. [ofDraw]) with the abstractions in v4? Any tips on how I can make your abstractions also work in v4?

    posted in pixel# read more

Internal error.

Oops! Looks like something went wrong!