<div dir="ltr">proof of concept<div><br></div><div><br><div><img src="cid:ii_k3nxiuoc0" alt="Screen Shot 2019-12-02 at 01.14.53.png" width="350" height="394"><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em seg., 2 de dez. de 2019 às 01:21, Alexandre Torres Porres <<a href="mailto:porres@gmail.com">porres@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I guess if the goal is to design GUI objects, I should pretty much just learn how to properly code them with tcl/tk... it's the ideal situation anyway and I'm just sweating a lot to design things that will never be as good as having a proper GUI.<div><br></div><div>As far as drawing circles for Data Structures, I don't see why it'd be too hard.<br><br>But anyway, having circles is definitely cool and may allow us to design many interesting things. But for my purposes (designing a circular slider or a simple knob), I just realised there's a simple hacky trick, which is just having a dummy bang object in the background for a circular shape. It's lighter and even looks better. </div><div><br></div><div>The only thingy is that you can't change the color of the circle line. So you can't do something like having a full background color of black and draw the circle line in white. But... if you work with only the background color of the circle and ignore the background of the out of bounds, then it's not a real issue.</div><div><br></div><div>So I'm now thinking of doing that instead of this trick in order to make things lighter, and then I can also design a grid of several knobs together to implement a matrix grid.</div><div><br></div><div>cheers</div><div>   </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em dom., 1 de dez. de 2019 às 20:29, Alexandre Torres Porres <<a href="mailto:porres@gmail.com" target="_blank">porres@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I didn't implement a [knob], it's a two dimensional slider but the boundaries are a circle, anyway, still working on it.<div><br></div><div>I feel like implementing knob also and it'd be cool if I could implement a grid of knobs to control a routing matrix, but then I think it'd be way too heavy and impractical, so the best option would be to just have a way to draw circles in Data Structures with a dedicated object. </div><div><br></div><div>I see Purr Data has a [draw] object that draws circles and stuff, but it's a whole different GUI language that we can't use, but we could use one for vanilla.</div><div><br></div><div>It's out of my league, but I hope someone else could propose the inclusion of such object.</div><div><br></div><div>cheers</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em dom., 1 de dez. de 2019 às 12:55, oliver <<a href="mailto:oliver@klingt.org" target="_blank">oliver@klingt.org</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Alexandre Torres Porres wrote:<br>
> Thanks very much for this, just used it to make a two dimensional<br>
> circular slider!<br>
<br>
did you include an extra dot for position reference in this ? would you <br>
mind posting your knob ?<br>
<br>
and yes: this is actually a very nice and beautiful circle rendering.<br>
<br>
but i also share alex' concern that it might be too "heavy" on PD's <br>
memory or the GUI if several of these knobs are present in a patch.<br>
<br>
can somebody give a brief prediction whether this is a practicable <br>
approach in a patch with let's say 50 knobs like this ?<br>
<br>
best<br>
<br>
oliver<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div>
</blockquote></div>
</blockquote></div>