• cuinjune

    @mianmogra Great work!

    posted in output~ read more
  • cuinjune

    @Jona Hi, I downloaded "list-abs" from Deken and copied "list-drip.pd" into the directory of your patch and now it works fine without the errors.
    Thanks!

    posted in patch~ read more
  • cuinjune

    @Jona Hi, Thanks for sharing your patch. it looks great!
    I just tried your patch but I get the following errors.
    Screen Shot 2019-01-14 at 7.23.43 PM.png
    I get the same errors on Windows too. Do you know how to fix these?

    posted in patch~ read more
  • cuinjune

    @alexandros Hi, do you mean you want to know how to set strings dynamically?
    Did you check "examples/text/easyFontLoader" example?
    You can send any symbol to the second inlet of [ez.drawFontString] abstraction to change the string.

    posted in pixel# read more
  • cuinjune

    Ofelia v2.0.4 is released and already uploaded to Deken.
    It mostly fixes minor bugs. Please update it if you haven’t.
    Merry Christmas!

    Changes:

    • Fixed Array:setTable() bug on Windows.
    • Renamed Array:getTable() and Array:setTable() to Array:get() and Array:set().
    • Added additional argument to Array:get() and Array:set() to set onset value.
    • Fixed crashing issue when returning a large sized table as a list.
    • Disabled printing the bug fix version on the pd console.
    • Added “examples/pd/misc” example to show various pd objects emulation.

    For more info: https://github.com/cuinjune/ofxOfelia

    posted in news read more
  • cuinjune

    @Vork Thanks! I'm glad you like it.
    If you have any question or suggestion using Ofelia, please let me know.

    posted in news read more
  • cuinjune

    @Jona Hi, the video looks cool!

    1. Sorry, I don't know what you mean by "how to make "shift" work again". I hope you'll find a solution.

    2. Yes, returning a 2 dimensional table will cause a patch to crash since it doesn't know how to convert it to a pd list. Why do you need to return the table? If you're trying to write the table to a pd array, I think you can do it internally using a pd.Array() class without returning the table.

    3. I'm not sure what would be the best way to save and recall a 2-dimensional lua table in pd. Even if you have a 2-dimensional table, you can write the data to 1 dimensional [array] and read back from it if your table has a fixed size. (e.g. 32x32 2-dimensional array can become 1024 1-dimensional array) And I don't know what you mean by flatten/deflatten the lua table.

    4. I checked your patch and you are sending [invert( message into the "ofelia d -c11 -k $0-Invert" object which does not call ofelia.bang() function but ofelia.invert() function. So you should either send "bang" message to an object or rename the function to "ofelia.invert()"

    posted in patch~ read more
  • cuinjune

    @Jona Cool work! I'm sorry I don't know much about the conway algorithm so I don't think I can help you. I may be able to help you if you simplify your question and post a patch that shows your problem.

    posted in patch~ read more
  • cuinjune

    @Jona Hi I'm sorry for the little delay. I fixed bugs including the one you posted on the github repo and uploaded on Deken. You will be able to find v2.0.4 shortly. Now your patch won't crash. I also added the "onset" parameter to Array getter and setter functions like you suggested. Please check out "examples/pd/misc" example. Thank you so much for your contributions to Ofelia. Please let me know whenever you find problems or have suggestions. :blush:

    P.S: Raspberry Pi version is not yet uploaded to Deken. I will upload it tomorrow. (just in case RPi users read this today)

    posted in patch~ read more
  • cuinjune

    @Jona Hi I could confirm that your patch crashes when I increase the size of the grid.

    And I found out what is causing the crash.

    I actually limited the size of the elements to 1000 when outputting a lua table through pd's outlet.
    I thought this will only be a problem when users use more than 1000 userdata elements but now looking at my code, it is also problematic when using other types as elements.(e.g. number, string..)

    Anyways, I can easily fix this so it no longer have a limit.
    I will fix this and upload 2.0.4 version to Deken by the end of this week and will let you know.

    Thank you. :+1:

    posted in patch~ read more

Internal error.

Oops! Looks like something went wrong!