[PD] sorting floats with sort [zexy]

Jack jack at rybn.org
Thu May 21 20:10:06 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 21/05/2015 16:16, Rainer . a écrit :
>> e.g. what's 75% between "1 6 8 4 3" and "1 3 4 6 8"
> 
> Yes, that´s the question. I am thinking of e.g. 1000000 squares
> [GEM] fading from random position to sorted postition.

If you can, use a simple vertex without antialiasing as square and
change its size.
Maybe better :
Use shader to draw your square in fragment shader and send positions
with [gemvertexbuffer].

For everything else (the fade), use the solution given by Cyrille.
++

Jack



> 
> How can I fade lists?
> 
> Thanks,
> 
> Rainer
> 
> 2015-05-21 15:56 GMT+02:00 IOhannes m zmoelnig <zmoelnig at iem.at 
> <mailto:zmoelnig at iem.at>>:
> 
> On 2015-05-21 15:47, Rainer . wrote:
>> Hi,
>> 
>> I´m just playing with the sort object from zexy lib, sorting a
>> bunch of floats. I wonder if there is a way to fade or morph(?)
>> from unsorted to sorted state?
> 
> how do you invision that? e.g. what's 75% between "1 6 8 4 3" and
> "1 3 4 6 8"
> 
> how is your result different from a generic fade between two lists
> of equal lengths?
> 
> fgsmdr IOhannes
> 
> 
> 
> _______________________________________________ 
> Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list 
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
> 
> 
> 
> 
> _______________________________________________ 
> Pd-list at lists.iem.at mailing list UNSUBSCRIBE and
> account-management -> http://lists.puredata.info/listinfo/pd-list
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJVXh95AAoJEOuluecjw8GUiEoIAJ9MxGYOesLfYyUGqlEyk6tq
/SnVmYW59o67MIoo7uzyeYxe8s/THf1gcScvFofOWAy308i4XvEN8Jex4SwZisqL
ZQBWyem9MVhZALNaQCAlxYnvNPPutQVFI4XoV+zBXS0OfS5Y4a5HjMjDc649dcLB
QCyQVLHwtqQWu5rupXFiP/FKU3RtuPI34fypfTSDaAvuCREzaBXGE2eOWyGgP3qu
IOmBbsSf4HDxOtuafVHbknxwL65jFLi1JzdLF6IYGfTikAvSAT9JN2RfM0FqhKvs
Eyf6zkoKRMVijUEo6mOhvDsveQmSwHl5hrdqxKwIqr3aC6V1xEVpfctLB/9MvQQ=
=vGy9
-----END PGP SIGNATURE-----



More information about the Pd-list mailing list