Re: [PD] Pd's RGB color scheme for Data Structures
On 03/04/2018 09:45 PM, Ed Kelly via Pd-list wrote: > but where are list-add list-rot and list-mult objects?Ed sounds very much like...list-abs gfamrds IOhannes signature.asc Description: OpenPGP digital signature ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd's RGB color scheme for Data Structures
There is a swatch/color picker in jmmmp objects. Looks great - swatch-gui-help.pd and swatch-help.pd but...I can find the zexy objects, but where are list-add list-rot and list-mult objects?Ed _-_-_-_-_-_-_-^-_-_-_-_-_-_-_ For Lone Shark releases, Pure Data software and published Research, go to http://sharktracks.co.uk On Friday, 2 March 2018, 17:10:08 GMT, Ingo Stock wrote: On 03/02/2018 05:54 PM, José de Abreu wrote:> but for 0 to 255 rgb values, the math is simple, just divide this number > by 9/255 and discard the fractional part, then multiply by the position > and sum all (it gives a number from 0 to 999) With data structures, the color range for red, green, blue is from 0 to 8 respectively, so the whole spectrum is 0-888. A digit 9 equals digit 8 so 959 equals 858. So the calculation is * 8/255. See here for a demo patch: https://forum.pdpatchrepo.info/topic/11085/how-to-convert-pd-s-color-numbers-for-data-structures-to-rgb best, ingo ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd's RGB color scheme for Data Structures
On 03/02/2018 05:54 PM, José de Abreu wrote:> but for 0 to 255 rgb values, the math is simple, just divide this number > by 9/255 and discard the fractional part, then multiply by the position > and sum all (it gives a number from 0 to 999) With data structures, the color range for red, green, blue is from 0 to 8 respectively, so the whole spectrum is 0-888. A digit 9 equals digit 8 so 959 equals 858. So the calculation is * 8/255. See here for a demo patch: https://forum.pdpatchrepo.info/topic/11085/how-to-convert-pd-s-color-numbers-for-data-structures-to-rgb best, ingo signature.asc Description: OpenPGP digital signature ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd's RGB color scheme for Data Structures
It is quite simple if i am right : Put the amount of R, G and B value on a scale between 0 and 9 and join them. So your number has 3 digits : RGB (for exemple the number 831 represents 8 for red, 3 for green and 1 for blue). If you want a full red : 900, a full green : 090, a full blue : 009, a grey : 555. Of course, for the full green, you will write it 90 and for the full blue, only 9. ++ Jack Le 02/03/2018 à 16:48, Alexandre Torres Porres a écrit : > Hi there, trying to find a RGB color picker online that works with Pd's > data structure's scheme, but can't figure it out. > > hints? > > thanks > > > > ___ > Pd-list@lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > https://lists.puredata.info/listinfo/pd-list > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd's RGB color scheme for Data Structures
hello alex, i have an hsv to rgb patch for data structures if you want... but for 0 to 255 rgb values, the math is simple, just divide this number by 9/255 and discard the fractional part, then multiply by the position and sum all (it gives a number from 0 to 999) so, if you have 255 for red, 100 for green and 50 for blue 255*9/255 = 9 red position is times 100, so 900 100*9/255 = 3.529... green position is times 10, so 30 50*9/255 = 1.764... blue position is times 1, so 1 the number is then 931 unfortunately, data structure colors doesn't have so much resolution, so this color isn't really the same as 255 100 50, but, is what we can achieve... (i don't remember if the order is red green blue for data structures and don't have pd right now to test, but if it was wrong, just change the positions, the math is ok kk) Em Sex, 2 de mar de 2018 13:13, Alexandre Torres Porres escreveu: > please ignore the last mail, :) > > Em 2 de março de 2018 13:12, Alexandre Torres Porres > escreveu: > >> mas também não seria pra agora uma turma aos sábados, muito menos algo >> garantido, apenas uma menina falou que, a partir de maio, ela queira, mas >> até isso se concretizar (visto que essa turma no face tem lá seus 70 >> interessados e nem fechou... rsrs) é outra história >> >> 2018-03-02 12:48 GMT-03:00 Alexandre Torres Porres : >> >>> Hi there, trying to find a RGB color picker online that works with Pd's >>> data structure's scheme, but can't figure it out. >>> >>> hints? >>> >>> thanks >>> >>> >> > ___ > Pd-list@lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > https://lists.puredata.info/listinfo/pd-list > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd's RGB color scheme for Data Structures
please ignore the last mail, :) Em 2 de março de 2018 13:12, Alexandre Torres Porres escreveu: > mas também não seria pra agora uma turma aos sábados, muito menos algo > garantido, apenas uma menina falou que, a partir de maio, ela queira, mas > até isso se concretizar (visto que essa turma no face tem lá seus 70 > interessados e nem fechou... rsrs) é outra história > > 2018-03-02 12:48 GMT-03:00 Alexandre Torres Porres : > >> Hi there, trying to find a RGB color picker online that works with Pd's >> data structure's scheme, but can't figure it out. >> >> hints? >> >> thanks >> >> > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd's RGB color scheme for Data Structures
mas também não seria pra agora uma turma aos sábados, muito menos algo garantido, apenas uma menina falou que, a partir de maio, ela queira, mas até isso se concretizar (visto que essa turma no face tem lá seus 70 interessados e nem fechou... rsrs) é outra história 2018-03-02 12:48 GMT-03:00 Alexandre Torres Porres : > Hi there, trying to find a RGB color picker online that works with Pd's > data structure's scheme, but can't figure it out. > > hints? > > thanks > > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
[PD] Pd's RGB color scheme for Data Structures
Hi there, trying to find a RGB color picker online that works with Pd's data structure's scheme, but can't figure it out. hints? thanks ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list