Here's how we do it in OpenFrameworks: https://github.com/openframeworks/openFrameworks/blob/develop/libs/openFram…
On Jul 30, 2013, at 3:03 PM, pd-list-request(a)iem.at wrote:
> From: Jonathan Wilkes <jancsika(a)yahoo.com>
> Subject: Re: [PD] get dir of current pd
> Date: July 30, 2013 2:43:24 PM EDT
> To: pd-list(a)iem.at
>
>
> On 07/30/2013 07:48 AM, yvan volochine wrote:
>> On 30/07/13 08:41, Jonathan Wilkes wrote:
>>> Ok, I figured out how to do this
>>
>> and how do you do?
>
> In GNU/Linux on some _distros_ you can check the symlink
> /proc/self/exe
>
> If you do a readink from within C in Pd you'll get the absolute
> path and name of the executable.
>
> However, if you use the command "readlink" to [shell] I imagine
> the readlink binary will look in the mirror and give you its own
> name back.
>
> I don't think /proc/self/exe is a requirement of all Linux flavors,
> and I don't know what the BSD OSes do, or OSX. So I'm reluctant
> to add this to [pdinfo].
>
> Windows has its own function accessible from C to return the full
> path and name of the executable.
>
> -Jonathan
>
>>
>> y
--------
Dan Wilcox
@danomatika
danomatika.comrobotcowboy.com
There's a recursion tutorial by Claude Heiland-Allen that uses such techniques. Maybe it's included in the browser, check it out.
On 2 Αυγ 2013, at 12:07, Miguel Eduardo Venegas Monroy <miguelvmonroy(a)gmail.com> wrote:
> i dont undertand.
> ;S
>
>
> 2013/8/2 Alexandros Drymonitis <adrcki(a)gmail.com>
>> Isn't [repeat] along with [separator] the solution for such things?
>> Maybe something like this could work:
>>
>> [gemhead]
>> |
>> [t a a]
>> | |
>> | [cube]
>> |
>> [separator]
>> |
>> [repeat]
>> |
>> [color]
>> |
>> [translate]
>>
>> Incrementing the number in the left inlet of [repeat] should create a new copy where you can change its parameters (color, position,etc.), if i'm not mistaken...
>>
>> maybe you need a separator before [cube] as well, not sure..
>>
>> On 2 Αυγ 2013, at 11:16, puredata(a)11h11.com wrote:
>>
>> >> maybe [gemlist] will help you?
>> >
>> > What if i need specific colors for each cubes?
>> >
>> > _______________________________________________
>> > Pd-list(a)iem.at mailing list
>> > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>
>> _______________________________________________
>> Pd-list(a)iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
Hi everybody,
I recently came across an annoucement for a new pd-book by Brian Chung. This book is GEM-oriented and, although I don't have money right now to buy it (I really don't!) It reminded me of an idea I had a while ago: building a stitching patch in PD. I was wondering if any of you had already done that or if anyone knew about a good tutorial to achieve this. I also like to work with "collages" of photos, so my ideal patch should be able to open a bunch of jpegs and let me toss them around the screen with variable coordinates, zoom factor, transparency, and eventually allow me to save the result as a new jpeg file.
Any help or guidelines would be much appreciated!
David
http://www.flickr.com/photos/schafferdavid/http://audioblog.arteradio.com/David_Schaffer/
Hi all,
How to create many cubes in Gem. Right now, my solution is to use
dynamic patching and creating obj in a sub-patch [mycube 0 0 0 1 0 1]
- position / color, but pd really struggle creating that many copies
(everything freeze).
As you can see in the following webm video:
https://dl.dropboxusercontent.com/u/1455235/lumases.webm
Thanks!
On Aug 1, 2013, at 11:26 PM, pd-list-request(a)iem.at wrote:
> From: puredata(a)11h11.com
> Subject: Re: [PD] Gem create many cubes
> Date: August 2, 2013 4:16:36 AM EDT
> To: John Harrison <john.harrison(a)alum.mit.edu>
> Cc: pd-list(a)iem.at
>
>
>> maybe [gemlist] will help you?
>
> What if i need specific colors for each cubes?
Create a list of colors, 1 for each cube, and step through it within the gemlist? You'd probably use a counter of some sort, so you can use that as the index ...
--------
Dan Wilcox
@danomatika
danomatika.comrobotcowboy.com
Probably :P I opened an issue. Thanks.
On Aug 1, 2013, at 11:26 PM, pd-list-request(a)iem.at wrote:
> From: Jonathan Wilkes <jancsika(a)yahoo.com>
> Subject: Re: [PD] get dir of current pd
> Date: August 1, 2013 11:33:19 PM EDT
> To: pd-list(a)iem.at
>
>
> On 07/30/2013 03:40 PM, Dan Wilcox wrote:
>> Here's how we do it in OpenFrameworks: https://github.com/openframeworks/openFrameworks/blob/develop/libs/openFram…
>
> Btw-- In line 1414, is that supposed to be "!=" instead of "==" ?
>
> -Jonathan
--------
Dan Wilcox
@danomatika
danomatika.comrobotcowboy.com