[Fluxus] something fishy with custom pdata in particles
evan.raskob [lists]
lists at lowfrequency.org
Wed Sep 16 04:17:16 PDT 2009
Aha! I thought there was a function like that somewhere. It should
be a bit clearer in the docs - I notice by looking through the email
list that these functions have changed quite a bit over the last few
years, probably needs a cohesive update at some point. (I'll add
this to my list of fun things to do...)
Thanks,
Evan
On Sep 16, 2009, at 12:06 PM, gabor papp wrote:
> hi evan,
>
> i think you forgot the create the pdata fields you are trying to
> alter. you need pdata-add. pdata-copy create "p0" for you
> automatically, but "p-end" and "age" are not created.
>
> (with-primitive stuff
> (pdata-add "p-end" "v")
> (pdata-add "age" "f")
> (init-particles (pdata-size))
> (pdata-copy "p" "p0"))
>
> hope this helps,
> gabor
>
Evan Raskob
ML Studio
4-8 Arcola Street
London E8 2DJ
United Kingdom
http://mlstudio.co.uk
http://pixelist.info
More information about the Fluxus
mailing list