<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><div>There is a swatch/color picker in jmmmp objects. Looks great  - swatch-gui-help.pd and swatch-help.pd but...</div><div>I can find the zexy objects, but where are list-add list-rot and list-mult objects?</div><div>Ed<br></div><div><br></div><div><br></div><div class="ydp6a20387dsignature">_-_-_-_-_-_-_-^-_-_-_-_-_-_-_<br><br>For <b>Lone Shark </b>releases, <b>Pure Data </b>software and published <b>Research</b>, go to <a href="http://sharktracks.co.uk" rel="nofollow" target="_blank">http://sharktracks.co.uk</a> </div></div>
            <div><br></div><div><br></div>
            
            <div id="yahoo_quoted_1132751187" class="yahoo_quoted">
                <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                    
                    <div>
                        On Friday, 2 March 2018, 17:10:08 GMT, Ingo Stock <mail@ingostock.de> wrote:
                    </div>
                    <div><br></div>
                    <div><br></div>
                    <div><div dir="ltr">On 03/02/2018 05:54 PM, José de Abreu wrote:> but for 0 to 255 rgb<div class="yqt4927751408" id="yqtfd98236"><br clear="none">values, the math is simple, just divide this number<br clear="none">> by 9/255 and discard the fractional part, then multiply by the position<br clear="none">> and sum all (it gives a number from 0 to 999)</div><br clear="none"><br clear="none">With data structures, the color range for red, green, blue is from 0 to<br clear="none">8 respectively, so the whole spectrum is 0-888. A digit 9 equals digit 8<br clear="none">so 959 equals 858. So the calculation is * 8/255.<br clear="none"><br clear="none">See here for a demo patch:<br clear="none"><a shape="rect" href="https://forum.pdpatchrepo.info/topic/11085/how-to-convert-pd-s-color-numbers-for-data-structures-to-rgb" target="_blank">https://forum.pdpatchrepo.info/topic/11085/how-to-convert-pd-s-color-numbers-for-data-structures-to-rgb</a><br clear="none"><br clear="none">best, ingo<div class="yqt4927751408" id="yqtfd93067"><br clear="none"></div></div><div class="yqt4927751408" id="yqtfd24058">_______________________________________________<br clear="none"><a shape="rect" ymailto="mailto:Pd-list@lists.iem.at" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">UNSUBSCRIBE and account-management -> <a shape="rect" href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br clear="none"></div></div>
                </div>
            </div></div></body></html>