• 60hz

    @Maxiestudies Truely, I prefer write my own code too when using arduino. But I need to do a very short workshop and I am asking myself what is the most solid way to talk with firmata.

    posted in news read more
  • 60hz

    @whale-av I have another question, now that the tcl plugin add the path, would it be also possible to declare libraries this way? I tried adding :

    set startup_libraries {mylib}
    

    But It doesn"t work. This would be useful because I try to avoid making a .sh script for OSX and different .bat for windows.

    posted in technical issues read more
  • 60hz

    I recently found a new firmata client external for pd and I tried it with arduino, it looks perfectly stable.
    Do any of you have experience with it? What are the pros and cons over the old pduino abstractions?

    https://github.com/NullMember/PDFirmata

    Cheers

    posted in news read more
  • 60hz

    I would suggest using ceammc library (find help -> find externals -> ceammc) which have a better and updated [system] object called [system.exec]

    posted in technical issues read more
  • 60hz

    @cuinjune Thanks to you for realeasing the great ofelia library, it is really a lifechanging library in the puredata world for many of us.
    All is working with v4 and now I am using only [ofelia] objets in all the abstractions.

    @ddw_music actually the goal is to be able to use the camera function when needed, and keeping everything simple. I agree with you that Gem is obsolete but some ideas are still valid like a normalized coordinate system which is more handy for 3d. Actually now I made [gl.draw] behaviour better: you can send a negative rendering value so the rendering will be done outside of the camera and go back to the traditionnal Openframework coordinate system, maybe more suitable for 2d.

    Here is a better place to download the updated abstractions: https://github.com/60-hz/Ofelia-Fast-Prototyping

    Feel free to test it, I am not sure it is ready for distribution with students yet but at least I make progress and learn a bit of lua/openframeworks :)

    Any help for making new abstractions are very welcome, what would be nice is a good 3d model importer, but I don't know if it is a good idea to make one from scratch, maybe adding the ofxAssimpModelLoader would help @cuinjune ?

    posted in pixel# read more
  • 60hz

    Hi @ddw_music,

    I did not have time to finish it in a "satisfaying usable state" for my last workshop unfortunately. Making such an exhaustive library pretending replacing Gem from scratch is not an easy task.

    Also since then Ofelia v4.0 was released and Zack Lee did what it should to make ofelia a better and cleaner lib: remove all openframeworks pd's objects and keep only one [ofelia] main object as function call.
    This make this "Fast Prototyping Ofelia" project even more useful for workshop, since with current ofelia v4.0, students really need to know lua to be able to draw anything on screen!

    But I made many improvement on the project recently and totally re-designed a lot of stuffs, specially for the coordinate part because historically Openframeworks used a pixel based coordinate system (point 0,0 is top left of the screen) and we need to have a true normalized one (like Gem where 0,0,0 is at center). So the solution was to create a default camera along with the window context rather than rendering things at the center of the screen). Also I discovered the reversed openGl coordinate for texture etc that need a bit of time to be fixed before going further.

    So expect a test update very soon, so I might be ready for my next workshop beginning of december, if the Coronavirus Lockdown in France will finish :/

    posted in pixel# read more
  • 60hz

    @Boran-Robert True.

    @jancsika Great. Also as we are talking about Gui of Purr data, I suggested another simple fix about text color separation in order to allow more various themes creation here https://git.purrdata.net/jwilkes/purr-data/-/issues/689

    posted in technical issues read more
  • 60hz

    I understand that for compatibility reason you cannot change a lot of the behavior for the "selection size" square, which is on of the many design lameness in vanilla gui.
    But for the resize square that is new in purr data, adding a simply transparent square inside would make it pretty nice and usable.

    canvas.jpg

    or replace square with a kind of arrow:

    canvas2.jpg

    posted in technical issues read more
  • 60hz

    I think draw anchor inside and make them half transparent would be a nice idea too.

    posted in technical issues read more
  • 60hz

    @svanya said:

    Subpatches CAN have creation arguments and it is the same one as its parent

    I think this is wrong: writing $1 in any subpatch simple take the $1 from the main patch where your subpatch is located. Try to replace $1 with $2 in your main abstraction and see, you don"t get "e" when asking for $1 but still "3".

    For the other points I agree, I also discovered them by practising.

    @svanya said:

    I've been programming pd for over five years and never knew this was possible.
    Mark it up as "There is always something new to learn".

    That's a positive point of view. I would say that, after 5 years, if you still discover things it might also means that pd has still some work to do on the documentation ;)

    Cheers

    posted in tutorials read more
  • 60hz

    I agree that pd could have basic abstractions in order to make it more easy like random list etc...

    The CEAMMC lib is certainly one of the best exemple of what a good standard lib could be (many basic object with good naming convention etc). But the functions are growing a bit too much and the complexity added by the extending pd with new data types are maybe the limit of such project.

    posted in technical issues read more
  • 60hz

    @whale-av
    I am finally back on it and made it work finding the clothest X center position of the head and a reset after the last skeleton exit... I don't now how it behaves with many people yet...

    @ricky
    As far as I can tell, we still need a terrifying windows system in order to get skeleton tracking with Kinect v2.

    posted in technical issues read more
  • 60hz

    @whale-av
    Actually I think that a user is still detected even if some part (like the head) leave the file of view... so relying on it being "untracked" means there will still be a working ID in the field of view for other parts of the body.

    Unfortunately With KinectOSC, there is no global message regarding the tracking of a user, that's why I used the delay between information before for my test.

    posted in technical issues read more
  • 60hz

    @whale-av said:

    Inferred and tracked

    it give information about a specific part of the body so the program can make that part disappear in order to keep a less jittery body on screen I guess (that's the way I will do next).

    Using reset will (very) temporarily introduce errors too.....

    Yes, I think also that it might be problematic.

    I am thinking..... when a head is in the red area it is deleted from the store.......

    Yes, that way looks even more suitable!

    posted in technical issues read more
  • 60hz

    Wow thanks @whale-av, that looks like a clever way to do!

    But If the user who have the lower head leave the field, the remaining user who have the lowest are not present since I reset all (or clear "smallest" text define) isn't it?
    The kinectv2 could see up to 6 user, so if many people are in traked in the room how to do?

    posted in technical issues read more
  • 60hz

    @jameslo the ID's are generated randomly each time a new user come in the field of view. The second example is just a quick hack to make something "quickly work" but the real attempt is in the patch from the zip file (with a simple Kinect user data simulator)

    @ingox the thing is I don't need to find the lowest ID, but to route the list of the ID which contain the smallest Z head position in the list. For example if I have 2 ID incoming:

    print: /bodies/000000001/joints/Head 0.321555 -0.0569061 0.2 Inferred
    print: /bodies/000000002/joints/Head 0.321555 -0.0569061 0.1 Inferred
    

    then, I need to route only the list which have the smallest head z position:

    print: /bodies/000000002/joints/Head 0.321555 -0.0569061 0.1 Inferred
    

    @whale-av I guess you talk about occlusion here, the last list element is trackingState (Tracked, NotTracked or Inferred), I guess I need to think about it also but it's another step ahead.

    posted in technical issues read more
  • 60hz

    Anybody on this?

    Right now I made a simple rule to route the current ID as long as the body is present.. but It's just a simple patch that I need to improve.

    I still need to parse a list regarding the z position of the head...

    kinect.PNG

    posted in technical issues read more
  • 60hz

    @seb-harmonik-ar great!
    My theme is ready, less confusion between objects and messages boxes for students, and everything is readable ;)

    Capture d’écran 2020-09-17 à 14.37.10.png

    Here is the plugin : colors-plugin.tcl

    posted in news read more
  • 60hz

    @seb-harmonik-ar
    Thats working perfectly in color-plugin.tcl! Thanks.

    Another question regarding inlet/outlet: now the msg_cord color is corelated to iolet outline color.
    In order to make even better themes do you think that it would be possible to have a separated outlet outline color? or be able to have no outline in iolet?

    posted in news read more
  • 60hz

    @seb-harmonik-ar

    I tried the windows executable and it's working great so far, thanks a lot.
    Also, I see that the aliasing effect is less ugly when the line is wider... since that's a current discussion

    Capture0.PNG

    Also do you think that it is possible to refresh the screen draw after changing the curved lines so we see the result? Right now we need to select an box and move it to see the change.

    posted in news read more
Internal error.

Oops! Looks like something went wrong!