[Fluxus] pdata size behavior

Glauber Alex Dias Prado smade4 at gmail.com
Mon May 24 15:41:10 PDT 2010


Hey ppl,

I was figuring out how to make a kohonen map
<http://en.wikipedia.org/wiki/Kohonen_map> using pdata to represent my
err data, but this is a bit tricky as there are much more pdata than
vertices, and preferably i would like a one-to-one mapping:

(clear)
(hint-none)
(hint-wire)
(point-width 4)
(hint-points)
;(translate (vector 0 0 9))

(define grid
    (build-seg-plane 10 10))

above is just the grid which i would like to manipulate as if it were a
matrix of vertices, but:

(with-primitive grid
	(pdata-size))
returns 400

and i would like something like 100 at least for vertex position
manipulation, so is those 400 related to all (t p n c) pdatas and there
are only 100 for "p"?

I guess not, so i might be using the wrong primitive type for this
maybe?

does someone know what kind of primitive i could have a
one-vertex-per-pdata representation? 



More information about the Fluxus mailing list