hi marius
sorry to switch in so late, but let me mention another approach. if you only have numeric arguments for your abstractions, you could alternatively still use [repeat] and read the different values from a/several table/s. that is what i usually do, when i need - let's say - 1000 cuboids at different positions with different colours. like this you wouldn't need thousands of instances of a certain abstraction, but only one, where you send thousands of messages to for each frame.
don't know, if this would work for what you want, though...
roman
On Thu, 2008-04-10 at 13:47 -0400, marius schebella wrote:
thanks for all the answers, I guess I am really looking for something like actionscript for pd, based on lua or python. I understand that all of the suggested solutions are working, but all have some minor downsides, or overheads (of coding) or dynamic restrictions. marius.
Thomas Grill wrote:
Hi Marius, i've used py and dyn~ in combination for such stuff many times. With that many objects it makes probably sense to put the abstractions in subpatches (e.g. 30 subpatches with 100 objects each) as pd has problems with many objects in one canvas. gr~~~
Am 10.04.2008 um 18:10 schrieb marius schebella:
hi, i need to create a lot of instances (let's say 3000) of a gem abstraction. each instance has to hold it's own variables, so it is difficult to work with repeat. In the past I always used pd-messages to create these objects, but I have the feeling that it would be faster and easier to do in a scripting language like lua. are there any plans to support scripting of pd objects (in this case gem objects) within lua or any other scripting language? marius.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de